Views
No views yet
deepseek-ai/DeepSeek-R1-Distill-Qwen-7B on POLARIS-Project/Polaris-Dataset-53K. Released as part of an ICML-2026 study on the low-rank structure of SGD vs Adam RL updates for batched-LoRA inference.ΔW = W_ft − W_base between SGD-trained and Adam-trained RL fine-tunes. Existing open RL FTs (POLARIS, Skywork-OR1, DeepCoder, AceReason, ORZ, DAPO) are all Adam-trained; we needed a same-base same-recipe SGD counterpart for the comparison. This is one of those.| field | value |
|---|---|
| base model | deepseek-ai/DeepSeek-R1-Distill-Qwen-7B |
| dataset | POLARIS-Project/Polaris-Dataset-53K (52,779 train / 512 val) |
| algorithm | GRPO (adv_estimator=grpo, use_kl_loss=False, entropy_coeff=0, use_kl_in_reward=False) |
| optimizer | PLAIN SGD — momentum=0.0, nesterov=false, dampening=0.0, weight_decay=0.0 |
| learning rate | 1e-1 (constant) |
| train batch size | 128 (1 grad step per rollout batch) |
| ppo_micro_batch_size_per_gpu | 2 |
| rollout.n | 4 |
| rollout.temperature | 1.0 |
| max_prompt_length | 1024 |
| max_response_length | 8192 |
| epochs at this checkpoint | 0.24 (step 100 / 412) |
| hardware | 8× B200 (179 GB) |
| step time | ~115 s/step |
| trainer | verl (FSDP + vLLM rollout) |
<think>...</think>\boxed{X} style answers and does NOT produce literal "Answer: X" prose. verl's default math_dapo.compute_score matches Minerva regex r"(?i)Answer\s*:\s*([^\n]+)" and would return -1 for every rollout, killing the gradient.reward_score_box_or_minerva.py) was used: tries \boxed{} extraction first, then falls back to Minerva. Both styles supported.| metric | value |
|---|---|
| baseline val acc (step 0) | 14.3% |
| val acc at this ckpt (step 100) | 24.85% ← peak across the run |
| val acc at step 412 (final) | 21.7% |
Sinestro38/dsr1-qwen7b-sgd-polaris-step412-final.1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4m = AutoModelForCausalLM.from_pretrained(
5 "Sinestro38/dsr1-qwen7b-sgd-polaris-step100-best-val",
6 torch_dtype=torch.bfloat16,
7 device_map="cuda",
8)
9tok = AutoTokenizer.from_pretrained("Sinestro38/dsr1-qwen7b-sgd-polaris-step100-best-val")
10
11# Math problems work best with the boxed-answer suffix
12prompt = "Find all integer solutions to x^2 + y^2 = 25. Let's think step by step and output the final answer within \\boxed{}."
13msgs = [{"role": "user", "content": prompt}]
14ids = tok.apply_chat_template(msgs, tokenize=True, add_generation_prompt=True, return_tensors="pt").to("cuda")
15out = m.generate(ids, max_new_tokens=2048, do_sample=True, temperature=0.6)
16print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))Sinestro38/dsr1-qwen7b-sgd-polaris-step412-final — same run, final checkpoint