This is
not a standalone model. It requires the base model
unsloth/Qwen3.5-35B-A3B to use.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4base_model_id = "unsloth/Qwen3.5-35B-A3B"
5adapter_id = "Kevletesteur/Qwen3.5-35B-A3B-Chimere-Distilled-LoRA"
6
7# Load base model
8tokenizer = AutoTokenizer.from_pretrained(adapter_id) # Tokenizer included in adapter repo
9model = AutoModelForCausalLM.from_pretrained(
10 base_model_id,
11 torch_dtype="bfloat16",
12 device_map="auto",
13)
14
15# Apply LoRA adapter
16model = PeftModel.from_pretrained(model, adapter_id)
17
18messages = [{"role": "user", "content": "Write a Python function to parse JSON."}]
19inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True)
20inputs = inputs.to(model.device)
21
22outputs = model.generate(inputs, max_new_tokens=512, temperature=0.7, top_p=0.8, top_k=20)
23print(tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True))
1from transformers import AutoModelForCausalLM
2from peft import PeftModel
3
4base_model = AutoModelForCausalLM.from_pretrained(
5 "unsloth/Qwen3.5-35B-A3B",
6 torch_dtype="bfloat16",
7 device_map="cpu", # Merge on CPU to avoid VRAM issues
8)
9
10model = PeftModel.from_pretrained(base_model, "Kevletesteur/Qwen3.5-35B-A3B-Chimere-Distilled-LoRA")
11merged = model.merge_and_unload()
12merged.save_pretrained("./chimere-merged-bf16")
1from unsloth import FastLanguageModel
2
3model, tokenizer = FastLanguageModel.from_pretrained(
4 model_name="Kevletesteur/Qwen3.5-35B-A3B-Chimere-Distilled-LoRA",
5 max_seq_length=32768,
6 dtype="bfloat16",
7 load_in_4bit=True,
8)
9
10# The LoRA is already applied -- continue training with your dataset
11# ...
This broad targeting (attention + all MoE experts) is why the adapter is 44.7 GB -- it adapts the routing behavior of every expert.
1@misc{chimere-distilled-2026,
2 title={Chimere: Claude Opus 4.6 Distillation of Qwen3.5-35B-A3B MoE for Agentic Local Inference},
3 author={Kevletesteur},
4 year={2026},
5 url={https://huggingface.co/Kevletesteur/Qwen3.5-35B-A3B-Chimere-Distilled-LoRA}
6}