Views
No views yet
Qwen/Qwen2.5-3B-Instruct, trained to select ALFWorld TextWorld actions from deployable state information X plus a structured privileged hint H.X only.X: task goal, recent interaction history, current observation, and admissible commands.H: a type-level task sketch containing the skill, target type/count, source support type, processing device, destination type, and abstract action templates.Y: one exact TextWorld command selected from the admissible commands.code/prompts.py. See HINT_GENERATION.md for the complete construction and leakage-control rules.data/privileged_plan_sft.jsonl: 21,194 transition records with X, H, and Y.data/privileged_plan_sft.jsonl.manifest.json: split, class coverage, and leakage audit.data/privileged_plan_sft.jsonl.excluded_games.jsonl: 15 environment-timeout exclusions.code/: hint generation, final rewrite/audit, prompt, teacher SFT, and evaluation code.evaluation/: 59-task closed-loop summaries and trajectory replay audit.| Task family | Records |
|---|---|
| look-at-object-in-light | 1,116 |
| pick-and-place | 3,278 |
| clean-then-place | 4,067 |
| cool-then-place | 3,284 |
| heat-then-place | 2,866 |
| pick-two-objects-and-place | 6,583 |
H == Y: 0H: 0H: 0Qwen/Qwen2.5-3B-Instruct8 GPUs × micro-batch 2 × accumulation 2)2e-5, linear schedule, 10% warmupvalid_seen, 24 valid_unseen), seed 42, at most 50 environment steps, and greedy token-trie decoding constrained to the current admissible commands.| Condition | Pooled | Seen | Unseen |
|---|---|---|---|
| Base, no hint | 8/59 (13.6%) | 20.0% | 4.2% |
| Base, structured hint | 25/59 (42.4%) | 54.3% | 25.0% |
| Teacher adapter, structured hint | 48/59 (81.4%) | 91.4% | 66.7% |
1import torch
2from peft import PeftModel
3from transformers import AutoModelForCausalLM, AutoTokenizer
4
5base_id = "Qwen/Qwen2.5-3B-Instruct"
6adapter_id = "TDSMike/ALF-qwen3B-privilege"
7
8tokenizer = AutoTokenizer.from_pretrained(adapter_id)
9tokenizer.pad_token = tokenizer.eos_token
10base = AutoModelForCausalLM.from_pretrained(
11 base_id,
12 torch_dtype=torch.bfloat16,
13 device_map="auto",
14)
15model = PeftModel.from_pretrained(base, adapter_id)
16model.eval()teacher_prompt(...) from code/prompts.py, and use the current environment's admissible commands. The released evaluation uses constrained greedy decoding; unconstrained free-form generation is not directly comparable.requirements-reproduction.txt.verl_workspace/data/alfworld/.HINT_GENERATION.md.code/sft_teacher.py with the configuration above.best checkpoint using code/eval_student.py --dataset_mode pilot --prompt_mode teacher.H is privileged information derived from environment metadata and an expert plan; it is unavailable to a normal deployed agent.