|
Download README.md from DCTR/ours-BF16: direct link, hf CLI and curl.
- Browser
- Download file 4.31 kB
-
https://huggingface.co/DCTR/ours-BF16/resolve/main/README.md
- Command line
-
hf download hf://DCTR/ours-BF16/README.md
-
curl -L -o README.md https://huggingface.co/DCTR/ours-BF16/resolve/main/README.md
4.31 kB
| license: apache-2.0 | |
| base_model: | |
| - mit-han-lab/Qwen3.8-27B-PEAR | |
| pipeline_tag: image-text-to-text | |
| tags: | |
| - robotics | |
| - embodied-reasoning | |
| - PEAR | |
| - Qwen3.8 | |
| - GRPO | |
| # Model Overview | |
| ## Description: | |
| **ours-BF16** is a post-trained version of [mit-han-lab/Qwen3.8-27B-PEAR](https://huggingface.co/mit-han-lab/Qwen3.8-27B-PEAR), MIT Han Lab's Qwen3.8-27B reasoning model that controls robots through text. We continued PEAR's GRPO training with a length reward so that the model thinks shorter on tasks it already solves, while keeping plain GRPO on tasks it does not solve yet. The LoRA adapter (checkpoint "adapt76") is merged into the BF16 weights. | |
| Quantized version: [DCTR/ours-NVFP4](https://huggingface.co/DCTR/ours-NVFP4). Speculative-decoding draft: [DCTR/ours-draft-DFlash](https://huggingface.co/DCTR/ours-draft-DFlash). | |
| This is a research checkpoint. | |
| ### License/Terms of Use: | |
| [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0), the license of the base model. | |
| ## Model Architecture: | |
| **Architecture Type:** Transformer (hybrid linear / full attention) <br> | |
| **Network Architecture:** Qwen3.8-27B (`Qwen3_5ForConditionalGeneration`) <br> | |
| **Number of Model Parameters:** 27B <br> | |
| **Precision:** BF16 <br> | |
| ## Input: | |
| **Input Type(s):** Text, Image <br> | |
| **Other Properties Related to Input:** Context length up to 262K <br> | |
| ## Output: | |
| **Output Type(s):** Text (reasoning and robot actions in PEAR's format) <br> | |
| ## Training | |
| - **Start:** mit-han-lab/Qwen3.8-27B-PEAR (final release). | |
| - **Algorithm:** GRPO, 8 rollouts per group, 12 groups per step, temperature 1.0; LoRA r 64 / alpha 128, learning rate 2e-5; 76 steps. | |
| - **Reward:** a failure gets 0. A success gets | |
| `r = 1 - lambda(p) * (1 - s)`, with `s = max(f, L_min / L)`: | |
| - `L` = generated tokens + 900 per model turn (2,500 on RoboDojo); `L_min` = shortest success in the group; floor `f` = 0.6 (0.75 on RoboDojo). | |
| - `lambda(p)` depends on the group's success rate `p`: 0 at `p <= 50%` (plain GRPO), rising to 1 at `p = 100%`. | |
| - Steps 1-44 applied the length term to every success; steps 45-76 used the success-rate gate above. | |
| - **Data:** 1,024 LIBERO initial states and 256 RoboDojo layouts, disjoint from the evaluation episodes. Training budgets 64K (LIBERO) / 96K (RoboDojo) tokens per episode. | |
| - **Prompt:** training and evaluation add a small picture card per scene object to the first prompt (`PEAR_ASSET_HINTS=cards`). This is our local addition to PEAR and is not in upstream PEAR. | |
| ## Evaluation | |
| Success rate (%) at a 64K-token budget per episode, PEAR's evaluation sets, temperature 1.0, top_p 0.95: | |
| | Benchmark | Qwen3.8-27B-PEAR | ours-BF16 | Difference | | |
| |---|---|---|---| | |
| | LIBERO (2,000) | 68.3 | **73.1** | +4.8 [+2.3, +7.3] | | |
| | LIBERO-Pro (1,600) | 57.9 | **62.8** | +4.9 [+2.0, +7.8] | | |
| | RoboDojo (328) | 52.1 | **66.2** | +14.0 [+7.2, +20.8] | | |
| | RoboLab (120) | 20.0 | **27.9** | +7.9 [-1.2, +17.0] | | |
| Mean generated tokens per episode at 64K: | |
| | Benchmark | Qwen3.8-27B-PEAR | ours-BF16 | Reduction | | |
| |---|---|---|---| | |
| | LIBERO | 25.9K | 17.3K | -33% | | |
| | LIBERO-Pro | 30.3K | 20.9K | -31% | | |
| | RoboDojo | 38.7K | 25.0K | -35% | | |
| | RoboLab | 49.2K | 38.9K | -21% | | |
| At 256K the two models have the same success rate (LIBERO 72.5 vs 74.5, LIBERO-Pro 63.4 vs 63.7) and ours uses about half the tokens (LIBERO 48.5K vs 23.0K). | |
| > **Notes:** 64K numbers are obtained by truncating 256K episodes (PEAR's model never sees its budget). The base model uses PEAR's own prompt; ours uses the cards prompt. Brackets are 95% intervals. RoboLab has only 120 episodes. | |
| ## Usage | |
| Serve with [SGLang](https://github.com/sgl-project/sglang), optionally with the DFlash draft: | |
| ```sh | |
| python -m sglang.launch_server \ | |
| --model-path DCTR/ours-BF16 \ | |
| --tp-size 2 \ | |
| --context-length 262144 \ | |
| --attention-backend fa3 \ | |
| --mamba-ssm-dtype float32 \ | |
| --speculative-algorithm DFLASH \ | |
| --speculative-draft-model-path DCTR/ours-draft-DFlash \ | |
| --speculative-num-draft-tokens 8 \ | |
| --speculative-draft-attention-backend fa3 | |
| ``` | |
| Run robot tasks with the [PEAR](https://github.com/mit-han-lab/pear) environments and agent loop. | |
| ## Model Limitations: | |
| Trained and evaluated in simulation only (LIBERO, RoboDojo, evaluated also on LIBERO-Pro and RoboLab). Real-robot behaviour is untested. The base model's limitations apply. | |