Text Generation
Transformers
Safetensors
English
Chinese
qwen3_5_moe
image-text-to-text
qwen
claude
distillation
Mixture of Experts
sft
conversational
Instructions to use clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2") 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)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2") model = AutoModelForMultimodalLM.from_pretrained("clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2") 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2
- SGLang
How to use clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2 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 "clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2" \ --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": "clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2", "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 "clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2" \ --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": "clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2 with Docker Model Runner:
docker model run hf.co/clzoro/Qwen3.5-122B-A10B-Claude-Distill-v2
Qwen3.5-122B-A10B-Claude-Distill-v2
A Qwen3.5-122B-A10B model fine-tuned on Claude-Distills, a high-quality reasoning dataset distilled from Claude.
Model Overview
- Base Model: Qwen3.5-122B-A10B (MoE, 122B total / 10B active parameters)
- Training Data: Claude-Distills (125,175 train / 6,588 val)
- Training Method: Full supervised fine-tuning (SFT)
- Training Framework: DeepSpeed ZeRO-3 Offload
Training Details
| Item | Value |
|---|---|
| Epochs | 1 |
| Learning Rate | 5e-6 |
| Train Loss | 0.674 → 0.537 |
| Eval Loss | 0.537 |
| Dataset | Kassadin88/Claude-Distills |
Data Distribution
The Claude-Distills dataset covers diverse reasoning domains:
| Category | Percentage |
|---|---|
| Math | 65.5% |
| Code | 15.1% |
| Knowledge | 5.1% |
| Science | 5.0% |
| Conversation | 2.6% |
| Reasoning | 2.1% |
| Writing | 1.4% |
| Instruction | 1.4% |
| Other | 1.8% |
Quickstart
Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "Kassadin88/Qwen3.5-122B-A10B-Claude-Distill-v2"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")
messages = [{"role": "user", "content": "Explain the chain rule in calculus."}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=2048)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
vLLM / SGLang
from vllm import LLM, SamplingParams
llm = LLM(model="Kassadin88/Qwen3.5-122B-A10B-Claude-Distill-v2")
params = SamplingParams(temperature=0.7, max_tokens=2048)
outputs = llm.chat([{"role": "user", "content": "Solve: x² + 5x + 6 = 0"}], sampling_params=params)
print(outputs[0].outputs[0].text)
OpenAI-compatible SDK
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
response = client.chat.completions.create(
model="Kassadin88/Qwen3.5-122B-A10B-Claude-Distill-v2",
messages=[{"role": "user", "content": "Write a Python quicksort."}],
temperature=0.7,
)
print(response.choices[0].message.content)
Non-Thinking Mode
To disable the thinking/reasoning output, add /no_think to your prompt or set the system message accordingly:
messages = [
{"role": "system", "content": "Reply without thinking."},
{"role": "user", "content": "What is 2+2? /no_think"}
]
Recommended Sampling Parameters
| Parameter | Value |
|---|---|
| Temperature | 0.6 |
| Top-P | 0.95 |
| Top-K | 20 |
| Min-P | 0.01 |
For non-thinking mode:
- Temperature: 0.7
- Top-P: 0.8
Acknowledgments
- Qwen3.5-122B-A10B — The base model
- Claude-Distills — The training dataset
Limitations
- This is a distilled model and may inherit biases from the teacher model
- Performance on tasks outside the training distribution may vary
- The model may occasionally generate incorrect reasoning steps
Citation
@model{qwen35_122b_claude_distill_v2,
title={Qwen3.5-122B-A10B-Claude-Distill-v2},
author={Kassadin88},
year={2026},
url={https://huggingface.co/Kassadin88/Qwen3.5-122B-A10B-Claude-Distill-v2}
}
- Downloads last month
- 111