JacobLinCool commited on
Commit
08d99d1
·
verified ·
1 Parent(s): 9a678eb

bf16 weights: 50% smaller, verified parity (F1/grid within noise)

Browse files
Files changed (3) hide show
  1. README.md +9 -41
  2. config.json +2 -0
  3. model.safetensors +2 -2
README.md CHANGED
@@ -1,48 +1,16 @@
1
  ---
2
  license: mit
3
- library_name: softchart
4
  tags:
5
- - taiko
6
- - rhythm-game
7
  - chart-generation
 
8
  - music
9
- - audio-to-symbolic
10
- pipeline_tag: audio-to-audio
 
11
  ---
12
 
13
- # SoftChart Generator
14
-
15
- An 8.1M-parameter encoder–decoder Transformer that generates **Taiko no Tatsujin**
16
- charts from music. Given a log-mel spectrogram and conditions (difficulty, density,
17
- and an optional song-level plan), it autoregressively produces a sequence of timed
18
- chart events. Part of the [SoftChart](https://github.com/JacobLinCool/SoftChart) system.
19
-
20
- This checkpoint (`pr12`) supports: **course/level/density conditioning, prev-window
21
- context, easy⊂hard sibling hints, style codes, and song-level plan control**
22
- (density envelope, breathing gaps, climax placement). Perfect difficulty
23
- monotonicity (Spearman 1.0) and controllable "same song → multiple valid charts".
24
-
25
- ## Usage
26
-
27
- ```python
28
- from softchart.hf import SoftChartGenerator
29
- from softchart.generate import load_hf, generate_song
30
-
31
- model = load_hf("JacobLinCool/softchart-generator", device="cuda")
32
- # mel: (128, T) log-mel at 22050 Hz, hop 256
33
- chart = generate_song(model, mel, course="oni", level=9, density_bucket=7, greedy=True)
34
- # chart["hits"] = [{"t": seconds, "type": "don"/"ka"/...}, ...]
35
- ```
36
-
37
- Full audio→chart→TJA pipeline: [`scripts/infer.py`](https://github.com/JacobLinCool/SoftChart)
38
- or the [demo Space](https://huggingface.co/spaces/JacobLinCool/softchart).
39
-
40
- ## Companion models
41
-
42
- - [softchart-planner](https://huggingface.co/JacobLinCool/softchart-planner) — audio → song-level plan
43
- - [softchart-beat](https://huggingface.co/JacobLinCool/softchart-beat) — beat/downbeat for barline anchoring
44
-
45
- ## License
46
-
47
- Code and weights are **MIT**. Trained on community-made charts
48
- ([taiko-1000-parsed](https://huggingface.co/datasets/JacobLinCool/taiko-1000-parsed)).
 
1
  ---
2
  license: mit
 
3
  tags:
4
+ - audio-to-symbolic
 
5
  - chart-generation
6
+ - model_hub_mixin
7
  - music
8
+ - pytorch_model_hub_mixin
9
+ - rhythm-game
10
+ - taiko
11
  ---
12
 
13
+ This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
14
+ - Code: https://github.com/JacobLinCool/SoftChart
15
+ - Paper: [More Information Needed]
16
+ - Docs: [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
config.json CHANGED
@@ -15,10 +15,12 @@
15
  },
16
  "d_model": 256,
17
  "dec_layers": 4,
 
18
  "enc_layers": 4,
19
  "ffn": 1024,
20
  "func_time": false,
21
  "global_ctx": false,
 
22
  "ptr": false,
23
  "vocab_size": 1802
24
  }
 
15
  },
16
  "d_model": 256,
17
  "dec_layers": 4,
18
+ "emb_factor": null,
19
  "enc_layers": 4,
20
  "ffn": 1024,
21
  "func_time": false,
22
  "global_ctx": false,
23
+ "in_ch": null,
24
  "ptr": false,
25
  "vocab_size": 1802
26
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3829ea5f2e025c2f6cd59f55359c6fb44cff5c49c42ecf017d2e677626829f17
3
- size 32537124
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b76b787e1f61201218dca06f2fa65f0faff33239e85f8eb7cd51f68ddb5b874
3
+ size 16275522