Robotics
Transformers
Safetensors
dm05
text-generation
robot-control
vision-language-action
vla
dm0.5
robodojo
simulation
memory
opendm
Instructions to use Dexmal/DM05-MEM-Robodojo-Sim with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dexmal/DM05-MEM-Robodojo-Sim with Transformers:
# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("Dexmal/DM05-MEM-Robodojo-Sim", device_map="auto") - Notebooks
- Google Colab
- Kaggle
initial commit
Browse files- .gitattributes +1 -0
- README.md +158 -0
- chat_template.jinja +47 -0
- config.json +261 -0
- generation_config.json +11 -0
- model.safetensors +3 -0
- norm_stats.json +136 -0
- processor_config.json +29 -0
- tokenizer.json +3 -0
- tokenizer_config.json +24 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,161 @@
|
|
| 1 |
---
|
| 2 |
license: gemma
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: gemma
|
| 3 |
+
library_name: transformers
|
| 4 |
+
base_model:
|
| 5 |
+
- Dexmal/DM05
|
| 6 |
+
tags:
|
| 7 |
+
- robotics
|
| 8 |
+
- robot-control
|
| 9 |
+
- vision-language-action
|
| 10 |
+
- vla
|
| 11 |
+
- dm05
|
| 12 |
+
- dm0.5
|
| 13 |
+
- robodojo
|
| 14 |
+
- simulation
|
| 15 |
+
- memory
|
| 16 |
+
- opendm
|
| 17 |
---
|
| 18 |
+
|
| 19 |
+
# DM05-MEM-Robodojo-Sim
|
| 20 |
+
|
| 21 |
+

