Views
No views yet
sftlen-subaddallenai/Olmo-3-7B-Think reason at compression level L4 — semicolon-chained assignments.ssurface/cot-dialect-olmo3-7b-think-grpo-l4.| Accuracy | |
|---|---|
| This adapter | 64.9% |
<think>.K=18*2.5;D=8*4;T=K+D->T=77| Engine | trl.GRPOTrainer on stock transformers, attention sdpa |
| Reward | correctness, format, sft_length_subadd |
| Loss type | dapo |
| Generations per prompt | 8 |
| Batch | 64 x 1 accum |
| Max completion | 256 tokens |
| Learning rate | 1e-05 |
| KL coefficient (beta) | 0.0 |
| Prompt set | gsm8k_grpo_balanced_1k.json |
| Trained on | merged_olmo/l4 |
| LoRA | r=16, alpha=32 |
| Hardware | 1x NVIDIA A100 80GB |
correctness — +/- the gold solution's step count on an answer match, so harder problems are worth moreformat — the response must be one <think>...</think> block then #### <answer>sft_length_subadd — as sft_length, sub-additive in the overruntransformers with sdpa attention, not a fused-kernel wrapper. The fused path produced adapters whose lora_B matrices were all zero — mathematically inert despite loading without error. Every adapter in this collection was verified lora_B != 0 before publishing; 13 that failed that check were withheld.Solve this using Level 4 (Shorthand).
Problem: {your problem}Stacks on the SFT model, not the raw base. Trained against the merged SFT model, so loading it straight ontoallenai/Olmo-3-7B-Thinkwill not reproduce the number above.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4model = AutoModelForCausalLM.from_pretrained("allenai/Olmo-3-7B-Think", torch_dtype="bfloat16", device_map="auto")
5model = PeftModel.from_pretrained(model, "ssurface/cot-dialect-olmo3-7b-think-sft-l4") # 1. SFT for this level
6model = model.merge_and_unload()
7model = PeftModel.from_pretrained(model, "ssurface/cot-dialect-olmo3-7b-think-grpo-sftlen-subadd-l4") # 2. this adapter
8tok = AutoTokenizer.from_pretrained("allenai/Olmo-3-7B-Think")1@misc{cot-compression-dialects,
2 title = {Chain-of-Thought Compression Dialects},
3 author = {Frolov, Anatolii},
4 year = {2026}
5}