Downloads · 30 days
1.3K
91% of all-time downloads
v381654729/qwen3.5-4b-ninfer
qwen3.5-4b-ninfer is a image-text-to-text model from v381654729. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for ninfer. The card lists the license as apache-2.0.
This model card is the version-controlled source for v381654729/qwen3.5-4B-ninfer.
Downloads · 30 days
1.3K
91% of all-time downloads
All-time downloads
1.4K
Public
Repo size
3.6 GB
Likes
0
Public
Click a slice to open those files.
.ninfer3.6 GB · 100%
From the Hugging Face model README
This model card is the version-controlled source for v381654729/qwen3.5-4B-ninfer.
The repository contains
Qwen3.5-4B converted to the native
NInfer .ninfer artifact format. The artifact is intended
only for NInfer; it is not a Transformers checkpoint, Safetensors distribution, or GGUF file.
| Field | Value |
|---|---|
| Filename | qwen3_5_4B.ninfer |
| sha256sum | 480d63e61cbc8d5e1375daf9b766a1dab1cd0df7668fb388ea3a45f98d6372cb |
| NInfer weights ID | groupwise-int |
| NInfer target key | qwen3_5_4B |
The file contains the registered Text, Vision, MTP, proposal-head, tokenizer, chat-template, generation, and media-processor objects required by NInfer.
Verify a downloaded file with:
printf '%s %s\n' \
'480d63e61cbc8d5e1375daf9b766a1dab1cd0df7668fb388ea3a45f98d6372cb' \
'qwen3_5_4B.ninfer' | sha256sum --check
Qwen3.5-4B is a multimodal dense model with a mixed linear/full-attention text backbone:
| Field | Value |
|---|---|
| Source repository | Qwen/Qwen3.5-4B |
| Model type | qwen3_5 (Qwen3_5ForConditionalGeneration) |
hf download v381654729/qwen3.5-4b-ninfer \
qwen3_5_4B.ninfer \
--local-dir models
./build/apps/ninfer models/qwen3_5_4b.ninfer \
--prompt "What is the capital of France?" \
--max-context 4096 \
--max-new 256
Serve it through the OpenAI-compatible HTTP endpoint:
./build/apps/ninfer-serve models/qwen3_5_4b.ninfer \
--host 0.0.0.0 \
--port 8000 \
--vision \
--max-context 262144 \
--kv-capacity 262144 \
--default-max-tokens 16384 \
--max-concurrency 1 \
--device-state-slots 4 \
--host-state-slots 4 \
--host-kv-mib 8192 \
--prefill-chunk 4096 \
--kv-dtype fp8 \
--spec mtp \
--lm-head-draft \
--draft-tokens 3 \
--top-k 20 \
--top-p 0.95 \
--temperature 0.01 \
--preserve-thinking \
--model-id Qwen3.5-4B
The artifact supports:
This NInfer artifact is distributed under the Apache License 2.0. The source Qwen3.5-4B repository is also licensed under Apache-2.0. Users remain responsible for complying with the license and applicable laws.