Llama-3.2-3B-Instruct-SFT-WebShop
Built with Llama
A deliberately early supervised fine-tuning (SFT) checkpoint: the starting point for reinforcement learning (RL) in our study, not a fully trained SFT model.
meta-llama/Llama-3.2-3B-Instruct fine-tuned for WebShop on our SFT data ws_sft_div233 for 25 optimizer steps of a 300-step SFT schedule. Training was stopped early on purpose: our RL experiments start from a policy whose validation success rate lies in a band fixed in advance, 20-30%, instead of from a saturated one. This checkpoint's validation success rate is 27.17% (mean over sampling seeds 0, 1, 2).
At a glance
- Training length: 25 optimizer steps = 0.17 epoch of 9614 rows at batch 64; the schedule has 2 epochs = 300 steps.
- Starting success rate (validation): 27.17% = mean of 3 sampling seeds (seed 0: 26.50%, seed 1: 27.50%, seed 2: 27.50%) on WebShop development goals 500-1499 (1000 goals; the test goals 0-499 are never used), 1000 items per seed.
- Seeds sampled: seed 0 for every saved checkpoint of the scan (8 checkpoints); seeds 1 and 2 for this checkpoint only (3 seeds for this checkpoint).
- SFT training seed: 1.
How this checkpoint was trained
| base model | meta-llama/Llama-3.2-3B-Instruct, revision 0cb88a4f764b7a12671c53f0838cd831a0843b95; local copy: chat template: Today Date pinned to 26 Jul 2024 (was strftime_now) |
| method | full-parameter supervised fine-tuning (behaviour cloning) on (prompt, response) pairs, verl fsdp_sft_trainer (verl-agent commit 20bd331, fsdp2) |
| SFT data | ws_sft_div233: 9614 training rows (WebShop) |
| schedule | 2 epoch(s) x 150 steps per epoch = 300 optimizer steps; global batch 64 rows per step (1 GPU(s), micro-batch 4 per GPU); maximum sequence length 2432 tokens |
| optimizer | AdamW, peak learning rate 1e-05, betas [0.9, 0.95], weight decay 0.01, gradient clipping 1 |
| learning-rate schedule | cosine with linear warm-up over the whole 300-step schedule: warm-up ratio 0.1 = 30 steps |
| this checkpoint | the model after optimizer step 25 of 300 (the run saved every 5 steps and was stopped after step 50 with the trainer's own early exit; the learning-rate schedule was not shortened, so every update up to step 25 is that of the full run) |
| training seed | 1 |
| weights | F32: 255 tensors safetensors, exactly as saved by the trainer (no conversion) |
Validation success rate
Validation set: WebShop development goals 500-1499 (1000 goals; the test goals 0-499 are never used); every item once per seed. Success rate = successes / items. Multi-turn episodes of at most 15 actions, vllm sampling at temperature 0.4, top-p 1, no top-k.
| sampling seed | successes | success rate |
|---|---|---|
| 0 | 265/1000 | 26.50% |
| 1 | 275/1000 | 27.50% |
| 2 | 275/1000 | 27.50% |
| mean | 27.17% |
How the step was selected
The SFT run saved a checkpoint every 5 steps (denser between two checkpoints where needed), and each was evaluated on the validation set with sampling seed 0. Rule, fixed before any result: at the first checkpoint whose rate reached 25%, take that checkpoint or the one before it, whichever lies in 20-30% and is nearer to 25%; confirm it with sampling seeds 1, 2: it is the start when the mean over the three seeds lies in 20-30%. The seed-0 rate took part in the selection; the other seeds are the unbiased check. Evaluated checkpoints (seed 0):
| step | success rate (seed 0) | mean of seeds 0, 1, 2 |
|---|---|---|
| 5 | 0.10% | |
| 10 | 1.00% | |
| 15 | 6.60% | |
| 20 | 18.00% | |
| 25 (this checkpoint) | 26.50% | 27.17% |
| 30 | 24.40% | |
| 35 | 40.40% | |
| 40 | 49.70% |
All SFT starting points of this study
One SFT checkpoint per (environment, model) is the RL start; validation success = mean of 3 sampling seeds (the same evaluation as above for each environment's validation set).
| environment | model | SFT steps | epochs | validation success (mean of 3 seeds) | Hugging Face repo |
|---|---|---|---|---|---|
| ALFWorld | Llama-3.2-3B-Instruct | 18 | 0.36 | 13.71% | wayne-SFT/Llama-3.2-3B-Instruct-SFT-ALFWorld |
| ALFWorld | Phi-4-mini-instruct | 20 | 0.40 | 18.51% | wayne-SFT/Phi-4-mini-instruct-SFT-ALFWorld |
| ALFWorld | Llama-3.1-8B-Instruct | 15 | 0.30 | 21.19% | wayne-SFT/Llama-3.1-8B-Instruct-SFT-ALFWorld |
| WebShop | Llama-3.2-3B-Instruct | 25 | 0.17 | 27.17% | wayne-SFT/Llama-3.2-3B-Instruct-SFT-WebShop (this repo) |
| WebShop | Phi-4-mini-instruct | 30 | 0.20 | 28.87% | wayne-SFT/Phi-4-mini-instruct-SFT-WebShop |
| WebShop | Llama-3.1-8B-Instruct | 23 | 0.15 | 24.07% | wayne-SFT/Llama-3.1-8B-Instruct-SFT-WebShop |
| ScienceWorld | Llama-3.2-3B-Instruct | not selected yet | |||
| ScienceWorld | Phi-4-mini-instruct | not selected yet | |||
| ScienceWorld | Llama-3.1-8B-Instruct | not selected yet |
Intended use
The starting checkpoint of the RL experiments of our study (multi-turn agentic RL in WebShop). It is an intermediate SFT checkpoint chosen for its moderate success rate, not a tuned agent.
License
Llama 3.2 Community License; base model terms: LICENSE.txt, USE_POLICY.md; copies in this repo: LICENSE.txt.
Files (sha256)
| file | bytes | sha256 |
|---|---|---|
chat_template.jinja | 3816 | 9f36058501ebe1f04ecd6bde7ee7ec59b72da865eb610ab4e77ff300eb63fcdc |
config.json | 867 | 8e356e7cd97607df2cba52b58ae215d9b1d9f7e793a0489f01080c20d617c571 |
generation_config.json | 184 | fb6f007ef838d8fca7d11f2f97a8fdfe97be7e08210f33eb1348e833abf2f642 |
model-00001-of-00003.safetensors | 4998767360 | 2c5308321f5d651b2d04fc35f9b2a1d64d228625cdf6987a631506d319a4d23f |
model-00002-of-00003.safetensors | 4932808968 | bfb223f48aebd57d9f5ebb25cf7c7d3ebf5fbc5551b3c370f49b19befc07b210 |
model-00003-of-00003.safetensors | 4495462048 | 66b373828f5d3e2ec67df4683ad1227db004d9680198d2d89cf997ad313f40ee |
model.safetensors.index.json | 21014 | 9eac81ad39724cd1cced150ef16219c746aebefa6077e0ecf52c1744c9c27188 |
special_tokens_map.json | 325 | 1b1835caa5b4d70acaa210fa222b0036f1882f9525c4660fd4810fb3e1e40ff8 |
tokenizer.json | 17209920 | 6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b |
tokenizer_config.json | 50554 | a6c116761af9f371c68fd4a2da6e3cf6b3a4b41148f38eca4047aecfccdb6403 |
The sha256 values were computed before the upload and checked against the Hub and against an independent download afterwards.