Instructions to use JazySong/LegoEnv with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JazySong/LegoEnv with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("JazySong/LegoEnv", device_map="auto") - Notebooks
- Google Colab
- Kaggle
model card: paper checkpoints
Browse files
README.md
CHANGED
|
@@ -22,30 +22,28 @@ Code: https://github.com/JazyJiang/LegoEnv · Data: https://huggingface.co/datas
|
|
| 22 |
|
| 23 |
| Folder | Base | Training | Corpus |
|
| 24 |
|---|---|---|---|
|
| 25 |
-
| `qwen3.5-27b-sft/` | Qwen3.5-27B | SFT, 3 epochs (step 489) | round-1
|
| 26 |
-
| `qwen3.6-27b-sft/` | Qwen3.6-27B | SFT, 3 epochs (step 570) | round-2 corpus, 6,110 trajectories
|
| 27 |
-
| `qwen3.8-27b-grpo/` | Qwen3.8-27B | GRPO, step 200, binary verifier reward | 1,516 environments
|
| 28 |
|
| 29 |
All three are full-parameter checkpoints in `safetensors`, with the base model's tokenizer and chat template. Training recipe: SFT with global batch 32, peak learning rate 1e-5, cosine decay, 64K sequence length, teacher reasoning kept across turns, assistant turns that received a 4xx tool response excluded from the loss; GRPO from the unmodified base with group size 8, temperature 1.0, 2 epochs over 1,516 prompts, reward = the environment's programmatic verifier (no reward model, no judge).
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
## Evaluation (four evaluations each, mean ± sd)
|
| 36 |
|
| 37 |
Protocol: AutomationBench 1.0.6, `api` toolset, 50 steps, one rollout per task, reasoning of earlier turns replayed; MCP-Mark 127 tasks; BFCL v4 official weighted average.
|
| 38 |
|
| 39 |
| Checkpoint | AutomationBench | MCP-Mark | BFCL v4 |
|
| 40 |
|---|---|---|---|
|
| 41 |
| Qwen3.5-27B base | 3.2 | 44.9 | 67.6 |
|
| 42 |
-
| `qwen3.5-27b-sft`
|
| 43 |
| Qwen3.6-27B base | 16.0 | 42.5 | 63.0 |
|
| 44 |
-
| `qwen3.6-27b-sft`
|
| 45 |
| Qwen3.8-27B base | 37.6 | 73.2 | 71.0 |
|
| 46 |
-
| `qwen3.8-27b-grpo`
|
| 47 |
|
| 48 |
-
|
| 49 |
|
| 50 |
## Usage
|
| 51 |
|
|
|
|
| 22 |
|
| 23 |
| Folder | Base | Training | Corpus |
|
| 24 |
|---|---|---|---|
|
| 25 |
+
| `qwen3.5-27b-sft/` | Qwen3.5-27B | SFT, 3 epochs (step 489) | round-1 corpus plus the 3k draw, 5,229 trajectories |
|
| 26 |
+
| `qwen3.6-27b-sft/` | Qwen3.6-27B | SFT, 3 epochs (step 570) | round-2 corpus, 6,110 trajectories |
|
| 27 |
+
| `qwen3.8-27b-grpo/` | Qwen3.8-27B | GRPO, step 200, binary verifier reward | 1,516 environments |
|
| 28 |
|
| 29 |
All three are full-parameter checkpoints in `safetensors`, with the base model's tokenizer and chat template. Training recipe: SFT with global batch 32, peak learning rate 1e-5, cosine decay, 64K sequence length, teacher reasoning kept across turns, assistant turns that received a 4xx tool response excluded from the loss; GRPO from the unmodified base with group size 8, temperature 1.0, 2 epochs over 1,516 prompts, reward = the environment's programmatic verifier (no reward model, no judge).
|
| 30 |
|
| 31 |
+
These are the checkpoints reported in the paper's Table 1.
|
| 32 |
|
| 33 |
+
## Evaluation
|
|
|
|
|
|
|
| 34 |
|
| 35 |
Protocol: AutomationBench 1.0.6, `api` toolset, 50 steps, one rollout per task, reasoning of earlier turns replayed; MCP-Mark 127 tasks; BFCL v4 official weighted average.
|
| 36 |
|
| 37 |
| Checkpoint | AutomationBench | MCP-Mark | BFCL v4 |
|
| 38 |
|---|---|---|---|
|
| 39 |
| Qwen3.5-27B base | 3.2 | 44.9 | 67.6 |
|
| 40 |
+
| `qwen3.5-27b-sft` | 23.2 | 60.0 | 67.6 |
|
| 41 |
| Qwen3.6-27B base | 16.0 | 42.5 | 63.0 |
|
| 42 |
+
| `qwen3.6-27b-sft` | 32.0 | 68.5 | 72.4 |
|
| 43 |
| Qwen3.8-27B base | 37.6 | 73.2 | 71.0 |
|
| 44 |
+
| `qwen3.8-27b-grpo` | 40.3 | 77.6 | 72.0 |
|
| 45 |
|
| 46 |
+
Numbers are the paper's Table 1 (AutomationBench: mean of one to four evaluations of 600 tasks; MCP-Mark and BFCL v4: mean of four evaluations).
|
| 47 |
|
| 48 |
## Usage
|
| 49 |
|