Downloads · 30 days
3.8K
35% of all-time downloads
inference-optimization/Qwen3.8-1.0B-A0.6B
Qwen3.8-1.0B-A0.6B is a text generation model from inference-optimization. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This is a tiny version of Qwen/Qwen3.8-2.4T-A95B created for testing and development.
Downloads · 30 days
3.8K
35% of all-time downloads
All-time downloads
10.7K
Public
Parameters
966M
2 GB on disk
Likes
6
Public
Click a slice to open those files.
.safetensors1.9 GB · 99%
From the Hugging Face model README
This is a tiny version of Qwen/Qwen3.8-2.4T-A95B created for testing and development.
The following parameters were reduced from the original model:
| Parameter | Original | Tiny |
|---|---|---|
| num_hidden_layers | 92 | 8 |
| hidden_size | 8192 | 1024 |
| num_attention_heads | 64 | 8 |
| num_key_value_heads | 4 | 2 |
| head_dim | 256 | 128 |
| num_experts | 512 | 16 |
| num_experts_per_tok | 10 | 2 |
| moe_intermediate_size | 2048 | 1024 |
| shared_expert_intermediate_size | 2048 | 1024 |
| linear_key_head_dim | 128 | 64 |
| linear_num_key_heads | 16 | 4 |
| linear_num_value_heads | 128 | 16 |
| linear_value_head_dim | 128 | 64 |
| mtp_num_hidden_layers | 1 | 0 |
Single safetensors file with packed expert format (experts.gate_up_proj, experts.down_proj) matching the original checkpoint structure. Layer types follow the [linear, linear, linear, full] x 2 pattern from the original.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("Qwen3.8-1.0B-A0.6B", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("Qwen3.8-1.0B-A0.6B")
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]))
This model was created using the llm-compressor create-tiny-model claude skill.