Llama-3.1-8B-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.1-8B-Instruct fine-tuned for ALFWorld on our SFT data alf_sft_hc_n200 for 15 optimizer steps of a 50-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 21.19% (mean over sampling seeds 0, 1, 2).
At a glance
- Training length: 15 optimizer steps = 0.30 epoch of 3254 rows at batch 64; the schedule has 1 epoch = 50 steps.
- Starting success rate (validation): 21.19% = mean of 3 sampling seeds (seed 0: 20.74%, seed 1: 21.38%, seed 2: 21.44%) on ALFWorld
valid_seen(all 140 games) and ALFWorldvalid_unseen(all 134 games), 274 items per seed. - Seeds sampled: seed 0 for every saved checkpoint of the scan (6 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.1-8B-Instruct, revision 0e9e39f249a16976918f6564b8830bc894c89659 |
| 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 (2 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 15 of 50 (the run saved every 5 steps and was stopped after step 30 with the trainer's own early exit; the learning-rate schedule was not shortened, so every update up to step 15 is that of the full run) |
| training seed | 1 |
| weights | F32: 291 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 | 33/140 + 24/134 | 20.74% |
| 1 | 40/140 + 19/134 | 21.38% |
| 2 | 36/140 + 23/134 | 21.44% |
| mean | 21.19% |
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 | 4.75% | |
| 10 | 1.09% | |
| 15 (this checkpoint) | 20.74% | 21.19% |
| 20 | 64.91% | |
| 25 | 67.11% | |
| 30 | 80.61% |
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 (this repo) |
| 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.1 Community License; base model terms: LICENSE, USE_POLICY.md; copies in this repo: LICENSE.
Files (sha256)
| file | bytes | sha256 |
|---|---|---|
chat_template.jinja | 4614 | e10ca381b1ccc5cf9db52e371f3b6651576caee0a630b452e2816b2d404d4b65 |
config.json | 868 | caea7a57d7dc8a73fae794795b11f4c8654de59c733558962c6067fa2337f554 |
generation_config.json | 184 | fb6f007ef838d8fca7d11f2f97a8fdfe97be7e08210f33eb1348e833abf2f642 |
model-00001-of-00007.safetensors | 4886466168 | 9f351606b7eba5afb719e93f0dc0bcbdcc586618d75b35a665f7ced4c8abb36f |
model-00002-of-00007.safetensors | 4832007448 | 14171ee6877b712772c7bd2f80c41ad222444251ac0ad9ea96407bd0712a4f96 |
model-00003-of-00007.safetensors | 4999813112 | a9b5de4aa945b56f0d7dec090894bc1c4490bb4bf808efb112057b4b8626a619 |
model-00004-of-00007.safetensors | 4999813128 | 819f159e4af63c74ff0d91015a4bc7c7d021ebfc4a0f9ab5b7e1d2f5d8f9b7b9 |
model-00005-of-00007.safetensors | 4832007496 | a192b5d766e1c4e32b955ab68369b0637561ccff1a51919be723d9e6e3f7ced1 |
model-00006-of-00007.safetensors | 4999813120 | ee9f056d557b8ab2ca137510f4502a13fdb53a77cbed3ea6d5870e37ffe392e5 |
model-00007-of-00007.safetensors | 2571158184 | 31383d73900632af67da1c1202d5adb53bd3db105c7041c7e033d60a8662092c |
model.safetensors.index.json | 23986 | fdd75a067851de1b4fe0764732032f4e38f558bfe7477011f7f22ffcb81c5214 |
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.