Text Generation
Transformers
Safetensors
English
qwen3_5_moe_text
qwen
Mixture of Experts
compressed
bf16
conversational
Instructions to use Jaso1024/Qwen3.6-25B-A3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jaso1024/Qwen3.6-25B-A3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Jaso1024/Qwen3.6-25B-A3B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Jaso1024/Qwen3.6-25B-A3B") model = AutoModelForCausalLM.from_pretrained("Jaso1024/Qwen3.6-25B-A3B", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Jaso1024/Qwen3.6-25B-A3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Jaso1024/Qwen3.6-25B-A3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Jaso1024/Qwen3.6-25B-A3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Jaso1024/Qwen3.6-25B-A3B
- SGLang
How to use Jaso1024/Qwen3.6-25B-A3B 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 "Jaso1024/Qwen3.6-25B-A3B" \ --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": "Jaso1024/Qwen3.6-25B-A3B", "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 "Jaso1024/Qwen3.6-25B-A3B" \ --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": "Jaso1024/Qwen3.6-25B-A3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Jaso1024/Qwen3.6-25B-A3B with Docker Model Runner:
docker model run hf.co/Jaso1024/Qwen3.6-25B-A3B
Qwen3.6-25B-A3B
This is a compressed checkpoint derived from Qwen/Qwen3.6-35B-A3B.
Overview
- Base model:
Qwen/Qwen3.6-35B-A3B - Total parameter count:
34.66B -> 24.97B - Layers:
40 - Active experts per token:
8 - Format: standard Transformers safetensor shards with tokenizer, generation config, and chat template included
The repo is set up for direct from_pretrained(...) loading.
Quick start
Use a recent Transformers release that supports Qwen3.6 MoE. This checkpoint was produced and validated with transformers==5.5.4.
pip install -U torch transformers==5.5.4 accelerate torchvision pillow
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "Jaso1024/Qwen3.6-25B-A3B"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
trust_remote_code=True,
torch_dtype=torch.bfloat16,
device_map="auto",
attn_implementation="sdpa",
)
messages = [{"role": "user", "content": "Solve: If 3 notebooks cost $12, how much do 8 cost? End with ####."}]
try:
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False, enable_thinking=False)
except TypeError:
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=256, do_sample=False)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Notes
- The uploaded
config.jsonalready reflects the compressed architecture. - This is still a large bf16 checkpoint, so practical inference typically needs high-memory GPU hardware or multi-device offload.
- License and usage terms should be treated as inherited from the upstream base model.
- Downloads last month
- 15
Model tree for Jaso1024/Qwen3.6-25B-A3B
Base model
Qwen/Qwen3.6-35B-A3B