Instructions to use prithivMLmods/CIG-9B-SFT-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/CIG-9B-SFT-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="prithivMLmods/CIG-9B-SFT-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prithivMLmods/CIG-9B-SFT-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use prithivMLmods/CIG-9B-SFT-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 prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/CIG-9B-SFT-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 prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M
Use Docker
docker model run hf.co/prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use prithivMLmods/CIG-9B-SFT-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/CIG-9B-SFT-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/CIG-9B-SFT-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M
- SGLang
How to use prithivMLmods/CIG-9B-SFT-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 "prithivMLmods/CIG-9B-SFT-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/CIG-9B-SFT-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "prithivMLmods/CIG-9B-SFT-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/CIG-9B-SFT-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use prithivMLmods/CIG-9B-SFT-GGUF with Ollama:
ollama run hf.co/prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use prithivMLmods/CIG-9B-SFT-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use prithivMLmods/CIG-9B-SFT-GGUF with Docker Model Runner:
docker model run hf.co/prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M
- Lemonade
How to use prithivMLmods/CIG-9B-SFT-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.CIG-9B-SFT-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use prithivMLmods/CIG-9B-SFT-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use prithivMLmods/CIG-9B-SFT-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "prithivMLmods/CIG-9B-SFT-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
NVFP4 GGUF Test Run Log β HF Bucket: cig-9b-sft-nvfp4-11-27-2026
CIG-9B-SFT-GGUF
CIG-9B-SFT is an open-weight 9B code-based text-to-image generation model built upon Qwen/Qwen3.5-9B via supervised fine-tuning (SFT) on the
CIG-SFT-35kdataset without reinforcement learning rewards. Rather than synthesizing pixels directly, the model translates a text prompt into a JavaScript program that is subsequently executed and rendered in headless Chrome to produce the final image, achieving a GM score of 26.4 and an AM score of 57.5 on GenEval2. Distributed as merged FP16 weights alongside an optional Multi-Token Prediction (MTP) head (model-mtp.safetensors) for speculative decoding and an accompanying rendering pipeline on GitHub (codeimagegen/codeimagegen), it is released under an Apache 2.0 license.
MTP β Speculative Decoding: Yes
Multi-Token Prediction (MTP) GGUF is a specialized GGUF model file format extension that integrates speculative decoding directly into the model weights to significantly accelerate local inference. Unlike traditional speculative decoding which requires a separate, smaller "draft" model, MTP GGUF files include additional output heads within the main model architecture that predict multiple future tokens in a single forward pass.
Model Files
| File Name | Quant Type | File Size | File Link | Description |
|---|---|---|---|---|
| CIG-9B-SFT-NVFP4.gguf | NVFP4 | 8.46 GB | Link | NVFP4: Highly optimized for NVIDIA Blackwell hardware accelerators (e.g., RTX Pro 6000, RTX 50-series, B200, B300), offering native hardware-accelerated FP4 Tensor Core speeds and a strong balance of size and performance. |
| CIG-9B-SFT.BF16.gguf | BF16 | 18.4 GB | Link | Full BF16 weights. Highest quality, largest file size. |
| CIG-9B-SFT.Q3_K_L.gguf | Q3_K_L | 5.15 GB | Link | Lower quality but usable, good for low RAM availability. |
| CIG-9B-SFT.Q3_K_M.gguf | Q3_K_M | 4.8 GB | Link | Low quality, smallest file size. |
| CIG-9B-SFT.Q4_K_M.gguf | Q4_K_M | 5.83 GB | Link | Good quality, default size for most use cases, recommended. |
| CIG-9B-SFT.Q4_K_S.gguf | Q4_K_S | 5.49 GB | Link | Slightly lower quality with more space savings, recommended. |
| CIG-9B-SFT.Q5_K_M.gguf | Q5_K_M | 6.67 GB | Link | High quality, recommended. |
| CIG-9B-SFT.Q5_K_S.gguf | Q5_K_S | 6.47 GB | Link | High quality with slight space savings, recommended. |
| CIG-9B-SFT.Q6_K.gguf | Q6_K | 7.56 GB | Link | Very high quality, near perfect, recommended. |
| CIG-9B-SFT.Q8_0.gguf | Q8_0 | 9.79 GB | Link | Extremely high quality, generally unneeded but max available standard quant. |
NVFP4 Test Run
Tested CIG-9B-SFT-NVFP4.gguf on an NVIDIA RTX PRO 6000 Blackwell Server Edition GPU with 96 GB of VRAM, using llama-cli with full GPU offloading, Flash Attention enabled, reasoning enabled, and MTP speculative decoding.
Performance Metrics
| Metric | Value |
|---|---|
| Average Prompt Processing Speed | 197.71 tokens/s |
| Average Generation Speed | 230.61 tokens/s |
| Total Wall Time | 74.4 seconds |
| Context Length | 16,384 tokens |
| Flash Attention | On (--flash-attn on) |
| KV Cache (K) | f16 |
| Thinking / Reasoning | On (--reasoning on) |
| GPU | NVIDIA RTX PRO 6000 Blackwell Server Edition |
| GPU VRAM Capacity | 96 GB |
| Peak GPU VRAM Usage | 7.59 GiB |
| Peak GPU Utilization | 90% |
| GPU Layers Offloaded | 99 (-ngl 99) |
| Random Seed | 42 |
| Speculative Decoding | MTP (draft_n_max=2) |
| HF Bucket | cig-9b-sft-nvfp4-11-27-2026 |
| Test Runs | 5 |
Test Shots
| Shot | Test |
|---|---|
| Shot 1 | C: Insert Node at End of Singly Linked List |
| Shot 2 | Jogger and Train Passing Time |
| Shot 3 | Two Pipes Filling a Tank |
| Shot 4 | Students in Examination Rooms |
| Shot 5 | Father and Son Ages |
Run Inference
./build/bin/llama-cli \
-m /path/to/models/CIG-9B-SFT-NVFP4.gguf \
--spec-type draft-mtp \
--spec-draft-n-max 2 \
--reasoning on \
--flash-attn on \
-ngl 99 \
-c 16384 \
--cache-type-k f16 \
--seed 42 \
-n 8192 \
-st \
-p "Your prompt here"
llama.cpp
LLM inference in C/C++ β https://github.com/ggml-org/llama.cpp
NVFP4 calibrated and compressed using llm-compressor | Quantized using llama.cpp by prithivMLmods.
- Downloads last month
- 890
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
