Text Generation
Transformers
Safetensors
English
Korean
qwen3_5
image-text-to-text
darwin
mfp4
mixed-precision
nvfp4
quantization
blackwell
reasoning
conversational
8-bit precision
modelopt
Instructions to use FINAL-Bench/Darwin-9B-MFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FINAL-Bench/Darwin-9B-MFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FINAL-Bench/Darwin-9B-MFP4") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("FINAL-Bench/Darwin-9B-MFP4") model = AutoModelForMultimodalLM.from_pretrained("FINAL-Bench/Darwin-9B-MFP4", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FINAL-Bench/Darwin-9B-MFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FINAL-Bench/Darwin-9B-MFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FINAL-Bench/Darwin-9B-MFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/FINAL-Bench/Darwin-9B-MFP4
- SGLang
How to use FINAL-Bench/Darwin-9B-MFP4 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 "FINAL-Bench/Darwin-9B-MFP4" \ --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": "FINAL-Bench/Darwin-9B-MFP4", "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 "FINAL-Bench/Darwin-9B-MFP4" \ --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": "FINAL-Bench/Darwin-9B-MFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use FINAL-Bench/Darwin-9B-MFP4 with Docker Model Runner:
docker model run hf.co/FINAL-Bench/Darwin-9B-MFP4
Add model lineage; remove proprietary research details
Browse files
README.md
CHANGED
|
@@ -17,14 +17,30 @@ library_name: transformers
|
|
| 17 |
|
| 18 |
NVFP4 mixed-precision quantization of [Darwin-9B-Opus](https://huggingface.co/FINAL-Bench/Darwin-9B-Opus).
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
## Specs
|
| 21 |
|
| 22 |
| | |
|
| 23 |
|---|---|
|
| 24 |
-
| Base model | Darwin-9B-Opus
|
| 25 |
-
|
|
| 26 |
-
|
|
| 27 |
| Architecture | Qwen3.5 hybrid (full + linear attention) |
|
|
|
|
| 28 |
|
| 29 |
## Usage
|
| 30 |
|
|
@@ -64,6 +80,12 @@ response = client.chat.completions.create(
|
|
| 64 |
|
| 65 |
Minimum VRAM for inference: ~13 GB.
|
| 66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
## License
|
| 68 |
|
| 69 |
Apache 2.0 (inherited from base model).
|
|
|
|
| 17 |
|
| 18 |
NVFP4 mixed-precision quantization of [Darwin-9B-Opus](https://huggingface.co/FINAL-Bench/Darwin-9B-Opus).
|
| 19 |
|
| 20 |
+
## Model Lineage
|
| 21 |
+
|
| 22 |
+
```
|
| 23 |
+
Qwen3.5 (Alibaba Qwen team)
|
| 24 |
+
│
|
| 25 |
+
▼
|
| 26 |
+
Darwin-9B-Opus (FINAL-Bench)
|
| 27 |
+
│ evolutionary merge of Qwen3.5 family
|
| 28 |
+
│ Architecture: Qwen3_5ForConditionalGeneration (hybrid attention)
|
| 29 |
+
│
|
| 30 |
+
▼
|
| 31 |
+
Darwin-9B-MFP4 ← this model
|
| 32 |
+
NVFP4 quantization (NVIDIA ModelOpt)
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
## Specs
|
| 36 |
|
| 37 |
| | |
|
| 38 |
|---|---|
|
| 39 |
+
| Base model | [FINAL-Bench/Darwin-9B-Opus](https://huggingface.co/FINAL-Bench/Darwin-9B-Opus) |
|
| 40 |
+
| Quantization | NVFP4 (NVIDIA Blackwell native FP4 format) |
|
| 41 |
+
| Disk size | ≈ 11 GB (base model: 19 GB) |
|
| 42 |
| Architecture | Qwen3.5 hybrid (full + linear attention) |
|
| 43 |
+
| Quantization tool | [NVIDIA ModelOpt](https://github.com/NVIDIA/TensorRT-Model-Optimizer) |
|
| 44 |
|
| 45 |
## Usage
|
| 46 |
|
|
|
|
| 80 |
|
| 81 |
Minimum VRAM for inference: ~13 GB.
|
| 82 |
|
| 83 |
+
## Credits
|
| 84 |
+
|
| 85 |
+
- Base model: [FINAL-Bench/Darwin-9B-Opus](https://huggingface.co/FINAL-Bench/Darwin-9B-Opus)
|
| 86 |
+
- Architecture: Qwen3.5 (Alibaba Qwen team)
|
| 87 |
+
- Quantization framework: NVIDIA ModelOpt + vLLM
|
| 88 |
+
|
| 89 |
## License
|
| 90 |
|
| 91 |
Apache 2.0 (inherited from base model).
|