ZeroHero ALFWorld-Dialogue 5M — strong BATS
A 5,426,816-parameter executor from ZeroHero's ALFWorld-Dialogue experiments. The Qwen3 architecture was trained from random initialization with a custom 1,024-token tokenizer; these are not pretrained Qwen3 LLM weights. The strong initialization is supervised pretraining epoch 12, followed by 600 BATS cycles, training seed 92002.
Task and architecture
ALFWorld-Dialogue hides parts of a household task specification. The executor
reads a public request, observations, admissible commands and dialogue, then
produces action: <physical command> or action: ask <question>.
The question oracle is Qwen3-4B, using a private task/state FAQ at temperature
0 with thinking disabled. Oracle weights are not included in this repository.
This actor uses action-only responses and the standard_public_v1 serialization.
Six transformer layers, hidden size 256, intermediate size 864, eight attention heads, four KV heads, 1,792-token context, tied embeddings and FP32 weights. It is a specialized executor for the dialogue task.
Training
BATS (Bandit-based Adaptive Training Selection) uses LinUCB to choose between PPO and DAgger in blocks of two cycles. This run executed 452 PPO cycles and 148 DAgger cycles, with 67,328 training episodes. DAgger uses Gemma action-expert annotations, replay and supervised anchors. The action expert and the privileged question oracle have separate roles.
Recorded learner source: 7be4ae545c17a42f90e4a8461d905ffb6a5999a4.
Training implementation
and dialogue rollout implementation.
training_config.json contains the exported training settings; service addresses
and machine-specific paths are omitted. provenance.json records source hashes.
Recorded evaluation and selection
The final cycle-600 policy solved 122/134 tasks (91.04%) on the saved final unseen set. Mean episode length: 21.04 decisions. Sampling: temperature 1, no top-k/top-p filtering, response cap 96 tokens, evaluation seed 424242. Limits: 60 decisions, 50 physical steps, eight questions. Evaluation requires the dialogue wrapper and the Qwen3-4B question oracle. This is ALFWorld-Dialogue, not the unmodified ALFWorld benchmark.
The publication selects seed 92002 after comparing recorded final-set scores:
| Strong BATS training seed | Final cycle | Successes / 134 |
|---|---|---|
| 92001 | 600 | 118 |
| 92002 (this release) | 600 | 122 |
| 92003 | 600 | 119 |
Thus 91.04% is the selected run's historical score, not an unbiased estimate of seed selection or the paper's aggregate. The paper snapshot's two-seed strong BATS mean (92001 and 92002) is 89.55%, with sample SD 2.11 percentage points. No environment evaluation was rerun for this release. The 134 saved task outcomes were recounted and matched to the recorded final manifest.
Load and generate one response
The release was checked on CPU with PyTorch 2.6.0 and Transformers 4.51.1.
Install torch, transformers==4.51.1, huggingface_hub and safetensors.
Use the raw task prompt below; do not wrap it in a generic chat template.
from pathlib import Path
from huggingface_hub import hf_hub_download
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "RLMM/zerohero-alfworld-dialogue-5m-strong-bats"
revision = "bats-cycle-0600-seed-92002"
tokenizer = AutoTokenizer.from_pretrained(repo, revision=revision)
model = AutoModelForCausalLM.from_pretrained(
repo, revision=revision, torch_dtype="auto"
).eval()
prompt = Path(hf_hub_download(repo, "example_prompt.txt", revision=revision)).read_text()
inputs = tokenizer(prompt, return_tensors="pt", return_token_type_ids=False)
output = model.generate(
**inputs, do_sample=True, temperature=1.0, top_k=0, top_p=1.0,
max_new_tokens=96, pad_token_id=tokenizer.pad_token_id,
eos_token_id=tokenizer.eos_token_id,
)
print(tokenizer.decode(output[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
This generates one action/question. For trajectories, execute physical actions in the environment, route questions to the oracle, and rebuild the public prompt after each decision using the linked rollout code.
value_head.pt contains the separate training critic and is not loaded by
AutoModelForCausalLM. Optimizer, replay, RNG and bandit recovery state are not
included: this is an inference release, not a complete training-resume snapshot.
sha256.json covers every released file except itself.