Kevletesteur/Qwen3.5-35B-A3B-Chimere-Distilled-BF16
032
Qwen3.5-35B-A3B Chimere Distilled -- BF16 Full Weights
Full-precision BF16 weights of the Chimere distillation (Claude Opus 4.6 into Qwen3.5-35B-A3B).
This is the merged result of base Qwen3.5-35B-A3B + Chimere LoRA adapter. Use this for re-quantization or as a starting point for further fine-tuning. For direct inference, use the GGUF versions instead.
When to use this repo
Usage
Re-quantize to GGUF
# Convert safetensors to GGUF
python3 llama.cpp/convert_hf_to_gguf.py \
./Qwen3.5-35B-A3B-Chimere-Distilled-BF16 \
--outfile chimere-bf16.gguf --outtype bf16
# Quantize (example: Q4_K_M)
llama-quantize chimere-bf16.gguf chimere-Q4_K_M.gguf Q4_K_M
# With imatrix for better quality at low bitrates
llama-quantize --imatrix imatrix.dat chimere-bf16.gguf chimere-IQ3_S.gguf IQ3_S
# RAMP quantization (custom per-tensor overrides, as used for the GGUF releases)
llama-quantize --imatrix imatrix.dat --custom-q chimere-bf16.gguf chimere-ramp.gguf IQ3_SLoad with transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "Kevletesteur/Qwen3.5-35B-A3B-Chimere-Distilled-BF16"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="bfloat16",
device_map="auto", # Requires ~72 GB VRAM
)
messages = [{"role": "user", "content": "Write a Python function to parse JSON."}]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True)
inputs = inputs.to(model.device)
outputs = model.generate(inputs, max_new_tokens=512, temperature=0.7, top_p=0.8, top_k=20)
print(tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True))Fine-tune further
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import get_peft_model, LoraConfig
model = AutoModelForCausalLM.from_pretrained(
"Kevletesteur/Qwen3.5-35B-A3B-Chimere-Distilled-BF16",
torch_dtype="bfloat16",
device_map="auto",
)
lora_config = LoraConfig(
r=64,
lora_alpha=64,
target_modules=["q_proj", "k_proj", "v_proj", "o_proj", "gate_proj", "up_proj", "down_proj"],
lora_dropout=0,
task_type="CAUSAL_LM",
)
model = get_peft_model(model, lora_config)
# Continue with your SFT trainer...Model Details
Files
Training Details
This model was trained in two versions:
The BF16 weights in this repo correspond to the v1 distillation (code + tools focus). For v3 weights, apply the v3 LoRA to the base Qwen3.5-35B-A3B model.
Related
- Chimere v1 GGUF -- v1 RAMP quantized, ready for inference
- Chimere v3 GGUF -- v3 RAMP quantized, ready for inference
- LoRA adapter -- LoRA weights (requires base model)
- Base model: Qwen3.5-35B-A3B
- GitHub: Chimere
- GitHub: Chimere ODO
Citation
@misc{chimere-distilled-2026,
title={Chimere: Claude Opus 4.6 Distillation of Qwen3.5-35B-A3B MoE for Agentic Local Inference},
author={Kevletesteur},
year={2026},
url={https://huggingface.co/Kevletesteur/Qwen3.5-35B-A3B-Chimere-Distilled-BF16}
}