Llama-3.2-3B-Instruct-SFT-ALFWorld
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 ALFWorld on our SFT data alf_sft_hc_n200 for 18 optimizer steps of a 50-step SFT schedule. Training was stopped early on purpose: our RL experiments start from a policy with a moderate validation success rate, aiming at a band fixed in advance, 20-30%, instead of from a saturated one. This checkpoint's validation success rate is 13.71% (mean over sampling seeds 0, 1, 2), below that band: no saved checkpoint fell in the 20-30% band (the adjacent steps 18 and 19 had 14.54% and 45.86%, seed 0); the study's authors chose this checkpoint (see below).
At a glance
- Training length: 18 optimizer steps = 0.36 epoch of 3254 rows at batch 64; the schedule has 1 epoch = 50 steps.
- Starting success rate (validation): 13.71% = mean of 3 sampling seeds (seed 0: 14.54%, seed 1: 12.38%, seed 2: 14.20%) on ALFWorld
valid_seen(all 140 games) and ALFWorldvalid_unseen(all 134 games), 274 items per seed. This mean is below the 20-30% target band. - Seeds sampled: seed 0 for every saved checkpoint of the scan (11 checkpoints); seeds 1 and 2 for this checkpoint and, evaluated for comparison, seeds 1 and 2 for step 19 (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 | alf_sft_hc_n200: 3254 training rows (ALFWorld) |
| schedule | 1 epoch(s) x 50 steps per epoch = 50 optimizer steps; global batch 64 rows per step (1 GPU(s), micro-batch 4 per GPU); maximum sequence length 1280 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 50-step schedule: warm-up ratio 0.1 = 5 steps |
| this checkpoint | the model after optimizer step 18 of 50 (the run saved every 1 steps and was stopped after step 19 with the trainer's own early exit; the learning-rate schedule was not shortened, so every update up to step 18 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: ALFWorld valid_seen (all 140 games) and ALFWorld valid_unseen (all 134 games); every item once per seed. Success rate = the mean of the per-set success rates (successes / items of each set). Multi-turn episodes of at most 50 actions, vllm sampling at temperature 0.4, top-p 1, no top-k.
| sampling seed | successes | success rate |
|---|---|---|
| 0 | 24/140 + 16/134 | 14.54% |
| 1 | 19/140 + 15/134 | 12.38% |
| 2 | 22/140 + 17/134 | 14.20% |
| mean | 13.71% |
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. Outcome for this run: no saved checkpoint fell in the 20-30% band (the adjacent steps 18 and 19 had 14.54% and 45.86%, seed 0). The study's authors chose step 18, the lower of the two; it was confirmed with sampling seeds 1, 2 like any candidate, and its three-seed mean, 13.71%, is below the band. Evaluated checkpoints (seed 0):
| step | success rate (seed 0) | mean of seeds 0, 1, 2 |
|---|---|---|
| 5 | 1.07% | |
| 10 | 3.26% | |
| 15 | 6.88% | |
| 16 | 5.05% | |
| 17 | 8.37% | |
| 18 (this checkpoint) | 14.54% | 13.71% |
| 19 | 45.86% | 42.92% |
| 20 | 59.41% | |
| 25 | 46.14% | |
| 30 | 72.87% | |
| 35 | 69.30% |
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 (this repo) |
| 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 |
| 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 ALFWorld). 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 | 59bed4776d67047065b3c9fc076ea69dfa549c0c6cdbdce40f19c492f781598a |
model-00002-of-00003.safetensors | 4932808968 | de13a13292eeb56dbb02d77b0a65a2ef847f016dd1a144cf28d3c4d9727bcf3c |
model-00003-of-00003.safetensors | 4495462048 | 0c8041cd691371cbd84b52e46fc4fcbc07d189aa4db8e2b2ffb3789c5067a9ed |
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.