CoolFace
Modelpublic

SeongryongJung/Qwen3-4B-Chemistry-RLSD

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
0likes14downloads
Model Card

Qwen3-4B Chemistry RLSD

This repository contains Chemistry 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.7892860.8551240.795124
best_avg16/900.8041670.8559810.806176

Training Run

qwen3gen-chemistry-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/chemistry
  • —Train split: 1,890 examples
  • —Validation split: 210 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

[image]

CSV files:

  • —`training_score.csv`
  • —`validation_metrics.csv`
MetricValue
Final training step100
Final critic/score/mean0.905762
Final critic/rewards/mean0.905762
Final validation avg@160.789286
Peak validation avg@160.804167
Peak validation step90

Loading

Root final checkpoint:

python
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("SeongryongJung/Qwen3-4B-Chemistry-RLSD")
tokenizer = AutoTokenizer.from_pretrained("SeongryongJung/Qwen3-4B-Chemistry-RLSD")

Best avg@16 checkpoint:

python
model = AutoModelForCausalLM.from_pretrained("SeongryongJung/Qwen3-4B-Chemistry-RLSD", subfolder="best_avg16")
tokenizer = AutoTokenizer.from_pretrained("SeongryongJung/Qwen3-4B-Chemistry-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.