Downloads · 30 days
16
17% of all-time downloads
EvanTheBoy/agentgym-rl-qwen2.5-1.5b-step25
agentgym-rl-qwen2.5-1.5b-step25 is a reinforcement learning model from EvanTheBoy. Use it for the reinforcement learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
A Qwen2.5-1.5B-Instruct model fine-tuned with reinforcement learning on BabyAI navigation tasks, reproducing the AgentGym-RL framework (ICLR 2026 Oral, Fudan NLP).
Downloads · 30 days
16
17% of all-time downloads
All-time downloads
95
Public
Parameters
1.8B
7.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.1 GB · 100%
From the Hugging Face model README
A Qwen2.5-1.5B-Instruct model fine-tuned with reinforcement learning on BabyAI navigation tasks, reproducing the AgentGym-RL framework (ICLR 2026 Oral, Fudan NLP).
| Base model | Qwen/Qwen2.5-1.5B-Instruct |
| Algorithm | GRPO (Group Relative Policy Optimization) |
| Environment | BabyAI (GoTo, Pickup, OpenDoor tasks) |
| Framework | verl + Ray + vLLM 0.6.3 + PyTorch FSDP |
| Hardware | AWS g4dn.12xlarge (4× NVIDIA T4, 64GB VRAM) |
| Training steps | 31 (checkpoint at step 25) |
| Batch size | 4 episodes per step |
The training pipeline uses FSDP to shard the actor model and reference policy across 4 T4 GPUs, with vLLM providing fast rollout generation. The reward signal is the BabyAI task completion score.
Base model — hallucinates unavailable actions:
Thought: I need to find the red ball first before going to it.
Action: go to red ball 1 ← invalid: ball not in current view
RL-trained model — only selects from the current available actions list:
Thought: The available actions list does not include a direct action to go
to an object without seeing it first.
Action: move forward ← valid: explores until object is visible
The RL model learned that actions must be grounded in the current observation. This is the primary behavioral shift from 31 steps of GRPO training.
Comparing executor logs at step 1 and step 31 reveals a bimodal pattern that is characteristic of partial training:
| Step 1 | Step 31 | |
|---|---|---|
| Avg reward | 0.64 | 0.25 |
| Success rate | 3/4 | 1/4 |
| Simple task behavior | Wanders, recovers | 1-shot execution (0.991 reward) |
| Hard task behavior | Wanders aimlessly | "None available" loop (new failure mode) |
Interpretation: GRPO successfully reinforced confident, direct action on simple tasks — step 31 can solve a clear pickup task in a single action turn. However, the model has not yet learned to handle ambiguity or unexpected observations gracefully. A new failure mode emerged: when the model is confused, it enters a "None available" loop (repeating that no valid action exists) rather than exploring. This is strictly worse than step 1's naive wandering on hard tasks, and is a classic mid-training artifact — the policy is halfway between random exploration and a converged strategy.
31 steps is intentionally insufficient for full convergence. The goal was to observe the directional behavioral shift, not to reach a production-ready agent.
Tested across 4-round simulated BabyAI conversations:
available actions listThis reproduction involved resolving 16 bugs across the full stack. Key learnings:
load_format=dummy_hf is required for single-node FSDP+vLLM setups. dummy_dtensor causes a deadlock at 43% weight loading..bin loads in newer transformers).from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("EvanTheBoy/agentgym-rl-qwen2.5-1.5b-step25")
tokenizer = AutoTokenizer.from_pretrained("EvanTheBoy/agentgym-rl-qwen2.5-1.5b-step25")
This model expects BabyAI-style prompts with an Available actions: [...] list in each observation turn. It is specifically fine-tuned for action grounding in grid-world navigation tasks.
@inproceedings{agentgym2026,
title={AgentGym: Evolving Large Language Model-based Agents across Diverse Environments},
author={...},
booktitle={ICLR 2026},
note={Oral presentation}
}
Reproduced by @EvanTheBoy on AWS EC2, April 2026.