Text Generation
Transformers
Safetensors
English
qwen3_5_text
mtp
nvfp4
speculative-decoding
GPTQ
code-based-image-generation
text-to-image
javascript
text-generation-inference
nvidia-blackwell
rtx-pro-6000
SM120
GB202
B200
B300
FP4
blackwell
multimodal
mixed-precision
conversational
quantized
nvidia
llm-compressor
vllm
imatrix
nvfp4-pack-quantized
SFT
8-bit precision
compressed-tensors
Instructions to use prithivMLmods/CIG-9B-SFT-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/CIG-9B-SFT-NVFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="prithivMLmods/CIG-9B-SFT-NVFP4") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("prithivMLmods/CIG-9B-SFT-NVFP4") model = AutoModelForCausalLM.from_pretrained("prithivMLmods/CIG-9B-SFT-NVFP4", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use prithivMLmods/CIG-9B-SFT-NVFP4 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-NVFP4" # 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-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/prithivMLmods/CIG-9B-SFT-NVFP4
- SGLang
How to use prithivMLmods/CIG-9B-SFT-NVFP4 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-NVFP4" \ --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-NVFP4", "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-NVFP4" \ --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-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use prithivMLmods/CIG-9B-SFT-NVFP4 with Docker Model Runner:
docker model run hf.co/prithivMLmods/CIG-9B-SFT-NVFP4
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,41 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
base_model:
|
| 3 |
- CodeImageGen/CIG-9B-SFT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
# **CIG-9B-SFT-NVFP4**
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model_relation: quantized
|
| 3 |
+
pipeline_tag: text-generation
|
| 4 |
+
library_name: transformers
|
| 5 |
+
tags:
|
| 6 |
+
- mtp
|
| 7 |
+
- nvfp4
|
| 8 |
+
- speculative-decoding
|
| 9 |
+
- GPTQ
|
| 10 |
+
- code-based-image-generation
|
| 11 |
+
- text-to-image
|
| 12 |
+
- javascript
|
| 13 |
+
- text-generation-inference
|
| 14 |
+
- nvidia-blackwell
|
| 15 |
+
- rtx-pro-6000
|
| 16 |
+
- SM120
|
| 17 |
+
- GB202
|
| 18 |
+
- B200
|
| 19 |
+
- B300
|
| 20 |
+
- FP4
|
| 21 |
+
- blackwell
|
| 22 |
+
- multimodal
|
| 23 |
+
- mixed-precision
|
| 24 |
+
- conversational
|
| 25 |
+
- quantized
|
| 26 |
+
- nvidia
|
| 27 |
+
- llm-compressor
|
| 28 |
+
- vllm
|
| 29 |
+
- imatrix
|
| 30 |
+
- nvfp4-pack-quantized
|
| 31 |
+
- float8_e4m3fn
|
| 32 |
base_model:
|
| 33 |
- CodeImageGen/CIG-9B-SFT
|
| 34 |
+
license: apache-2.0
|
| 35 |
+
datasets:
|
| 36 |
+
- CodeImageGen/CIG-SFT-35k
|
| 37 |
+
language:
|
| 38 |
+
- en
|
| 39 |
---
|
| 40 |
|
| 41 |
# **CIG-9B-SFT-NVFP4**
|