Robotics
Transformers
Safetensors
dm05
text-generation
robot-control
vision-language-action
vla
dm0.5
robotwin
robotwin2
opendm
Instructions to use Dexmal/DM05-robotwin2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dexmal/DM05-robotwin2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("Dexmal/DM05-robotwin2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Dexmal commited on
initial commit
Browse files- .gitattributes +1 -0
- README.md +247 -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,250 @@
|
|
| 1 |
---
|
| 2 |
license: gemma
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: gemma
|
| 3 |
+
library_name: transformers
|
| 4 |
+
base_model:
|
| 5 |
+
- Dexmal/DM05
|
| 6 |
+
datasets:
|
| 7 |
+
- Dexmal/robotwin2-full
|
| 8 |
+
tags:
|
| 9 |
+
- robotics
|
| 10 |
+
- robot-control
|
| 11 |
+
- vision-language-action
|
| 12 |
+
- vla
|
| 13 |
+
- dm05
|
| 14 |
+
- dm0.5
|
| 15 |
+
- robotwin
|
| 16 |
+
- robotwin2
|
| 17 |
+
- opendm
|
| 18 |
---
|
| 19 |
+
|
| 20 |
+
# DM05-robotwin2
|
| 21 |
+
|
| 22 |
+

|
| 23 |
+
|
| 24 |
+
<p align="center">
|
| 25 |
+
<a href="https://www.dexmal.com/blog/dm0.5/index_en.html"><img src="https://img.shields.io/badge/📖-Tech_Blog-blue" alt="Tech Blog"></a>
|
| 26 |
+
<a href="https://github.com/dexmal/opendm"><img src="https://img.shields.io/badge/GitHub-OpenDM-181717?logo=github" alt="GitHub"></a>
|
| 27 |
+
<a href="https://huggingface.co/datasets/Dexmal/robotwin2-full"><img src="https://img.shields.io/badge/Dataset-RoboTwin_2.0-0EA5E9?logo=huggingface" alt="RoboTwin 2.0 Dataset"></a>
|
| 28 |
+
<a href="https://maas.dexmal.com/"><img src="https://img.shields.io/badge/MaaS-Online-brightgreen.svg" alt="MaaS"></a>
|
| 29 |
+
</p>
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
## News
|
| 33 |
+
|
| 34 |
+
- [2026-07-09] DM0.5 is officially released. Read the [technical blog](https://www.dexmal.com/blog/dm0.5/index_en.html) for more details.
|
| 35 |
+
|
| 36 |
+
## Introduction
|
| 37 |
+
|
| 38 |
+
DM0.5 is Dexmal's next-generation Vision-Language-Action model (VLA) for open-world robot control. It builds on the native embodied modeling approach introduced by DM0, with systematic upgrades for open-ended instructions, long-horizon tasks, dynamic disturbances, and multi-embodiment robot control.
|
| 39 |
+
|
| 40 |
+
OpenDM provides DM0.5 model weights, training and inference scripts, dataset registration examples, and evaluation workflows for researchers and developers to train, fine-tune, evaluate, and deploy the model.
|
| 41 |
+
|
| 42 |
+
### DM05-robotwin2
|
| 43 |
+
|
| 44 |
+
DM05-robotwin2 is the RoboTwin 2.0 fine-tuned generalist checkpoint of DM0.5, Dexmal's
|
| 45 |
+
open-world Vision-Language-Action foundation model for embodied intelligence.
|
| 46 |
+
DM0.5 uses a Gemma3 4B vision-language backbone with a 680M Action Expert to
|
| 47 |
+
generate continuous robot actions, and is designed for natural-language
|
| 48 |
+
manipulation, zero-shot generalization, efficient downstream fine-tuning,
|
| 49 |
+
long-horizon historical context, robust policy behavior, and transfer across
|
| 50 |
+
robot embodiments.
|
| 51 |
+
|
| 52 |
+
This checkpoint controls the ALOHA bimanual embodiment using three RGB camera
|
| 53 |
+
views and generates 14-dimensional joint-position action chunks.
|
| 54 |
+
|
| 55 |
+
#### RoboTwin 2.0 Results
|
| 56 |
+
|
| 57 |
+
| Method | Clean | Randomized | Average |
|
| 58 |
+
| --- | ---: | ---: | ---: |
|
| 59 |
+
| DM0.5 | 93.6 | 93.3 | 93.5 |
|
| 60 |
+
|
| 61 |
+
## Quick Start
|
| 62 |
+
|
| 63 |
+
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.
|
| 64 |
+
|
| 65 |
+
### Requirements
|
| 66 |
+
|
| 67 |
+
```text
|
| 68 |
+
System requirements:
|
| 69 |
+
Ubuntu 20.04 / 22.04
|
| 70 |
+
NVIDIA GPU
|
| 71 |
+
NVIDIA Driver
|
| 72 |
+
Docker
|
| 73 |
+
NVIDIA Container Toolkit
|
| 74 |
+
Conda (optional, only required for local pip installation)
|
| 75 |
+
|
| 76 |
+
Recommended GPUs:
|
| 77 |
+
A100, H100, H20
|
| 78 |
+
32 GPUs are recommended for training, and 1 GPU is sufficient for deployment inference.
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
### Docker Installation
|
| 82 |
+
|
| 83 |
+
```bash
|
| 84 |
+
git clone https://github.com/dexmal/opendm.git
|
| 85 |
+
cd opendm
|
| 86 |
+
|
| 87 |
+
docker run -it --rm --gpus all --network host \
|
| 88 |
+
--name opendm \
|
| 89 |
+
--shm-size=16g \
|
| 90 |
+
-v "$PWD":/app/opendm \
|
| 91 |
+
-w /app/opendm \
|
| 92 |
+
dexmal/opendm:latest /bin/bash
|
| 93 |
+
|
| 94 |
+
# Run from the OpenDM repository root inside the container.
|
| 95 |
+
conda activate opendm
|
| 96 |
+
pip install -e .
|
| 97 |
+
```
|
| 98 |
+
|
| 99 |
+
### Local Installation
|
| 100 |
+
|
| 101 |
+
```bash
|
| 102 |
+
conda create -n opendm python=3.10 -y
|
| 103 |
+
conda activate opendm
|
| 104 |
+
|
| 105 |
+
pip install torch torchvision \
|
| 106 |
+
--index-url https://download.pytorch.org/whl/cu128
|
| 107 |
+
|
| 108 |
+
pip install ninja packaging
|
| 109 |
+
MAX_JOBS=2 pip install flash-attn --no-build-isolation
|
| 110 |
+
|
| 111 |
+
# Enter the OpenDM repository root.
|
| 112 |
+
cd opendm
|
| 113 |
+
pip install -e .
|
| 114 |
+
```
|
| 115 |
+
|
| 116 |
+
## RoboTwin 2.0 Testing
|
| 117 |
+
|
| 118 |
+
Use the RoboTwin 2.0-specific experiment configuration when evaluating this
|
| 119 |
+
checkpoint. The inference service and benchmark client run separately and
|
| 120 |
+
communicate over HTTP. When possible, use one GPU for the inference service and
|
| 121 |
+
another for benchmark evaluation.
|
| 122 |
+
|
| 123 |
+
For the complete data preparation, training, inference, and evaluation
|
| 124 |
+
workflow, see the
|
| 125 |
+
[DM05 RoboTwin 2.0 Training and Evaluation Guide](https://github.com/dexmal/opendm/blob/main/docs/en/dm05_robotwin2.md).
|
| 126 |
+
|
| 127 |
+
### Start the RoboTwin 2.0 Inference Service
|
| 128 |
+
|
| 129 |
+
Run this command from the OpenDM repository root. The checkpoint must contain
|
| 130 |
+
the matching `norm_stats.json`.
|
| 131 |
+
|
| 132 |
+
```bash
|
| 133 |
+
script/dm05_launcher.sh \
|
| 134 |
+
--exp playground/dm05_robotwin2.py \
|
| 135 |
+
--task inference \
|
| 136 |
+
--nproc_per_node 1 \
|
| 137 |
+
--model-config.model-name-or-path ./checkpoints/DM05-robotwin2-bf16 \
|
| 138 |
+
--model-config.chunk-size 50 \
|
| 139 |
+
--inference-config.output-action-dim 14 \
|
| 140 |
+
--inference-config.image-keys images_1 images_2 images_3 \
|
| 141 |
+
--inference-config.port 7891
|
| 142 |
+
```
|
| 143 |
+
|
| 144 |
+
Keep the service running while executing the benchmark.
|
| 145 |
+
|
| 146 |
+
### Prepare the Benchmark Client
|
| 147 |
+
|
| 148 |
+
```bash
|
| 149 |
+
git clone https://github.com/dexmal/dexbotic-benchmark.git
|
| 150 |
+
cd dexbotic-benchmark
|
| 151 |
+
git submodule update --init --recursive RoboTwin
|
| 152 |
+
docker pull dexmal/dexbotic_benchmark
|
| 153 |
+
```
|
| 154 |
+
|
| 155 |
+
RoboTwin 2.0 also requires its assets, object-data texture library, and
|
| 156 |
+
embodiment files. Follow the [RoboTwin installation guide](https://robotwin-platform.github.io/doc/usage/robotwin-install.html#4-download-assets-robotwin-od-texture-library-and-embodiments)
|
| 157 |
+
to download them before starting evaluation.
|
| 158 |
+
|
| 159 |
+
Edit `evaluation/configs/robotwin2/adjust_bottle.yaml` so that `base_url`
|
| 160 |
+
points to the inference service:
|
| 161 |
+
|
| 162 |
+
```yaml
|
| 163 |
+
# Basic experiment configuration (keep unchanged)
|
| 164 |
+
policy_name: dexbotic
|
| 165 |
+
task_name: adjust_bottle
|
| 166 |
+
task_config: demo_clean
|
| 167 |
+
ckpt_setting: dexbotic
|
| 168 |
+
seed: 0
|
| 169 |
+
instruction_type: seen
|
| 170 |
+
|
| 171 |
+
# Add Parameters You Need
|
| 172 |
+
base_url: http://localhost:7891
|
| 173 |
+
output_dir: ./result_test/robotwin2_evaluation
|
| 174 |
+
cameras: "head_camera_rgb,left_camera_rgb,right_camera_rgb"
|
| 175 |
+
action_horizon: 50
|
| 176 |
+
action_mode: absolute
|
| 177 |
+
```
|
| 178 |
+
|
| 179 |
+
Important configuration fields:
|
| 180 |
+
|
| 181 |
+
- `task_name`: one of the 50 RoboTwin 2.0 tasks. Each task is evaluated
|
| 182 |
+
independently.
|
| 183 |
+
- `task_config`: use `demo_clean` for the Clean setting and `demo_randomized`
|
| 184 |
+
for the Randomized setting.
|
| 185 |
+
- `base_url`: address of the running DM0.5 inference service. For a remote
|
| 186 |
+
service, use `http://<SERVER_IP>:7891`.
|
| 187 |
+
- `cameras`: keep the head, left-wrist, and right-wrist camera order so it
|
| 188 |
+
matches `images_1`, `images_2`, and `images_3` on the inference service.
|
| 189 |
+
- `action_horizon`: number of actions executed per model request. It must match
|
| 190 |
+
the model chunk size of 50.
|
| 191 |
+
- `output_dir`: root directory for success-rate files and rollout videos.
|
| 192 |
+
- `action_mode`: `absolute` for absolute joint positions, `relative` for relative joint positions
|
| 193 |
+
|
| 194 |
+
The benchmark evaluates 100 episodes for the selected task and setting. To
|
| 195 |
+
reproduce the aggregate Clean and Randomized scores, evaluate all 50 tasks
|
| 196 |
+
under both settings and average their success rates.
|
| 197 |
+
|
| 198 |
+
### Run the RoboTwin 2.0 Benchmark
|
| 199 |
+
|
| 200 |
+
From the `dexbotic-benchmark` repository root, set `ROBOTWIN_ASSETS` to the
|
| 201 |
+
absolute path of the downloaded assets and run:
|
| 202 |
+
|
| 203 |
+
```bash
|
| 204 |
+
ROBOTWIN_ASSETS=/absolute/path/to/robotwin/assets
|
| 205 |
+
|
| 206 |
+
docker run --rm --gpus all --network host \
|
| 207 |
+
-v "$ROBOTWIN_ASSETS":"$ROBOTWIN_ASSETS" \
|
| 208 |
+
-v "$ROBOTWIN_ASSETS":/app/assets \
|
| 209 |
+
-v "$ROBOTWIN_ASSETS":/app/RoboTwin/assets \
|
| 210 |
+
-v "$PWD/evaluation":/app/evaluation \
|
| 211 |
+
-v "$PWD/scripts":/app/scripts \
|
| 212 |
+
-v "$PWD/result_temp":/app/result_temp \
|
| 213 |
+
-e NVIDIA_DRIVER_CAPABILITIES=compute,utility,graphics \
|
| 214 |
+
dexmal/dexbotic_benchmark \
|
| 215 |
+
bash scripts/env_sh/robotwin2.sh \
|
| 216 |
+
evaluation/configs/robotwin2/adjust_bottle.yaml
|
| 217 |
+
```
|
| 218 |
+
|
| 219 |
+
Evaluation artifacts are written under the configured `output_dir`, grouped by
|
| 220 |
+
task, setting, and timestamp:
|
| 221 |
+
|
| 222 |
+
```text
|
| 223 |
+
<output_dir>/<task_name>/<task_config>/<timestamp>/
|
| 224 |
+
├── _result.txt
|
| 225 |
+
└── *.mp4
|
| 226 |
+
```
|
| 227 |
+
|
| 228 |
+
`_result.txt` contains the success rate for the selected task and setting. When
|
| 229 |
+
video logging is enabled by the RoboTwin task configuration, rollout videos are
|
| 230 |
+
saved in the same timestamp directory.
|
| 231 |
+
|
| 232 |
+
## Community and Support
|
| 233 |
+
|
| 234 |
+
- Learn more about Dexmal products and model updates on the [Dexmal website](https://www.dexmal.com/).
|
| 235 |
+
- If you encounter issues, please report them through [GitHub Issues](https://github.com/dexmal/opendm/issues).
|
| 236 |
+
- For further discussion, scan the [WeChat QR code](https://raw.githubusercontent.com/dexmal/opendm/main/docs/image/wechat.jpeg) to contact us.
|
| 237 |
+
|
| 238 |
+
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.
|
| 239 |
+
|
| 240 |
+
## Citation
|
| 241 |
+
|
| 242 |
+
```bibtex
|
| 243 |
+
@misc{dm05,
|
| 244 |
+
title = {{DM0.5}: An Open-World Foundation Model for General-Purpose Embodied Intelligence},
|
| 245 |
+
author = {{Dexmal Team}},
|
| 246 |
+
month = {July},
|
| 247 |
+
year = {2026},
|
| 248 |
+
url = {https://www.dexmal.com/blog/dm0.5/index_en.html}
|
| 249 |
+
}
|
| 250 |
+
```
|
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 |
+
"architectures": null,
|
| 4 |
+
"attention_bias": false,
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"attn_implementation": "sdpa",
|
| 7 |
+
"attn_logit_softcapping": null,
|
| 8 |
+
"bos_token_id": 2,
|
| 9 |
+
"chunk_size_feed_forward": 0,
|
| 10 |
+
"dtype": null,
|
| 11 |
+
"eos_token_id": 1,
|
| 12 |
+
"final_logit_softcapping": null,
|
| 13 |
+
"head_dim": 256,
|
| 14 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 15 |
+
"hidden_size": 1024,
|
| 16 |
+
"id2label": {
|
| 17 |
+
"0": "LABEL_0",
|
| 18 |
+
"1": "LABEL_1"
|
| 19 |
+
},
|
| 20 |
+
"initializer_range": 0.02,
|
| 21 |
+
"intermediate_size": 4096,
|
| 22 |
+
"is_encoder_decoder": false,
|
| 23 |
+
"label2id": {
|
| 24 |
+
"LABEL_0": 0,
|
| 25 |
+
"LABEL_1": 1
|
| 26 |
+
},
|
| 27 |
+
"layer_types": [
|
| 28 |
+
"sliding_attention",
|
| 29 |
+
"sliding_attention",
|
| 30 |
+
"sliding_attention",
|
| 31 |
+
"sliding_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"sliding_attention",
|
| 35 |
+
"sliding_attention",
|
| 36 |
+
"sliding_attention",
|
| 37 |
+
"sliding_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"sliding_attention",
|
| 43 |
+
"sliding_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"sliding_attention",
|
| 47 |
+
"sliding_attention",
|
| 48 |
+
"sliding_attention",
|
| 49 |
+
"sliding_attention",
|
| 50 |
+
"sliding_attention",
|
| 51 |
+
"full_attention",
|
| 52 |
+
"sliding_attention",
|
| 53 |
+
"sliding_attention",
|
| 54 |
+
"sliding_attention",
|
| 55 |
+
"sliding_attention",
|
| 56 |
+
"sliding_attention",
|
| 57 |
+
"full_attention",
|
| 58 |
+
"sliding_attention",
|
| 59 |
+
"sliding_attention",
|
| 60 |
+
"sliding_attention",
|
| 61 |
+
"sliding_attention"
|
| 62 |
+
],
|
| 63 |
+
"max_position_embeddings": 131072,
|
| 64 |
+
"model_type": "gemma3_text",
|
| 65 |
+
"num_attention_heads": 8,
|
| 66 |
+
"num_hidden_layers": 34,
|
| 67 |
+
"num_key_value_heads": 4,
|
| 68 |
+
"output_attentions": false,
|
| 69 |
+
"output_hidden_states": false,
|
| 70 |
+
"pad_token_id": 0,
|
| 71 |
+
"problem_type": null,
|
| 72 |
+
"query_pre_attn_scalar": 256,
|
| 73 |
+
"return_dict": true,
|
| 74 |
+
"rms_norm_eps": 1e-06,
|
| 75 |
+
"rope_parameters": {
|
| 76 |
+
"full_attention": {
|
| 77 |
+
"factor": 8.0,
|
| 78 |
+
"rope_theta": 1000000.0,
|
| 79 |
+
"rope_type": "linear"
|
| 80 |
+
},
|
| 81 |
+
"sliding_attention": {
|
| 82 |
+
"rope_theta": 10000.0,
|
| 83 |
+
"rope_type": "default"
|
| 84 |
+
}
|
| 85 |
+
},
|
| 86 |
+
"sliding_window": 4096,
|
| 87 |
+
"tie_word_embeddings": true,
|
| 88 |
+
"use_bidirectional_attention": false,
|
| 89 |
+
"use_cache": true,
|
| 90 |
+
"vocab_size": 262208
|
| 91 |
+
},
|
| 92 |
+
"action_dim": 32,
|
| 93 |
+
"architectures": [
|
| 94 |
+
"DM05ForConditionalGeneration"
|
| 95 |
+
],
|
| 96 |
+
"bos_token_id": 2,
|
| 97 |
+
"chunk_size": 50,
|
| 98 |
+
"dtype": "bfloat16",
|
| 99 |
+
"eos_token_id": 1,
|
| 100 |
+
"model_type": "dm05",
|
| 101 |
+
"pad_token_id": 0,
|
| 102 |
+
"tie_word_embeddings": true,
|
| 103 |
+
"transformers_version": "5.3.0",
|
| 104 |
+
"use_cache": false,
|
| 105 |
+
"vlm_config": {
|
| 106 |
+
"architectures": [
|
| 107 |
+
"Gemma3ForConditionalGeneration"
|
| 108 |
+
],
|
| 109 |
+
"attn_implementation": {
|
| 110 |
+
"": "flex_attention",
|
| 111 |
+
"text_config": "flex_attention",
|
| 112 |
+
"vision_config": "flash_attention_2"
|
| 113 |
+
},
|
| 114 |
+
"boi_token_index": 255999,
|
| 115 |
+
"chunk_size_feed_forward": 0,
|
| 116 |
+
"dtype": "bfloat16",
|
| 117 |
+
"eoi_token_index": 256000,
|
| 118 |
+
"eos_token_id": [
|
| 119 |
+
1,
|
| 120 |
+
106
|
| 121 |
+
],
|
| 122 |
+
"id2label": {
|
| 123 |
+
"0": "LABEL_0",
|
| 124 |
+
"1": "LABEL_1"
|
| 125 |
+
},
|
| 126 |
+
"image_token_index": 262144,
|
| 127 |
+
"initializer_range": 0.02,
|
| 128 |
+
"is_encoder_decoder": false,
|
| 129 |
+
"label2id": {
|
| 130 |
+
"LABEL_0": 0,
|
| 131 |
+
"LABEL_1": 1
|
| 132 |
+
},
|
| 133 |
+
"mm_tokens_per_image": 256,
|
| 134 |
+
"model_type": "gemma3",
|
| 135 |
+
"output_attentions": false,
|
| 136 |
+
"output_hidden_states": false,
|
| 137 |
+
"problem_type": null,
|
| 138 |
+
"return_dict": true,
|
| 139 |
+
"text_config": {
|
| 140 |
+
"architectures": null,
|
| 141 |
+
"attention_bias": false,
|
| 142 |
+
"attention_dropout": 0.0,
|
| 143 |
+
"attn_logit_softcapping": null,
|
| 144 |
+
"bos_token_id": 2,
|
| 145 |
+
"chunk_size_feed_forward": 0,
|
| 146 |
+
"dtype": "bfloat16",
|
| 147 |
+
"eos_token_id": 1,
|
| 148 |
+
"final_logit_softcapping": null,
|
| 149 |
+
"head_dim": 256,
|
| 150 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 151 |
+
"hidden_size": 2560,
|
| 152 |
+
"id2label": {
|
| 153 |
+
"0": "LABEL_0",
|
| 154 |
+
"1": "LABEL_1"
|
| 155 |
+
},
|
| 156 |
+
"initializer_range": 0.02,
|
| 157 |
+
"intermediate_size": 10240,
|
| 158 |
+
"is_encoder_decoder": false,
|
| 159 |
+
"label2id": {
|
| 160 |
+
"LABEL_0": 0,
|
| 161 |
+
"LABEL_1": 1
|
| 162 |
+
},
|
| 163 |
+
"layer_types": [
|
| 164 |
+
"sliding_attention",
|
| 165 |
+
"sliding_attention",
|
| 166 |
+
"sliding_attention",
|
| 167 |
+
"sliding_attention",
|
| 168 |
+
"sliding_attention",
|
| 169 |
+
"full_attention",
|
| 170 |
+
"sliding_attention",
|
| 171 |
+
"sliding_attention",
|
| 172 |
+
"sliding_attention",
|
| 173 |
+
"sliding_attention",
|
| 174 |
+
"sliding_attention",
|
| 175 |
+
"full_attention",
|
| 176 |
+
"sliding_attention",
|
| 177 |
+
"sliding_attention",
|
| 178 |
+
"sliding_attention",
|
| 179 |
+
"sliding_attention",
|
| 180 |
+
"sliding_attention",
|
| 181 |
+
"full_attention",
|
| 182 |
+
"sliding_attention",
|
| 183 |
+
"sliding_attention",
|
| 184 |
+
"sliding_attention",
|
| 185 |
+
"sliding_attention",
|
| 186 |
+
"sliding_attention",
|
| 187 |
+
"full_attention",
|
| 188 |
+
"sliding_attention",
|
| 189 |
+
"sliding_attention",
|
| 190 |
+
"sliding_attention",
|
| 191 |
+
"sliding_attention",
|
| 192 |
+
"sliding_attention",
|
| 193 |
+
"full_attention",
|
| 194 |
+
"sliding_attention",
|
| 195 |
+
"sliding_attention",
|
| 196 |
+
"sliding_attention",
|
| 197 |
+
"sliding_attention"
|
| 198 |
+
],
|
| 199 |
+
"max_position_embeddings": 131072,
|
| 200 |
+
"model_type": "gemma3_text",
|
| 201 |
+
"num_attention_heads": 8,
|
| 202 |
+
"num_hidden_layers": 34,
|
| 203 |
+
"num_key_value_heads": 4,
|
| 204 |
+
"output_attentions": false,
|
| 205 |
+
"output_hidden_states": false,
|
| 206 |
+
"pad_token_id": 0,
|
| 207 |
+
"problem_type": null,
|
| 208 |
+
"query_pre_attn_scalar": 256,
|
| 209 |
+
"return_dict": true,
|
| 210 |
+
"rms_norm_eps": 1e-06,
|
| 211 |
+
"rope_parameters": {
|
| 212 |
+
"full_attention": {
|
| 213 |
+
"factor": 8.0,
|
| 214 |
+
"rope_theta": 1000000.0,
|
| 215 |
+
"rope_type": "linear"
|
| 216 |
+
},
|
| 217 |
+
"sliding_attention": {
|
| 218 |
+
"rope_theta": 10000.0,
|
| 219 |
+
"rope_type": "default"
|
| 220 |
+
}
|
| 221 |
+
},
|
| 222 |
+
"sliding_window": 4096,
|
| 223 |
+
"tie_word_embeddings": true,
|
| 224 |
+
"use_bidirectional_attention": false,
|
| 225 |
+
"use_cache": true,
|
| 226 |
+
"vocab_size": 262208
|
| 227 |
+
},
|
| 228 |
+
"tie_word_embeddings": true,
|
| 229 |
+
"use_cache": false,
|
| 230 |
+
"vision_config": {
|
| 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:74e8dbb475148080e35ede3f6823322eb6a0b061c8f843a932a4c4ce879bd282
|
| 3 |
+
size 11658431136
|
norm_stats.json
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"norm_stats": {
|
| 3 |
+
"state": {
|
| 4 |
+
"q01": [
|
| 5 |
+
-1.035352835273743,
|
| 6 |
+
-0.0010411963462829688,
|
| 7 |
+
-0.0009904423505067983,
|
| 8 |
+
-1.5932389824867248,
|
| 9 |
+
-0.6972409770011901,
|
| 10 |
+
-2.311389574813842,
|
| 11 |
+
0.0,
|
| 12 |
+
-0.1872424584388721,
|
| 13 |
+
-0.0014547236442565836,
|
| 14 |
+
-0.0018556645691394785,
|
| 15 |
+
-1.6582652053833007,
|
| 16 |
+
-1.0481514818191529,
|
| 17 |
+
-1.7316284427642818,
|
| 18 |
+
0.0
|
| 19 |
+
],
|
| 20 |
+
"q99": [
|
| 21 |
+
0.21984188518524128,
|
| 22 |
+
2.609194938659668,
|
| 23 |
+
2.471975744277239,
|
| 24 |
+
1.3734435466051105,
|
| 25 |
+
1.2635230694532398,
|
| 26 |
+
1.6210897722244262,
|
| 27 |
+
0.9998,
|
| 28 |
+
1.0172001563072204,
|
| 29 |
+
2.6588898150324822,
|
| 30 |
+
2.493734816682339,
|
| 31 |
+
1.339528453063965,
|
| 32 |
+
0.9271604313850403,
|
| 33 |
+
2.307232017517091,
|
| 34 |
+
0.9998
|
| 35 |
+
],
|
| 36 |
+
"mean": [
|
| 37 |
+
-0.2554071247577667,
|
| 38 |
+
1.1897938251495361,
|
| 39 |
+
0.8490739464759827,
|
| 40 |
+
-0.3182951807975769,
|
| 41 |
+
0.05880194157361984,
|
| 42 |
+
-0.051594078540802,
|
| 43 |
+
0.6350666880607605,
|
| 44 |
+
0.24218405783176422,
|
| 45 |
+
1.1642049551010132,
|
| 46 |
+
0.8474480509757996,
|
| 47 |
+
-0.33296799659729004,
|
| 48 |
+
-0.020162617787718773,
|
| 49 |
+
0.05045950785279274,
|
| 50 |
+
0.6521431803703308
|
| 51 |
+
],
|
| 52 |
+
"std": [
|
| 53 |
+
0.42860352993011475,
|
| 54 |
+
1.0080021619796753,
|
| 55 |
+
0.7870193123817444,
|
| 56 |
+
0.6997622847557068,
|
| 57 |
+
0.2834007143974304,
|
| 58 |
+
0.6577711701393127,
|
| 59 |
+
0.4653179943561554,
|
| 60 |
+
0.3643381595611572,
|
| 61 |
+
1.0339634418487549,
|
| 62 |
+
0.8078334331512451,
|
| 63 |
+
0.722427248954773,
|
| 64 |
+
0.2641862630844116,
|
| 65 |
+
0.6676432490348816,
|
| 66 |
+
0.46043500304222107
|
| 67 |
+
]
|
| 68 |
+
},
|
| 69 |
+
"action": {
|
| 70 |
+
"q01": [
|
| 71 |
+
-1.035352835273743,
|
| 72 |
+
-0.0010411963462829688,
|
| 73 |
+
-0.0009904423505067983,
|
| 74 |
+
-1.5932389824867248,
|
| 75 |
+
-0.6972409770011901,
|
| 76 |
+
-2.311389574813842,
|
| 77 |
+
0.0,
|
| 78 |
+
-0.1872424584388721,
|
| 79 |
+
-0.0014547236442565836,
|
| 80 |
+
-0.0018556645691394785,
|
| 81 |
+
-1.6582652053833007,
|
| 82 |
+
-1.0481514818191529,
|
| 83 |
+
-1.7316284427642818,
|
| 84 |
+
0.0
|
| 85 |
+
],
|
| 86 |
+
"q99": [
|
| 87 |
+
0.21984188518524128,
|
| 88 |
+
2.609194938659668,
|
| 89 |
+
2.471975744277239,
|
| 90 |
+
1.3734435466051105,
|
| 91 |
+
1.2635230694532398,
|
| 92 |
+
1.6210897722244262,
|
| 93 |
+
0.9998,
|
| 94 |
+
1.0172001563072204,
|
| 95 |
+
2.6588898150324822,
|
| 96 |
+
2.493734816682339,
|
| 97 |
+
1.339528453063965,
|
| 98 |
+
0.9271604313850403,
|
| 99 |
+
2.307232017517091,
|
| 100 |
+
0.9998
|
| 101 |
+
],
|
| 102 |
+
"mean": [
|
| 103 |
+
-0.2554071247577667,
|
| 104 |
+
1.1897938251495361,
|
| 105 |
+
0.8490739464759827,
|
| 106 |
+
-0.3182951807975769,
|
| 107 |
+
0.05880194157361984,
|
| 108 |
+
-0.051594078540802,
|
| 109 |
+
0.6350666880607605,
|
| 110 |
+
0.24218405783176422,
|
| 111 |
+
1.1642049551010132,
|
| 112 |
+
0.8474480509757996,
|
| 113 |
+
-0.33296799659729004,
|
| 114 |
+
-0.020162617787718773,
|
| 115 |
+
0.05045950785279274,
|
| 116 |
+
0.6521431803703308
|
| 117 |
+
],
|
| 118 |
+
"std": [
|
| 119 |
+
0.42860352993011475,
|
| 120 |
+
1.0080021619796753,
|
| 121 |
+
0.7870193123817444,
|
| 122 |
+
0.6997622847557068,
|
| 123 |
+
0.2834007143974304,
|
| 124 |
+
0.6577711701393127,
|
| 125 |
+
0.4653179943561554,
|
| 126 |
+
0.3643381595611572,
|
| 127 |
+
1.0339634418487549,
|
| 128 |
+
0.8078334331512451,
|
| 129 |
+
0.722427248954773,
|
| 130 |
+
0.2641862630844116,
|
| 131 |
+
0.6676432490348816,
|
| 132 |
+
0.46043500304222107
|
| 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 |
+
}
|