|
| 22 |
+
|
| 23 |
+
<p align="center">
|
| 24 |
+
<a href="https://www.dexmal.com/blog/dm0.5/index_en.html"><img src="https://img.shields.io/badge/%F0%9F%93%96-Tech_Blog-blue" alt="Tech Blog"></a>
|
| 25 |
+
<a href="https://github.com/dexmal/opendm"><img src="https://img.shields.io/badge/GitHub-OpenDM-181717?logo=github" alt="GitHub"></a>
|
| 26 |
+
<a href="https://robodojo-benchmark.com/leaderboard"><img src="https://img.shields.io/badge/Benchmark-RoboDojo-orange" alt="RoboDojo Leaderboard"></a>
|
| 27 |
+
<a href="https://maas.dexmal.com/"><img src="https://img.shields.io/badge/MaaS-Online-brightgreen.svg" alt="MaaS"></a>
|
| 28 |
+
</p>
|
| 29 |
+
|
| 30 |
+
## Introduction
|
| 31 |
+
|
| 32 |
+
DM05-MEM-Robodojo-Sim is the RoboDojo simulation fine-tuned generalist checkpoint of DM0.5, Dexmal's open-world Vision-Language-Action foundation model for embodied intelligence. DM0.5 uses a Gemma 3 4B vision-language backbone with a 680M Action Expert to generate continuous robot actions, and is designed for natural-language manipulation, zero-shot generalization, efficient downstream fine-tuning, long-horizon historical context, robust policy behavior, and transfer across robot embodiments.
|
| 33 |
+
|
| 34 |
+
This memory-enabled checkpoint targets the ARX X5 bimanual embodiment used by RoboDojo-Sim. It consumes current head, left-wrist, and right-wrist RGB views together with up to 20 head-camera history frames sampled at 1 FPS. At the beginning of an episode, unavailable history slots are left-padded until enough observations have been collected. The model generates 14-dimensional absolute joint-position action chunks of length 50, and the RoboDojo evaluation adapter executes the first 25 actions from each predicted chunk.
|
| 35 |
+
|
| 36 |
+
### RoboDojo-Sim Results
|
| 37 |
+
|
| 38 |
+
The following results are a snapshot of the official RoboDojo leaderboard on August 24, 2026.
|
| 39 |
+
|
| 40 |
+
| Metric | Gen-Std | Gen-Rand | Precision | Long-Horizon | Memory | Open | Average |
|
| 41 |
+
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
|
| 42 |
+
| Score | 23.49 | 8.06 | 24.82 | 33.70 | 47.74 | 2.43 | 24.90 |
|
| 43 |
+
| Success Rate (%) | 18.00 | 4.00 | 16.75 | 19.50 | 47.44 | 2.08 | 19.34 |
|
| 44 |
+
|
| 45 |
+
Generalization is reported separately for the standard (`Gen-Std`) and randomized (`Gen-Rand`) settings. See the [official RoboDojo leaderboard](https://robodojo-benchmark.com/leaderboard) for detailed per-task results, rollout videos, metric definitions, and the latest rankings.
|
| 46 |
+
|
| 47 |
+
## Quick Start
|
| 48 |
+
|
| 49 |
+
We recommend using Docker to set up the runtime environment first, which helps avoid version mismatches across CUDA, PyTorch, flash-attn, and other dependencies on the host machine.
|
| 50 |
+
|
| 51 |
+
### Requirements
|
| 52 |
+
|
| 53 |
+
```text
|
| 54 |
+
System requirements:
|
| 55 |
+
Ubuntu 20.04 / 22.04
|
| 56 |
+
NVIDIA GPU
|
| 57 |
+
NVIDIA Driver
|
| 58 |
+
Docker
|
| 59 |
+
NVIDIA Container Toolkit
|
| 60 |
+
Conda (optional, only required for local pip installation)
|
| 61 |
+
|
| 62 |
+
Recommended GPUs:
|
| 63 |
+
A100, H100, H20
|
| 64 |
+
1 GPU is sufficient for deployment inference.
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
### Download the Checkpoint
|
| 68 |
+
|
| 69 |
+
```bash
|
| 70 |
+
pip install -U "huggingface_hub[cli]"
|
| 71 |
+
|
| 72 |
+
hf download Dexmal/DM05-MEM-Robodojo-Sim \
|
| 73 |
+
--local-dir ./checkpoints/DM05-MEM-Robodojo-Sim
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
The checkpoint directory must include its matching `norm_stats.json`.
|
| 77 |
+
|
| 78 |
+
### Docker Installation
|
| 79 |
+
|
| 80 |
+
```bash
|
| 81 |
+
git clone https://github.com/dexmal/opendm.git
|
| 82 |
+
cd opendm
|
| 83 |
+
|
| 84 |
+
docker run -it --rm --gpus all --network host \
|
| 85 |
+
--name opendm \
|
| 86 |
+
--shm-size=16g \
|
| 87 |
+
-v "$PWD":/app/opendm \
|
| 88 |
+
-w /app/opendm \
|
| 89 |
+
dexmal/opendm:latest /bin/bash
|
| 90 |
+
|
| 91 |
+
# Run from the OpenDM repository root inside the container.
|
| 92 |
+
conda activate opendm
|
| 93 |
+
pip install -e .
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
### Local Installation
|
| 97 |
+
|
| 98 |
+
```bash
|
| 99 |
+
conda create -n opendm python=3.10 -y
|
| 100 |
+
conda activate opendm
|
| 101 |
+
|
| 102 |
+
pip install torch torchvision \
|
| 103 |
+
--index-url https://download.pytorch.org/whl/cu128
|
| 104 |
+
|
| 105 |
+
pip install ninja packaging
|
| 106 |
+
MAX_JOBS=2 pip install flash-attn --no-build-isolation
|
| 107 |
+
|
| 108 |
+
# Enter the OpenDM repository root.
|
| 109 |
+
cd opendm
|
| 110 |
+
pip install -e .
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
## RoboDojo-Sim Testing
|
| 114 |
+
|
| 115 |
+
Use RoboDojo's official evaluation workflow to test this checkpoint. RoboDojo runs the simulation benchmark client, while policy integration and serving are managed through XPolicyLab.
|
| 116 |
+
|
| 117 |
+
Follow these official guides in order:
|
| 118 |
+
|
| 119 |
+
1. [Install RoboDojo and download its assets and data](https://robodojo-benchmark.com/doc/usage/install-and-download/).
|
| 120 |
+
2. [Set up or select the model integration in XPolicyLab](https://robodojo-benchmark.com/doc/usage/xpolicylab/).
|
| 121 |
+
3. [Run the RoboDojo Quick Evaluation workflow](https://robodojo-benchmark.com/doc/usage/quick-evaluation/).
|
| 122 |
+
|
| 123 |
+
Use the released checkpoint together with its bundled `norm_stats.json`. Keep the official camera order and absolute joint-position action mode unchanged, provide up to 20 head-camera history frames sampled at 1 FPS with left-padding during episode warm-up, predict 50-step action chunks, and execute the first 25 actions from each chunk.
|
| 124 |
+
|
| 125 |
+
For the model-specific XPolicyLab integration, see [XPolicyLab PR #101](https://github.com/XPolicyLab/XPolicyLab/pull/101). If the PR has already been merged, use the official XPolicyLab code from the `main` branch directly; otherwise, use the integration code provided by the PR.
|
| 126 |
+
|
| 127 |
+
For benchmark rules, multi-seed reporting, and verified leaderboard publication requirements, see the [official evaluation protocol](https://robodojo-benchmark.com/leaderboard/protocol). Detailed results should be referenced directly from the [official leaderboard](https://robodojo-benchmark.com/leaderboard).
|
| 128 |
+
|
| 129 |
+
## Intended Use and Limitations
|
| 130 |
+
|
| 131 |
+
This checkpoint is intended for research evaluation on RoboDojo-Sim with the matching ARX X5 observation/action convention, normalization statistics, camera order, action horizon, and history-input policy. Using a different embodiment, state/action ordering, camera layout, action mode, or history sampling strategy requires an adapted configuration and may substantially reduce performance.
|
| 132 |
+
|
| 133 |
+
RoboDojo is an intentionally challenging benchmark. The aggregate results above do not imply reliable success on every task, and performance in simulation does not guarantee safe or successful real-world deployment.
|
| 134 |
+
|
| 135 |
+
## Community and Support
|
| 136 |
+
|
| 137 |
+
- Learn more about Dexmal products and model updates on the [Dexmal website](https://www.dexmal.com/).
|
| 138 |
+
- If you encounter OpenDM issues, please report them through [GitHub Issues](https://github.com/dexmal/opendm/issues).
|
| 139 |
+
- For RoboDojo setup and evaluation questions, see the [official documentation](https://robodojo-benchmark.com/doc/) and [community page](https://robodojo-benchmark.com/community).
|
| 140 |
+
- For further discussion with Dexmal, scan the [WeChat QR code](https://raw.githubusercontent.com/dexmal/opendm/main/docs/image/wechat.jpeg) to contact us.
|
| 141 |
+
|
| 142 |
+
We will continue to release more model weights, technical documentation, and examples. If this project is helpful to you, please consider giving us a star on GitHub [](https://github.com/dexmal/opendm). Your support helps us move forward.
|
| 143 |
+
|
| 144 |
+
## Citation
|
| 145 |
+
|
| 146 |
+
```bibtex
|
| 147 |
+
@misc{dm05,
|
| 148 |
+
title = {{DM0.5}: An Open-World Foundation Model for General-Purpose Embodied Intelligence},
|
| 149 |
+
author = {{Dexmal Team}},
|
| 150 |
+
month = {July},
|
| 151 |
+
year = {2026},
|
| 152 |
+
url = {https://www.dexmal.com/blog/dm0.5/index_en.html}
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
@article{chen2026robodojo,
|
| 156 |
+
title = {{RoboDojo}: A Unified Sim-and-Real Benchmark for Comprehensive Evaluation of Generalist Robot Manipulation Policies},
|
| 157 |
+
author = {Chen, Tianxing and Chen, Yue and Li, Zixuan and Tang, Junyuan and Su, Kailun and Wan, Weijie and Chen, Baijun and Lu, Haoran and Yan, Haowen and Su, Honghao and others},
|
| 158 |
+
journal = {arXiv preprint arXiv:2607.04434},
|
| 159 |
+
year = {2026}
|
| 160 |
+
}
|
| 161 |
+
```
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{{ bos_token }}
|
| 2 |
+
{%- if messages[0]['role'] == 'system' -%}
|
| 3 |
+
{%- if messages[0]['content'] is string -%}
|
| 4 |
+
{%- set first_user_prefix = messages[0]['content'] + '
|
| 5 |
+
|
| 6 |
+
' -%}
|
| 7 |
+
{%- else -%}
|
| 8 |
+
{%- set first_user_prefix = messages[0]['content'][0]['text'] + '
|
| 9 |
+
|
| 10 |
+
' -%}
|
| 11 |
+
{%- endif -%}
|
| 12 |
+
{%- set loop_messages = messages[1:] -%}
|
| 13 |
+
{%- else -%}
|
| 14 |
+
{%- set first_user_prefix = "" -%}
|
| 15 |
+
{%- set loop_messages = messages -%}
|
| 16 |
+
{%- endif -%}
|
| 17 |
+
{%- for message in loop_messages -%}
|
| 18 |
+
{%- if (message['role'] == 'user') != (loop.index0 % 2 == 0) -%}
|
| 19 |
+
{{ raise_exception("Conversation roles must alternate user/assistant/user/assistant/...") }}
|
| 20 |
+
{%- endif -%}
|
| 21 |
+
{%- if (message['role'] == 'assistant') -%}
|
| 22 |
+
{%- set role = "model" -%}
|
| 23 |
+
{%- else -%}
|
| 24 |
+
{%- set role = message['role'] -%}
|
| 25 |
+
{%- endif -%}
|
| 26 |
+
{{ '<start_of_turn>' + role + '
|
| 27 |
+
' + (first_user_prefix if loop.first else "") }}
|
| 28 |
+
{%- if message['content'] is string -%}
|
| 29 |
+
{{ message['content'] | trim }}
|
| 30 |
+
{%- elif message['content'] is iterable -%}
|
| 31 |
+
{%- for item in message['content'] -%}
|
| 32 |
+
{%- if item['type'] == 'image' -%}
|
| 33 |
+
{{ '<start_of_image>' }}
|
| 34 |
+
{%- elif item['type'] == 'text' -%}
|
| 35 |
+
{{ item['text'] | trim }}
|
| 36 |
+
{%- endif -%}
|
| 37 |
+
{%- endfor -%}
|
| 38 |
+
{%- else -%}
|
| 39 |
+
{{ raise_exception("Invalid content type") }}
|
| 40 |
+
{%- endif -%}
|
| 41 |
+
{{ '<end_of_turn>
|
| 42 |
+
' }}
|
| 43 |
+
{%- endfor -%}
|
| 44 |
+
{%- if add_generation_prompt -%}
|
| 45 |
+
{{'<start_of_turn>model
|
| 46 |
+
'}}
|
| 47 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"action_config": {
|
| 3 |
+
"_name_or_path": "",
|
| 4 |
+
"_sliding_window_pattern": 6,
|
| 5 |
+
"architectures": null,
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"attn_logit_softcapping": null,
|
| 9 |
+
"bos_token_id": 2,
|
| 10 |
+
"chunk_size_feed_forward": 0,
|
| 11 |
+
"dtype": null,
|
| 12 |
+
"eos_token_id": 1,
|
| 13 |
+
"final_logit_softcapping": null,
|
| 14 |
+
"head_dim": 256,
|
| 15 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 16 |
+
"hidden_size": 1024,
|
| 17 |
+
"id2label": {
|
| 18 |
+
"0": "LABEL_0",
|
| 19 |
+
"1": "LABEL_1"
|
| 20 |
+
},
|
| 21 |
+
"initializer_range": 0.02,
|
| 22 |
+
"intermediate_size": 4096,
|
| 23 |
+
"is_encoder_decoder": false,
|
| 24 |
+
"label2id": {
|
| 25 |
+
"LABEL_0": 0,
|
| 26 |
+
"LABEL_1": 1
|
| 27 |
+
},
|
| 28 |
+
"layer_types": [
|
| 29 |
+
"sliding_attention",
|
| 30 |
+
"sliding_attention",
|
| 31 |
+
"sliding_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"sliding_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"sliding_attention",
|
| 36 |
+
"sliding_attention",
|
| 37 |
+
"sliding_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"sliding_attention",
|
| 40 |
+
"full_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"sliding_attention",
|
| 43 |
+
"sliding_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"sliding_attention",
|
| 46 |
+
"full_attention",
|
| 47 |
+
"sliding_attention",
|
| 48 |
+
"sliding_attention",
|
| 49 |
+
"sliding_attention",
|
| 50 |
+
"sliding_attention",
|
| 51 |
+
"sliding_attention",
|
| 52 |
+
"full_attention",
|
| 53 |
+
"sliding_attention",
|
| 54 |
+
"sliding_attention",
|
| 55 |
+
"sliding_attention",
|
| 56 |
+
"sliding_attention",
|
| 57 |
+
"sliding_attention",
|
| 58 |
+
"full_attention",
|
| 59 |
+
"sliding_attention",
|
| 60 |
+
"sliding_attention",
|
| 61 |
+
"sliding_attention",
|
| 62 |
+
"sliding_attention"
|
| 63 |
+
],
|
| 64 |
+
"max_position_embeddings": 131072,
|
| 65 |
+
"model_type": "gemma3_text",
|
| 66 |
+
"num_attention_heads": 8,
|
| 67 |
+
"num_hidden_layers": 34,
|
| 68 |
+
"num_key_value_heads": 4,
|
| 69 |
+
"output_attentions": false,
|
| 70 |
+
"output_hidden_states": false,
|
| 71 |
+
"pad_token_id": 0,
|
| 72 |
+
"problem_type": null,
|
| 73 |
+
"query_pre_attn_scalar": 256,
|
| 74 |
+
"return_dict": true,
|
| 75 |
+
"rms_norm_eps": 1e-06,
|
| 76 |
+
"rope_parameters": {
|
| 77 |
+
"full_attention": {
|
| 78 |
+
"factor": 8.0,
|
| 79 |
+
"rope_theta": 1000000.0,
|
| 80 |
+
"rope_type": "linear"
|
| 81 |
+
},
|
| 82 |
+
"sliding_attention": {
|
| 83 |
+
"rope_theta": 10000.0,
|
| 84 |
+
"rope_type": "default"
|
| 85 |
+
}
|
| 86 |
+
},
|
| 87 |
+
"sliding_window": 4096,
|
| 88 |
+
"tie_word_embeddings": true,
|
| 89 |
+
"use_bidirectional_attention": false,
|
| 90 |
+
"use_cache": true,
|
| 91 |
+
"vocab_size": 262208
|
| 92 |
+
},
|
| 93 |
+
"action_dim": 32,
|
| 94 |
+
"architectures": [
|
| 95 |
+
"DM05ForConditionalGeneration"
|
| 96 |
+
],
|
| 97 |
+
"bos_token_id": 2,
|
| 98 |
+
"chunk_size": 50,
|
| 99 |
+
"dtype": "float32",
|
| 100 |
+
"eos_token_id": 1,
|
| 101 |
+
"model_type": "dm05",
|
| 102 |
+
"pad_token_id": 0,
|
| 103 |
+
"tie_word_embeddings": true,
|
| 104 |
+
"transformers_version": "5.3.0",
|
| 105 |
+
"use_cache": false,
|
| 106 |
+
"vlm_config": {
|
| 107 |
+
"_name_or_path": "",
|
| 108 |
+
"architectures": [
|
| 109 |
+
"Gemma3ForConditionalGeneration"
|
| 110 |
+
],
|
| 111 |
+
"boi_token_index": 255999,
|
| 112 |
+
"chunk_size_feed_forward": 0,
|
| 113 |
+
"dtype": "bfloat16",
|
| 114 |
+
"eoi_token_index": 256000,
|
| 115 |
+
"eos_token_id": [
|
| 116 |
+
1,
|
| 117 |
+
106
|
| 118 |
+
],
|
| 119 |
+
"id2label": {
|
| 120 |
+
"0": "LABEL_0",
|
| 121 |
+
"1": "LABEL_1"
|
| 122 |
+
},
|
| 123 |
+
"image_token_index": 262144,
|
| 124 |
+
"initializer_range": 0.02,
|
| 125 |
+
"is_encoder_decoder": false,
|
| 126 |
+
"label2id": {
|
| 127 |
+
"LABEL_0": 0,
|
| 128 |
+
"LABEL_1": 1
|
| 129 |
+
},
|
| 130 |
+
"mm_tokens_per_image": 256,
|
| 131 |
+
"model_type": "gemma3",
|
| 132 |
+
"output_attentions": false,
|
| 133 |
+
"output_hidden_states": false,
|
| 134 |
+
"problem_type": null,
|
| 135 |
+
"return_dict": true,
|
| 136 |
+
"text_config": {
|
| 137 |
+
"_name_or_path": "",
|
| 138 |
+
"_sliding_window_pattern": 6,
|
| 139 |
+
"architectures": null,
|
| 140 |
+
"attention_bias": false,
|
| 141 |
+
"attention_dropout": 0.0,
|
| 142 |
+
"attn_logit_softcapping": null,
|
| 143 |
+
"bos_token_id": 2,
|
| 144 |
+
"chunk_size_feed_forward": 0,
|
| 145 |
+
"dtype": "bfloat16",
|
| 146 |
+
"eos_token_id": 1,
|
| 147 |
+
"final_logit_softcapping": null,
|
| 148 |
+
"head_dim": 256,
|
| 149 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 150 |
+
"hidden_size": 2560,
|
| 151 |
+
"id2label": {
|
| 152 |
+
"0": "LABEL_0",
|
| 153 |
+
"1": "LABEL_1"
|
| 154 |
+
},
|
| 155 |
+
"initializer_range": 0.02,
|
| 156 |
+
"intermediate_size": 10240,
|
| 157 |
+
"is_encoder_decoder": false,
|
| 158 |
+
"label2id": {
|
| 159 |
+
"LABEL_0": 0,
|
| 160 |
+
"LABEL_1": 1
|
| 161 |
+
},
|
| 162 |
+
"layer_types": [
|
| 163 |
+
"sliding_attention",
|
| 164 |
+
"sliding_attention",
|
| 165 |
+
"sliding_attention",
|
| 166 |
+
"sliding_attention",
|
| 167 |
+
"sliding_attention",
|
| 168 |
+
"full_attention",
|
| 169 |
+
"sliding_attention",
|
| 170 |
+
"sliding_attention",
|
| 171 |
+
"sliding_attention",
|
| 172 |
+
"sliding_attention",
|
| 173 |
+
"sliding_attention",
|
| 174 |
+
"full_attention",
|
| 175 |
+
"sliding_attention",
|
| 176 |
+
"sliding_attention",
|
| 177 |
+
"sliding_attention",
|
| 178 |
+
"sliding_attention",
|
| 179 |
+
"sliding_attention",
|
| 180 |
+
"full_attention",
|
| 181 |
+
"sliding_attention",
|
| 182 |
+
"sliding_attention",
|
| 183 |
+
"sliding_attention",
|
| 184 |
+
"sliding_attention",
|
| 185 |
+
"sliding_attention",
|
| 186 |
+
"full_attention",
|
| 187 |
+
"sliding_attention",
|
| 188 |
+
"sliding_attention",
|
| 189 |
+
"sliding_attention",
|
| 190 |
+
"sliding_attention",
|
| 191 |
+
"sliding_attention",
|
| 192 |
+
"full_attention",
|
| 193 |
+
"sliding_attention",
|
| 194 |
+
"sliding_attention",
|
| 195 |
+
"sliding_attention",
|
| 196 |
+
"sliding_attention"
|
| 197 |
+
],
|
| 198 |
+
"max_position_embeddings": 131072,
|
| 199 |
+
"model_type": "gemma3_text",
|
| 200 |
+
"num_attention_heads": 8,
|
| 201 |
+
"num_hidden_layers": 34,
|
| 202 |
+
"num_key_value_heads": 4,
|
| 203 |
+
"output_attentions": false,
|
| 204 |
+
"output_hidden_states": false,
|
| 205 |
+
"pad_token_id": 0,
|
| 206 |
+
"problem_type": null,
|
| 207 |
+
"query_pre_attn_scalar": 256,
|
| 208 |
+
"return_dict": true,
|
| 209 |
+
"rms_norm_eps": 1e-06,
|
| 210 |
+
"rope_parameters": {
|
| 211 |
+
"full_attention": {
|
| 212 |
+
"factor": 8.0,
|
| 213 |
+
"rope_theta": 1000000.0,
|
| 214 |
+
"rope_type": "linear"
|
| 215 |
+
},
|
| 216 |
+
"sliding_attention": {
|
| 217 |
+
"rope_theta": 10000.0,
|
| 218 |
+
"rope_type": "default"
|
| 219 |
+
}
|
| 220 |
+
},
|
| 221 |
+
"sliding_window": 4096,
|
| 222 |
+
"tie_word_embeddings": true,
|
| 223 |
+
"use_bidirectional_attention": false,
|
| 224 |
+
"use_cache": true,
|
| 225 |
+
"vocab_size": 262208
|
| 226 |
+
},
|
| 227 |
+
"tie_word_embeddings": true,
|
| 228 |
+
"use_cache": false,
|
| 229 |
+
"vision_config": {
|
| 230 |
+
"_name_or_path": "",
|
| 231 |
+
"architectures": null,
|
| 232 |
+
"attention_dropout": 0.0,
|
| 233 |
+
"chunk_size_feed_forward": 0,
|
| 234 |
+
"dtype": "bfloat16",
|
| 235 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 236 |
+
"hidden_size": 1152,
|
| 237 |
+
"id2label": {
|
| 238 |
+
"0": "LABEL_0",
|
| 239 |
+
"1": "LABEL_1"
|
| 240 |
+
},
|
| 241 |
+
"image_size": 448,
|
| 242 |
+
"intermediate_size": 4304,
|
| 243 |
+
"is_encoder_decoder": false,
|
| 244 |
+
"label2id": {
|
| 245 |
+
"LABEL_0": 0,
|
| 246 |
+
"LABEL_1": 1
|
| 247 |
+
},
|
| 248 |
+
"layer_norm_eps": 1e-06,
|
| 249 |
+
"model_type": "siglip_vision_model",
|
| 250 |
+
"num_attention_heads": 16,
|
| 251 |
+
"num_channels": 3,
|
| 252 |
+
"num_hidden_layers": 27,
|
| 253 |
+
"output_attentions": false,
|
| 254 |
+
"output_hidden_states": false,
|
| 255 |
+
"patch_size": 14,
|
| 256 |
+
"problem_type": null,
|
| 257 |
+
"return_dict": true,
|
| 258 |
+
"vision_use_head": false
|
| 259 |
+
}
|
| 260 |
+
}
|
| 261 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 2,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
1
|
| 6 |
+
],
|
| 7 |
+
"output_attentions": false,
|
| 8 |
+
"output_hidden_states": false,
|
| 9 |
+
"pad_token_id": 0,
|
| 10 |
+
"transformers_version": "5.3.0"
|
| 11 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db5f19ac29bd049ceee542db37263a470c15a6c33a589a446e274c5ac5cbf3ba
|
| 3 |
+
size 23316655136
|
norm_stats.json
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"norm_stats": {
|
| 3 |
+
"action": {
|
| 4 |
+
"q01": [
|
| 5 |
+
-1.0515477853775024,
|
| 6 |
+
-0.00019582325220107721,
|
| 7 |
+
-0.000275185357034205,
|
| 8 |
+
-1.5994959164619447,
|
| 9 |
+
-0.5985351327896119,
|
| 10 |
+
-1.6704550132751466,
|
| 11 |
+
-3.212450869184004e-17,
|
| 12 |
+
-0.46170408163070675,
|
| 13 |
+
-9.994709491728537e-05,
|
| 14 |
+
-0.0003595338851213603,
|
| 15 |
+
-1.6613843360900877,
|
| 16 |
+
-1.2665581749439239,
|
| 17 |
+
-1.853231241607666,
|
| 18 |
+
-3.212450869184004e-17
|
| 19 |
+
],
|
| 20 |
+
"q99": [
|
| 21 |
+
0.5367332942962646,
|
| 22 |
+
2.495384642624855,
|
| 23 |
+
2.4934933600619438,
|
| 24 |
+
1.3306754426479337,
|
| 25 |
+
1.2496659922599793,
|
| 26 |
+
1.7398107671737675,
|
| 27 |
+
0.9998,
|
| 28 |
+
1.0818604693889617,
|
| 29 |
+
2.4177335428893567,
|
| 30 |
+
2.353996460956335,
|
| 31 |
+
1.135059226226807,
|
| 32 |
+
0.5195488495349885,
|
| 33 |
+
1.4993711612701413,
|
| 34 |
+
0.9998
|
| 35 |
+
],
|
| 36 |
+
"mean": [
|
| 37 |
+
-0.1985221654176712,
|
| 38 |
+
0.9079715013504028,
|
| 39 |
+
0.6757031083106995,
|
| 40 |
+
-0.32898271083831787,
|
| 41 |
+
0.06580515950918198,
|
| 42 |
+
0.0013387879589572549,
|
| 43 |
+
0.7721145749092102,
|
| 44 |
+
0.17236194014549255,
|
| 45 |
+
0.8203134536743164,
|
| 46 |
+
0.6191819310188293,
|
| 47 |
+
-0.3604429066181183,
|
| 48 |
+
-0.0635266900062561,
|
| 49 |
+
0.0015465744072571397,
|
| 50 |
+
0.7840675115585327
|
| 51 |
+
],
|
| 52 |
+
"std": [
|
| 53 |
+
0.34116998314857483,
|
| 54 |
+
0.894352376461029,
|
| 55 |
+
0.7339895367622375,
|
| 56 |
+
0.6470863223075867,
|
| 57 |
+
0.29868993163108826,
|
| 58 |
+
0.5827605724334717,
|
| 59 |
+
0.3431955575942993,
|
| 60 |
+
0.3195728361606598,
|
| 61 |
+
0.8766812086105347,
|
| 62 |
+
0.7170135378837585,
|
| 63 |
+
0.6054048538208008,
|
| 64 |
+
0.28483811020851135,
|
| 65 |
+
0.5430217385292053,
|
| 66 |
+
0.3419511616230011
|
| 67 |
+
]
|
| 68 |
+
},
|
| 69 |
+
"state": {
|
| 70 |
+
"q01": [
|
| 71 |
+
-1.0534918258666992,
|
| 72 |
+
-0.0015211447954177615,
|
| 73 |
+
-0.004196205082535737,
|
| 74 |
+
-1.6003682508945465,
|
| 75 |
+
-0.6024927369117737,
|
| 76 |
+
-1.6716857118606567,
|
| 77 |
+
-3.212450869184004e-17,
|
| 78 |
+
-0.45030778880119327,
|
| 79 |
+
-0.00448935736417766,
|
| 80 |
+
-0.0030238371610641634,
|
| 81 |
+
-1.640114754486084,
|
| 82 |
+
-1.2678002521514893,
|
| 83 |
+
-1.7492679929733277,
|
| 84 |
+
-3.212450869184004e-17
|
| 85 |
+
],
|
| 86 |
+
"q99": [
|
| 87 |
+
0.5425654157638551,
|
| 88 |
+
2.4947219818532465,
|
| 89 |
+
2.4950617679521443,
|
| 90 |
+
1.32456910161972,
|
| 91 |
+
1.2496659922599793,
|
| 92 |
+
1.7447335615158082,
|
| 93 |
+
0.9998,
|
| 94 |
+
1.0805942146301266,
|
| 95 |
+
2.4162704061329365,
|
| 96 |
+
2.3468916522204877,
|
| 97 |
+
1.1401234123229984,
|
| 98 |
+
0.5195488495349885,
|
| 99 |
+
1.4901870164871216,
|
| 100 |
+
0.9998
|
| 101 |
+
],
|
| 102 |
+
"mean": [
|
| 103 |
+
-0.2014683485031128,
|
| 104 |
+
0.9308192729949951,
|
| 105 |
+
0.6917645931243896,
|
| 106 |
+
-0.3417535722255707,
|
| 107 |
+
0.06616466492414474,
|
| 108 |
+
0.004166342318058014,
|
| 109 |
+
0.7702585458755493,
|
| 110 |
+
0.17401453852653503,
|
| 111 |
+
0.8261928558349609,
|
| 112 |
+
0.6223200559616089,
|
| 113 |
+
-0.36173784732818604,
|
| 114 |
+
-0.06290490925312042,
|
| 115 |
+
0.004132931120693684,
|
| 116 |
+
0.784990131855011
|
| 117 |
+
],
|
| 118 |
+
"std": [
|
| 119 |
+
0.3436912000179291,
|
| 120 |
+
0.8878186345100403,
|
| 121 |
+
0.7304802536964417,
|
| 122 |
+
0.6499956250190735,
|
| 123 |
+
0.29976922273635864,
|
| 124 |
+
0.585997462272644,
|
| 125 |
+
0.3436921536922455,
|
| 126 |
+
0.32037559151649475,
|
| 127 |
+
0.8737387657165527,
|
| 128 |
+
0.7136965990066528,
|
| 129 |
+
0.6033461689949036,
|
| 130 |
+
0.28427162766456604,
|
| 131 |
+
0.5374496579170227,
|
| 132 |
+
0.34115591645240784
|
| 133 |
+
]
|
| 134 |
+
}
|
| 135 |
+
}
|
| 136 |
+
}
|
processor_config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_processor": {
|
| 3 |
+
"data_format": "channels_first",
|
| 4 |
+
"do_convert_rgb": null,
|
| 5 |
+
"do_normalize": true,
|
| 6 |
+
"do_rescale": true,
|
| 7 |
+
"do_resize": true,
|
| 8 |
+
"image_mean": [
|
| 9 |
+
0.5,
|
| 10 |
+
0.5,
|
| 11 |
+
0.5
|
| 12 |
+
],
|
| 13 |
+
"image_processor_type": "Gemma3ImageProcessorFast",
|
| 14 |
+
"image_seq_length": 256,
|
| 15 |
+
"image_std": [
|
| 16 |
+
0.5,
|
| 17 |
+
0.5,
|
| 18 |
+
0.5
|
| 19 |
+
],
|
| 20 |
+
"resample": 2,
|
| 21 |
+
"rescale_factor": 0.00392156862745098,
|
| 22 |
+
"size": {
|
| 23 |
+
"height": 448,
|
| 24 |
+
"width": 448
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
"image_seq_length": 256,
|
| 28 |
+
"processor_class": "Gemma3Processor"
|
| 29 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726
|
| 3 |
+
size 33384567
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"boi_token": "<start_of_image>",
|
| 4 |
+
"bos_token": "<bos>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eoi_token": "<end_of_image>",
|
| 7 |
+
"eos_token": "<eos>",
|
| 8 |
+
"image_token": "<image_soft_token>",
|
| 9 |
+
"is_local": true,
|
| 10 |
+
"mask_token": "<mask>",
|
| 11 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 12 |
+
"model_specific_special_tokens": {
|
| 13 |
+
"boi_token": "<start_of_image>",
|
| 14 |
+
"eoi_token": "<end_of_image>",
|
| 15 |
+
"image_token": "<image_soft_token>"
|
| 16 |
+
},
|
| 17 |
+
"pad_token": "<pad>",
|
| 18 |
+
"processor_class": "Gemma3Processor",
|
| 19 |
+
"sp_model_kwargs": null,
|
| 20 |
+
"spaces_between_special_tokens": false,
|
| 21 |
+
"tokenizer_class": "GemmaTokenizer",
|
| 22 |
+
"unk_token": "<unk>",
|
| 23 |
+
"use_default_system_prompt": false
|
| 24 |
+
}
|