Views
No views yet
| Accuracy | |
|---|---|
| This adapter | 65.3% |
| 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 |
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-baseline-tokenskip-g50")
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}