Release stage-5d Model P inference weights
Browse files- .gitattributes +0 -34
- README.md +40 -0
- b9fix.safetensors +3 -0
- config.json +59 -0
- p.safetensors +3 -0
- r.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -1,35 +1 @@
|
|
| 1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.xz 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- osu-taiko
|
| 5 |
+
- rhythm-game
|
| 6 |
+
- chart-generation
|
| 7 |
+
- taiko
|
| 8 |
+
library_name: pytorch
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Internal Model P
|
| 12 |
+
|
| 13 |
+
Internal Model P is a masked beat-pattern model trained for osu!taiko chart generation. It generates a paired course set from music, with Inner Oni written first and used as context for Oni. The [live demo and inference code](https://huggingface.co/spaces/JacobLinCool/internal-model-p) export osu!taiko OSZ and TJA packages.
|
| 14 |
+
|
| 15 |
+
## Files
|
| 16 |
+
|
| 17 |
+
| File | Role |
|
| 18 |
+
| --- | --- |
|
| 19 |
+
| `p.safetensors` | Stage 5d Model P, selected at 8,000 training updates |
|
| 20 |
+
| `r.safetensors` | Model R, the audio-conditioned position model used for P's fine-subdivision gate |
|
| 21 |
+
| `b9fix.safetensors` | Timing, note colour, accent size, scroll speed and kiai for the public demo |
|
| 22 |
+
| `config.json` | Model configurations, training steps and SHA-256 hashes |
|
| 23 |
+
|
| 24 |
+
The original checkpoint contains 5,564,063 Model P parameters and buffers. The released Safetensors files contain only model state tensors. The training data consists of community-authored osu!taiko charts. The release contains no source charts or training audio, which remain subject to their creators' permissions. The inference code has an MIT license. The original repository specifies no separate license for model weights.
|
| 25 |
+
|
| 26 |
+
## Training and evaluation
|
| 27 |
+
|
| 28 |
+
The Stage 5d run initialized P from Model R and trained for 8,000 updates on 8,393 Oni and Inner Oni charts. P chooses one rhythmic pattern per beat over 16 masked-decoding rounds. The study generated two draws per song for 412 validation songs and compared P's hit placements with the Stage 5c system and with human-authored reference charts. Each row below has the same course order, Oni followed by Inner Oni.
|
| 29 |
+
|
| 30 |
+
| Validation measure | Model P | Stage 5c | Human reference |
|
| 31 |
+
| --- | --- | --- | --- |
|
| 32 |
+
| All rhythm checks passed, share of charts (higher is better, 0–1) | 0.759 / 0.797 | 0.746 / 0.783 | 0.769 / 0.815 |
|
| 33 |
+
| Repeated measure, share of measures identical to one of the preceding eight (0–1) | 0.085 / 0.090 | 0.100 / 0.105 | 0.353 / 0.360 |
|
| 34 |
+
| Onset alignment, AUC (higher indicates stronger separation, range 0–1) | 0.820 / 0.790 | 0.788 / 0.764 | 0.817 / 0.788 |
|
| 35 |
+
|
| 36 |
+
All-check results use 278 Oni and 281 Inner Oni validation songs with eligible checks. Model P improved local note placement in this experiment. The prespecified repeat-rate and cross-course fine-subdivision criteria were unmet, and the project retained its incumbent system. These results are from one training seed and measure rhythmic placements before note colouring. Under a separate classifier using combined position features, both P and 5c were distinguishable from authored charts. The public demo adds a rendering stage and was checked for file generation and timing preservation.
|
| 37 |
+
|
| 38 |
+
Model P was trained on osu!taiko data. The TJA renderer maps Oni and Inner Oni to TJA Oni and Edit. Native TJA distributions and player preference remain unevaluated.
|
| 39 |
+
|
| 40 |
+
Source for claims and scope: the project’s `reports/v11 階段 5d 結果:位置模型自己寫定位置(小測試).md`, §§1–3 and 7, and the associated `reports/figs/v11_s5d_{eval,panel,ruler}.json`.
|
b9fix.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:061f41dd1c8b77e36ce974a9a346683abea820872c11c914355983297758b4b9
|
| 3 |
+
size 29143524
|
config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"p": {
|
| 3 |
+
"filename": "p.safetensors",
|
| 4 |
+
"config": {
|
| 5 |
+
"use_ms": true,
|
| 6 |
+
"d_pos": 96,
|
| 7 |
+
"d": 256,
|
| 8 |
+
"layers": 6,
|
| 9 |
+
"heads": 8,
|
| 10 |
+
"drop": 0.1,
|
| 11 |
+
"V": 900,
|
| 12 |
+
"d_pat": 64
|
| 13 |
+
},
|
| 14 |
+
"parameters_and_buffers": 5564063,
|
| 15 |
+
"step": 8000,
|
| 16 |
+
"sha256": "a7e07b31e51331b55a5d59f4cab0de8615d9d9e45a14b381ae5208c7a6336682",
|
| 17 |
+
"source_sha256": "b159b55f8cc9460680acede25f3226e4c9c0c2b5748acbb0592f8f3773ec498d"
|
| 18 |
+
},
|
| 19 |
+
"r": {
|
| 20 |
+
"filename": "r.safetensors",
|
| 21 |
+
"config": {
|
| 22 |
+
"use_ms": true,
|
| 23 |
+
"d_pos": 96,
|
| 24 |
+
"d": 256,
|
| 25 |
+
"layers": 6,
|
| 26 |
+
"heads": 8,
|
| 27 |
+
"drop": 0.1
|
| 28 |
+
},
|
| 29 |
+
"parameters_and_buffers": 5473499,
|
| 30 |
+
"step": 7500,
|
| 31 |
+
"sha256": "bd40d1b5e116edade9ce50f780d128b9d353db9bcf17d9b5b99bc9c287cd4d97",
|
| 32 |
+
"source_sha256": "127c5b120602ce078c2632310799192b325374fdc9736011c5fbc03d9274f276"
|
| 33 |
+
},
|
| 34 |
+
"b9fix": {
|
| 35 |
+
"filename": "b9fix.safetensors",
|
| 36 |
+
"config": {
|
| 37 |
+
"n_mels": 128,
|
| 38 |
+
"d_model": 224,
|
| 39 |
+
"enc_layers": 3,
|
| 40 |
+
"dec_layers": 4,
|
| 41 |
+
"n_heads": 8,
|
| 42 |
+
"d_plan": 128,
|
| 43 |
+
"plan_layers": 2,
|
| 44 |
+
"branch_ch": 96,
|
| 45 |
+
"local_frames": 2,
|
| 46 |
+
"dropout": 0.1,
|
| 47 |
+
"max_frames": 1024,
|
| 48 |
+
"gap_plan": false,
|
| 49 |
+
"bar_plan": true,
|
| 50 |
+
"bar_plan_drop": 0.2,
|
| 51 |
+
"bar_plan_corrupt": 0.5,
|
| 52 |
+
"rep_hint": true
|
| 53 |
+
},
|
| 54 |
+
"parameters_and_buffers": 7280985,
|
| 55 |
+
"step": 7500,
|
| 56 |
+
"sha256": "061f41dd1c8b77e36ce974a9a346683abea820872c11c914355983297758b4b9",
|
| 57 |
+
"source_sha256": "1df18d444c02ef4ceca7d8b1ba1478eb0b8586f53336f080e7fd86a64c1f90e4"
|
| 58 |
+
}
|
| 59 |
+
}
|
p.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7e07b31e51331b55a5d59f4cab0de8615d9d9e45a14b381ae5208c7a6336682
|
| 3 |
+
size 22265620
|
r.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd40d1b5e116edade9ce50f780d128b9d353db9bcf17d9b5b99bc9c287cd4d97
|
| 3 |
+
size 21902612
|