CoolFace
Modelpublic

SeongryongJung/Qwen3-4B-Physics-RLSD

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
1likes7downloads
Model Card

Qwen3-4B Physics RLSD

This repository contains Physics fine-tuned Qwen3-4B checkpoints from the local SciKnowEval-style generalization setup.

  • —Root checkpoint: final global_step_100 merged to Hugging Face safetensors.
  • —best_avg16/: checkpoint with the highest validation avg@16 during training, merged to Hugging Face safetensors.

Checkpoints

CheckpointSource stepValidation avg@16best@16 / pass@16maj@16
Root final1000.7000000.7687130.718600
best_avg16/600.7312500.8163380.740938

Training Run

qwen3gen-physics-RLSD-Qwen-Qwen3-4B-mbs8-decay0-ema0.05-train256-rollout8-lr1e-6-vllm0.8

Base Model

  • —Base model: Qwen/Qwen3-4B
  • —Fine-tuning type: full-parameter FSDP RL training
  • —Dataset: datasets/sciknoweval/physics
  • —Train split: 720 examples
  • —Validation split: 80 examples

Method

  • —Method: RLSD
  • —Config: rlsd
  • —Policy loss mode: rlsd
  • —Reward: local SciKnowEval multiple-choice reward checker
  • —Rollout correction: token-level importance sampling, threshold 2.0

Hyperparameters

FieldValue
Base modelQwen/Qwen3-4B
Training steps100
Train batch size256
Rollouts per prompt8
Generations per step2048
PPO mini batch size8
Learning rate1e-6
LR warmup steps10
Weight decay0.01
Grad clip1.0
Max prompt length2048
Max response length8192
Max model length10240
Train temperature1.0
Train top_p1.0
Validation generations16
Validation temperature0.6
Validation top_p0.95
vLLM GPU memory utilization0.8
GPUs8 x NVIDIA H200
Save frequencyevery 10 steps
Validation frequencyevery 10 steps
Token reweight lambda0.5
Token reweight eps_w0.2
Token reweight decay steps0
Teacher update rate0.05
Max reprompt length10240

Metrics

MetricValue
Final training step100
Final critic/score/mean0.890137
Final critic/rewards/mean0.890137
Final validation avg@160.700000
Peak validation avg@160.731250
Peak validation step60

Loading

Root final checkpoint:

python
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("SeongryongJung/Qwen3-4B-Physics-RLSD")
tokenizer = AutoTokenizer.from_pretrained("SeongryongJung/Qwen3-4B-Physics-RLSD")

Best avg@16 checkpoint:

python
model = AutoModelForCausalLM.from_pretrained("SeongryongJung/Qwen3-4B-Physics-RLSD", subfolder="best_avg16")
tokenizer = AutoTokenizer.from_pretrained("SeongryongJung/Qwen3-4B-Physics-RLSD", subfolder="best_avg16")

Intended Use

This model is intended for research on RL fine-tuning and self-distillation behavior on science/generalization tasks. It has not been broadly safety evaluated for production use.

Limitations

The reported scores are training-time and validation-time metrics from the local experimental setup. They should not be interpreted as broad benchmark results without independent evaluation.