Instructions to use rayruiyang/GeoUG-ColdStart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Bagel
How to use rayruiyang/GeoUG-ColdStart with Bagel:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Expand model card with usage, provenance, evaluation scope and related releases
Browse files- README.md +89 -44
- checksums.sha256 +1 -1
README.md
CHANGED
|
@@ -1,77 +1,122 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
library_name: bagel-mot
|
|
|
|
|
|
|
| 4 |
tags:
|
| 5 |
- geoug
|
| 6 |
-
-
|
| 7 |
-
- spatial-reasoning
|
| 8 |
- supervised-fine-tuning
|
| 9 |
---
|
| 10 |
|
| 11 |
# GeoUG-ColdStart
|
| 12 |
|
| 13 |
-
|
|
|
|
| 14 |
|
| 15 |
-
|
| 16 |
-
SFT. It is released as the initialization used for RL training. Use
|
| 17 |
-
[GeoUG-Spatial](https://huggingface.co/rayruiyang/GeoUG-Spatial) for the final
|
| 18 |
-
adaptive spatial reasoning policy; the final policy's benchmark results are
|
| 19 |
-
not results for this checkpoint.
|
| 20 |
|
| 21 |
-
|
|
|
|
| 22 |
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
```bash
|
| 31 |
-
|
| 32 |
-
export RL_TRANSFORM_CONFIG="$MODEL_PATH/transform_config.yaml"
|
| 33 |
```
|
| 34 |
|
| 35 |
-
|
| 36 |
-
separately prepared validation/evaluation set. The public training parquet is
|
| 37 |
-
available at [GeoUG_data](https://huggingface.co/datasets/rayruiyang/GeoUG_data).
|
| 38 |
-
The GeoUG `scripts/pack_data_parquet.py unpack-rl` command restores its training
|
| 39 |
-
layout. The internal evaluation subset is not distributed.
|
| 40 |
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
-
`
|
| 44 |
-
|
| 45 |
-
|
|
|
|
| 46 |
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
-
The
|
| 50 |
-
|
| 51 |
-
|
| 52 |
|
| 53 |
-
|
|
|
|
|
|
|
| 54 |
|
| 55 |
-
|
| 56 |
-
from huggingface_hub import snapshot_download
|
| 57 |
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
)
|
| 62 |
-
```
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
|
| 68 |
-
##
|
| 69 |
|
| 70 |
-
|
|
| 71 |
|---|---|
|
| 72 |
| [GeoUG-Spatial](https://huggingface.co/rayruiyang/GeoUG-Spatial) | Final adaptive spatial reasoning policy |
|
| 73 |
| [GeoUG-Depth](https://huggingface.co/rayruiyang/GeoUG-Depth) | Standalone metric-depth generation |
|
| 74 |
| [GeoUG-ColdStart](https://huggingface.co/rayruiyang/GeoUG-ColdStart) | SFT initialization for spatial-policy RL |
|
| 75 |
|
| 76 |
-
|
| 77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
library_name: bagel-mot
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
tags:
|
| 7 |
- geoug
|
| 8 |
+
- geometry
|
|
|
|
| 9 |
- supervised-fine-tuning
|
| 10 |
---
|
| 11 |
|
| 12 |
# GeoUG-ColdStart
|
| 13 |
|
| 14 |
+
[Project page](https://yangr116.github.io/geoug-project-page/) ·
|
| 15 |
+
[Paper](https://yangr116.github.io/geoug-project-page/assets/geoug-paper.pdf)
|
| 16 |
|
| 17 |
+
**The supervised cold-start checkpoint for GeoUG spatial-policy RL.**
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
GeoUG-ColdStart is the EMA checkpoint at step **1500** of GeoUG v6 interleaved
|
| 20 |
+
reasoning SFT. Its released role is to initialize the subsequent RL stage.
|
| 21 |
|
| 22 |
+
| Property | Value |
|
| 23 |
+
|---|---|
|
| 24 |
+
| Stage | v6 interleaved reasoning supervised fine-tuning |
|
| 25 |
+
| Checkpoint | Step 1500, EMA |
|
| 26 |
+
| Precision | Original BF16 weights |
|
| 27 |
+
| Downstream model | GeoUG-Spatial after spatial-policy RL |
|
| 28 |
+
| Bundled transform | Matches the v6 reasoning SFT and spatial RL recipe |
|
| 29 |
|
| 30 |
+
## Download
|
| 31 |
+
|
| 32 |
+
```python
|
| 33 |
+
from huggingface_hub import snapshot_download
|
| 34 |
+
|
| 35 |
+
snapshot_download(
|
| 36 |
+
repo_id="rayruiyang/GeoUG-ColdStart",
|
| 37 |
+
local_dir="ckpt/geoug-coldstart",
|
| 38 |
+
)
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
These are custom BAGEL/MoT weights. Use the GeoUG runtime rather than a generic
|
| 42 |
+
`AutoModel.from_pretrained` call. The weight repository contains the checkpoint
|
| 43 |
+
assets; inference and training code live in the GeoUG code checkout.
|
| 44 |
+
|
| 45 |
+
Verify the download:
|
| 46 |
|
| 47 |
```bash
|
| 48 |
+
(cd ckpt/geoug-coldstart && sha256sum -c checksums.sha256)
|
|
|
|
| 49 |
```
|
| 50 |
|
| 51 |
+
## Initialize RL training
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
+
Use the GeoUG checkout's separate RL environment, described in
|
| 54 |
+
`docs/RL_TRAINING.md`. After downloading this model and
|
| 55 |
+
[train_geoug_rl.parquet](https://huggingface.co/datasets/rayruiyang/GeoUG_data/blob/main/train_geoug_rl.parquet),
|
| 56 |
+
restore the public training layout:
|
| 57 |
|
| 58 |
+
```bash
|
| 59 |
+
python scripts/pack_data_parquet.py unpack-rl \
|
| 60 |
+
--input /absolute/path/to/train_geoug_rl.parquet \
|
| 61 |
+
--output /absolute/path/to/rl_train
|
| 62 |
|
| 63 |
+
export MODEL_PATH="$PWD/ckpt/geoug-coldstart"
|
| 64 |
+
export RL_TRANSFORM_CONFIG="$MODEL_PATH/transform_config.yaml"
|
| 65 |
+
export RL_DATASET=/absolute/path/to/rl_train
|
| 66 |
+
export DEPTH_CACHE_DIR=/absolute/path/to/rl_train/depth-cache
|
| 67 |
+
```
|
| 68 |
|
| 69 |
+
The parquet includes training images, camera metadata, and generated-depth
|
| 70 |
+
caches. Prepare your own validation/evaluation inputs as required by the RL
|
| 71 |
+
recipe; the internal RL evaluation subset is not distributed.
|
| 72 |
|
| 73 |
+
The transform uses multiscale disparity normalization with
|
| 74 |
+
`c: [2.0, 8.0, 32.0]`. The RL loader uses `ema.safetensors`, matching the
|
| 75 |
+
initialization used by the released recipe.
|
| 76 |
|
| 77 |
+
## Scope and interpretation
|
|
|
|
| 78 |
|
| 79 |
+
This repository provides the initialization checkpoint, not the final adaptive
|
| 80 |
+
policy. Use GeoUG-Spatial for the final model. Its reported RL benchmark scores
|
| 81 |
+
must not be attributed to GeoUG-ColdStart.
|
|
|
|
|
|
|
| 82 |
|
| 83 |
+
The cold start **model** is released here. The cold start **training data** is a
|
| 84 |
+
separate, pending release; it is not included in this repository or in the
|
| 85 |
+
800-sample RL training parquet.
|
| 86 |
|
| 87 |
+
## Model family
|
| 88 |
|
| 89 |
+
| Checkpoint | Intended use |
|
| 90 |
|---|---|
|
| 91 |
| [GeoUG-Spatial](https://huggingface.co/rayruiyang/GeoUG-Spatial) | Final adaptive spatial reasoning policy |
|
| 92 |
| [GeoUG-Depth](https://huggingface.co/rayruiyang/GeoUG-Depth) | Standalone metric-depth generation |
|
| 93 |
| [GeoUG-ColdStart](https://huggingface.co/rayruiyang/GeoUG-ColdStart) | SFT initialization for spatial-policy RL |
|
| 94 |
|
| 95 |
+
## Package and integrity
|
| 96 |
+
|
| 97 |
+
| File | Contents |
|
| 98 |
+
|---|---|
|
| 99 |
+
| `ema.safetensors` | BF16 EMA model weights, approximately 27.21 GiB |
|
| 100 |
+
| `ae.safetensors` | VAE weights |
|
| 101 |
+
| `llm_config.json`, `vit_config.json`, `config.json`, `generation_config.json` | Model and generation configuration |
|
| 102 |
+
| `tokenizer.json`, `tokenizer_config.json`, `vocab.json`, `merges.txt` | Tokenizer assets |
|
| 103 |
+
| `transform_config.yaml` | Image/depth preprocessing and normalization |
|
| 104 |
+
| `checksums.sha256` | SHA-256 checksums for the package files |
|
| 105 |
+
|
| 106 |
+
Download the complete repository. The release uses EMA weights and does not
|
| 107 |
+
require a separate non-EMA checkpoint or a shard index.
|
| 108 |
+
|
| 109 |
+
## License and attribution
|
| 110 |
+
|
| 111 |
+
GeoUG builds on the BAGEL/MoT architecture and its pretrained components.
|
| 112 |
+
This checkpoint accompanies the mixed-license GeoUG code release. Consult
|
| 113 |
+
`LICENSE` and `THIRD_PARTY_NOTICES.md` in the GeoUG code checkout for the
|
| 114 |
+
applicable component terms, including the CC BY-NC restrictions on the listed
|
| 115 |
+
BAGEL/DiT-derived code files. This card does not assign a new blanket license
|
| 116 |
+
to upstream components. The data repositories document their own source and
|
| 117 |
+
usage terms separately.
|
| 118 |
+
|
| 119 |
+
## Contact
|
| 120 |
+
|
| 121 |
+
For questions about this release, contact
|
| 122 |
+
[rayyang0116@connect.hku.hk](mailto:rayyang0116@connect.hku.hk).
|
checksums.sha256
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
afc8e28272cd15db3919bacdb6918ce9c1ed22e96cb12c4d5ed0fba823529e38 ae.safetensors
|
| 3 |
6340dfd03b315d68faf266944c2a4a484ec8dafff4f2b55a059d95ad7656cbf7 config.json
|
| 4 |
09934295baa7d057afaf51cc0aec2edd646708df380f79327400c18c4190a189 ema.safetensors
|
|
|
|
| 1 |
+
d993de5bf2b825b6088e94ef9f1988467caff830aa81ad3f15904719f628bb89 README.md
|
| 2 |
afc8e28272cd15db3919bacdb6918ce9c1ed22e96cb12c4d5ed0fba823529e38 ae.safetensors
|
| 3 |
6340dfd03b315d68faf266944c2a4a484ec8dafff4f2b55a059d95ad7656cbf7 config.json
|
| 4 |
09934295baa7d057afaf51cc0aec2edd646708df380f79327400c18c4190a189 ema.safetensors
|