efficient-reasoning
Collection
Models from "Efficient Reasoning Training Does Not Always Harm CoT Faithfulness and Monitorability". • 9 items • Updated
How to use Samll/qwen3-4b-thinking-glp with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B-Thinking-2507")
model = PeftModel.from_pretrained(base_model, "Samll/qwen3-4b-thinking-glp")Paper: Efficient Reasoning Training Does Not Always Harm CoT Faithfulness and Monitorability
Collection: Efficient Reasoning: CoT Faithfulness & Monitorability
Method: Within-group length penalty from Kimi k1.5 (Kimi Team, 2025)
| Base model | Qwen/Qwen3-4B-Thinking-2507 |
| Method | Within-Group Length Penalty (GLP) |
| Released as | LoRA adapter, step 150 |
| Length-reward weight / warm-up | 0.1 / 100 steps |
| LoRA | rank 16, alpha 32, dropout 0, all attention and MLP projections |
| Optimiser | AdamW, learning rate 1e-5, KL coefficient 0 |
| Batch | 32 prompts x 16 generations |
| Sampling | temperature 0.8, top-p 0.95 |
| Data | numina_amc_aime (PRIME Eurus-2-RL-Data), ~2,223 prompts |
| Checkpoint selection | AIME22, every 50 steps |
| Hardware | 2x NVIDIA GH200 |
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B-Thinking-2507", torch_dtype="auto", device_map="auto")
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B-Thinking-2507")
model = PeftModel.from_pretrained(base, "Samll/qwen3-4b-thinking-glp")
Base model
Qwen/Qwen3-4B-Thinking-2507