Views
No views yet
Qwen/Qwen3-4B-Instruct-2507 reason at compression level L4 — semicolon-chained assignments.| Accuracy | |
|---|---|
| This adapter | 73.7% |
<think>.K=18*2.5;D=8*4;T=K+D->T=77| Stage | supervised fine-tuning (distillation) |
| Engine | HuggingFace transformers + peft |
| LoRA | r=16, alpha=32, dropout=0.05 |
| Epochs | 3 |
| Learning rate | 2e-4, cosine, warmup 0.03 |
| Batch | 16 x 4 grad-accum = 64 effective |
| Max sequence | 1024 |
| Precision | bf16 |
| Hardware | 1x NVIDIA A100 80GB |
Solve this using Level 4 (Shorthand).
Problem: {your problem}1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B-Instruct-2507", torch_dtype="bfloat16", device_map="auto")
5model = PeftModel.from_pretrained(model, "ssurface/cot-dialect-qwen3-4b-instruct-sft-l4")
6tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")1@misc{cot-compression-dialects,
2 title = {Chain-of-Thought Compression Dialects},
3 author = {Frolov, Anatolii},
4 year = {2026}
5}