Instructions to use bartowski/G2-9B-Blackout-R1-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bartowski/G2-9B-Blackout-R1-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="bartowski/G2-9B-Blackout-R1-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bartowski/G2-9B-Blackout-R1-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use bartowski/G2-9B-Blackout-R1-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M
Use Docker
docker model run hf.co/bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use bartowski/G2-9B-Blackout-R1-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "bartowski/G2-9B-Blackout-R1-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bartowski/G2-9B-Blackout-R1-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M
- SGLang
How to use bartowski/G2-9B-Blackout-R1-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "bartowski/G2-9B-Blackout-R1-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bartowski/G2-9B-Blackout-R1-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "bartowski/G2-9B-Blackout-R1-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bartowski/G2-9B-Blackout-R1-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use bartowski/G2-9B-Blackout-R1-GGUF with Ollama:
ollama run hf.co/bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use bartowski/G2-9B-Blackout-R1-GGUF with Docker Model Runner:
docker model run hf.co/bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M
- Lemonade
How to use bartowski/G2-9B-Blackout-R1-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull bartowski/G2-9B-Blackout-R1-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.G2-9B-Blackout-R1-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Commit History
-
Update metadata with huggingface_hub
Verified signatureafb99d3 -
Upload README.md with huggingface_hub
Verified signaturea76d65c -
Upload G2-9B-Blackout-R1.imatrix with huggingface_hub
Verified signatureff0f0fd -
Upload G2-9B-Blackout-R1-f16.gguf with huggingface_hub
Verified signatureac8be02 -
Upload G2-9B-Blackout-R1-IQ2_M.gguf with huggingface_hub
Verified signaturec245123 -
Upload G2-9B-Blackout-R1-Q2_K.gguf with huggingface_hub
Verified signatureea33919 -
Upload G2-9B-Blackout-R1-Q2_K_L.gguf with huggingface_hub
Verified signature4fd5a93 -
Upload G2-9B-Blackout-R1-IQ3_XS.gguf with huggingface_hub
Verified signature671e27a -
Upload G2-9B-Blackout-R1-Q3_K_S.gguf with huggingface_hub
Verified signature0195519 -
Upload G2-9B-Blackout-R1-IQ3_M.gguf with huggingface_hub
Verified signaturea83ef58 -
Upload G2-9B-Blackout-R1-Q3_K_M.gguf with huggingface_hub
Verified signatured9a7084 -
Upload G2-9B-Blackout-R1-Q3_K_L.gguf with huggingface_hub
Verified signature0b08e4e -
Upload G2-9B-Blackout-R1-Q3_K_XL.gguf with huggingface_hub
Verified signature9ffbc34 -
Upload G2-9B-Blackout-R1-IQ4_XS.gguf with huggingface_hub
Verified signaturee3a5c62 -
Upload G2-9B-Blackout-R1-Q4_0.gguf with huggingface_hub
Verified signature501715a -
Upload G2-9B-Blackout-R1-Q4_0_4_4.gguf with huggingface_hub
Verified signatured9a0c99 -
Upload G2-9B-Blackout-R1-Q4_0_4_8.gguf with huggingface_hub
Verified signature2c01e55 -
Upload G2-9B-Blackout-R1-Q4_0_8_8.gguf with huggingface_hub
Verified signature291726e -
Upload G2-9B-Blackout-R1-Q4_K_S.gguf with huggingface_hub
Verified signatureeeb0936 -
Upload G2-9B-Blackout-R1-Q4_K_M.gguf with huggingface_hub
Verified signature20b1ad0 -
Upload G2-9B-Blackout-R1-Q4_K_L.gguf with huggingface_hub
Verified signature77c31fb -
Upload G2-9B-Blackout-R1-Q5_K_S.gguf with huggingface_hub
Verified signature6e40b53 -
Upload G2-9B-Blackout-R1-Q5_K_M.gguf with huggingface_hub
Verified signature5124929 -
Upload G2-9B-Blackout-R1-Q5_K_L.gguf with huggingface_hub
Verified signature35e011c -
Upload G2-9B-Blackout-R1-Q6_K.gguf with huggingface_hub
Verified signature8288809 -
Upload G2-9B-Blackout-R1-Q6_K_L.gguf with huggingface_hub
Verified signaturec5f3d20 -
Upload G2-9B-Blackout-R1-Q8_0.gguf with huggingface_hub
Verified signature3a0b8e0 -
initial commit
Verified signaturec8ee522