Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,49 @@
|
|
| 1 |
-
-
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MeshLex-Tokens
|
| 2 |
+
|
| 3 |
+
Per-mesh token sequence dataset for autoregressive 3D mesh generation.
|
| 4 |
+
|
| 5 |
+
## Overview
|
| 6 |
+
|
| 7 |
+
Each row contains a complete mesh encoded as a token sequence with BOS/EOS delimiters.
|
| 8 |
+
Three token formats are provided for ablation comparison.
|
| 9 |
+
|
| 10 |
+
**Total meshes**: 140140
|
| 11 |
+
|
| 12 |
+
## Vocabulary (2372 tokens)
|
| 13 |
+
|
| 14 |
+
| Token Type | ID Range | Count |
|
| 15 |
+
|---|---|---|
|
| 16 |
+
| PAD | 0 | 1 |
|
| 17 |
+
| BOS | 1 | 1 |
|
| 18 |
+
| EOS | 2 | 1 |
|
| 19 |
+
| SEP | 3 | 1 |
|
| 20 |
+
| Position bins | 4-259 | 256 |
|
| 21 |
+
| Scale bins | 260-323 | 64 |
|
| 22 |
+
| Codebook indices | 324-2371 | 2048 |
|
| 23 |
+
|
| 24 |
+
## Formats
|
| 25 |
+
|
| 26 |
+
- **spatial_header_c2f**: Spatial header (all positions/scales) + C2F body (codebook by level). Length: 8N+6.
|
| 27 |
+
- **enhanced_flat**: Per-patch complete tokens (pos + scale + all codebook levels). Length: 8N+2.
|
| 28 |
+
- **enhanced_interleaved**: Per-level sections with repeated spatial context. Length: 20N+5.
|
| 29 |
+
|
| 30 |
+
## Schema
|
| 31 |
+
|
| 32 |
+
| Column | Type | Description |
|
| 33 |
+
|---|---|---|
|
| 34 |
+
| mesh_id | string | Unique mesh identifier |
|
| 35 |
+
| token_ids | list[int] | Complete token sequence |
|
| 36 |
+
| seq_len | int | Sequence length |
|
| 37 |
+
| n_patches | int | Number of patches in mesh |
|
| 38 |
+
| tier | string | Quality tier (gold/silver) |
|
| 39 |
+
|
| 40 |
+
## Source
|
| 41 |
+
|
| 42 |
+
Built from [Pthahnix/MeshLex-Patches](https://huggingface.co/datasets/Pthahnix/MeshLex-Patches)
|
| 43 |
+
using VQ-VAE checkpoint `pca_k2048_l4_d128` (val_recon=0.1391).
|
| 44 |
+
|
| 45 |
+
## Coordinate Normalization
|
| 46 |
+
|
| 47 |
+
Per-mesh center + bounding sphere scale normalization → [-1, 1]³.
|
| 48 |
+
Position quantization: 256 bins. Scale quantization: 64 bins.
|
| 49 |
+
Patch ordering: Morton Z-order.
|