Downloads · 30 days
13
22% of all-time downloads
inference-optimization/temporary-3-layer-Qwen3-VL-1.0B-A0.4B-Instruct
temporary-3-layer-Qwen3-VL-1.0B-A0.4B-Instruct is a image-text-to-text model from inference-optimization. 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 transformers. The card lists the license as mit.
This is a tiny version of Qwen/Qwen3-VL-30B-A3B-Instruct created for testing and development.
Downloads · 30 days
13
22% of all-time downloads
All-time downloads
60
Public
Parameters
1.4B
2.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.9 GB · 100%
From the Hugging Face model README
This is a tiny version of Qwen/Qwen3-VL-30B-A3B-Instruct created for testing and development.
The following parameters were reduced from the original model:
| Parameter | Original | Tiny |
|---|---|---|
text_config.num_hidden_layers | 48 | 1 |
vision_config.depth | 27 | 4 |
vision_config.deepstack_visual_indexes | [8, 16, 24] | [1, 2, 3] |
text_config.hidden_size | 2048 | 2048 (unchanged) |
text_config.num_local_experts | 128 | 128 (unchanged) |
text_config.num_experts_per_tok | 8 | 8 (unchanged) |
text_config.moe_intermediate_size | 768 | 768 (unchanged) |
text_config.num_attention_heads | 32 | 32 (unchanged) |
text_config.num_key_value_heads | 4 | 4 (unchanged) |
vision_config.hidden_size | 1152 | 1152 (unchanged) |
The model is saved as a single model.safetensors file (89 tensors). The checkpoint key structure matches the original Qwen/Qwen3-VL-30B-A3B-Instruct exactly.
from transformers import Qwen3VLMoeForConditionalGeneration, AutoTokenizer
model = Qwen3VLMoeForConditionalGeneration.from_pretrained(
"inference-optimization/Qwen3-VL-1.0B-A0.4B-Instruct",
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("inference-optimization/Qwen3-VL-1.0B-A0.4B-Instruct")
input_ids = tokenizer("According to all known laws", return_tensors="pt").input_ids.to(model.device)
output = model.generate(input_ids, max_new_tokens=20)
print(tokenizer.decode(output[0]))
Note: AutoModelForCausalLM does not support this model type. Use Qwen3VLMoeForConditionalGeneration or AutoModelForImageTextToText directly.
This model was created using the llm-compressor create-tiny-model claude skill.
Qwen/Qwen3-VL-30B-A3B-Instruct without downloading weights (skip_weights_download)initializer_range=0.02 (matching the base model)gate_up_proj, down_proj, gate.weight) explicitly initialized since they are bare nn.Parameter tensors, not nn.Linear modulesSuccess: perplexity=1.0001 <= 10.0
Generated: According to all known laws of aviation, there is no way a bee should be able to fly. Its wings are too small to get its fat little