Upload 2 files
Browse filesAdded small Beat this! onnx model and README update
- README.md +4 -3
- beat_this_small0_int8.onnx +3 -0
README.md
CHANGED
|
@@ -37,7 +37,8 @@ uv pip install --python .venv/bin/python -e . --no-deps
|
|
| 37 |
| `guitab_e24.safetensors` | E24, the tiny model (2.9M, 11 MB): about one point behind E25, 2.3× faster than E19. |
|
| 38 |
| `guitab_e19.safetensors` | E19 (24M, 91 MB): the strongest model trained on the labels alone, slightly better on clean studio audio. |
|
| 39 |
| `tablm.safetensors` | The tab language model behind `--music_lm` (fuller chords). |
|
| 40 |
-
| `
|
|
|
|
| 41 |
| `guitab_e25.onnx`, `guitab_e24.onnx`, `guitab_e19.onnx` | The same models for the browser version. |
|
| 42 |
|
| 43 |
## Architecture
|
|
@@ -47,7 +48,7 @@ uv pip install --python .venv/bin/python -e . --no-deps
|
|
| 47 |
- **Input:** a constant-Q spectrogram of the audio (36 bins per octave), one frame every 11.6 ms, turned into a harmonic stack: six shifted copies (harmonics ½ to 5) as channels, so the partials of a pitch line up.
|
| 48 |
- **Model:** a CNN (six convolution blocks, 144 → 12 frequency bins) followed by a transformer over time (E25: 4 layers, 256 wide), which gives each frame the context to decide chords, sustained notes and strings.
|
| 49 |
- **Outputs:** for every frame and string, the fret (silent or 0–19) and the onset probability, plus a pitch head used only in training.
|
| 50 |
-
- **Tab:** notes are extracted from these probabilities, optionally rescored by the tab language model, snapped to
|
| 51 |
|
| 52 |
E25 and E24 are distilled: they learn from the labels and from the averaged predictions of two larger models, E18 (66M) and E19. The training data are [GuitarSet](https://zenodo.org/records/3371780), [GAPS](https://zenodo.org/records/13962272), a fingerstyle subset of [SynthTab](https://github.com/AirLabUR/SynthTab) and a private set of real fingerstyle recordings with aligned tabs. Every experiment is documented in [`EXPERIMENTS.md`](https://github.com/DanieleMorotti/guitab/blob/main/EXPERIMENTS.md).
|
| 53 |
|
|
@@ -69,7 +70,7 @@ The output is *a first draft to correct by ear*. Dense chords, quiet inner voice
|
|
| 69 |
|
| 70 |
## License
|
| 71 |
|
| 72 |
-
The weights are released under **CC BY-NC-SA 4.0** (non-commercial), because they are trained on GAPS (CC BY-NC-SA 4.0) and SynthTab (CC BY-NC 4.0). The code is MIT licensed. `
|
| 73 |
|
| 74 |
```bibtex
|
| 75 |
@misc{guitab,
|
|
|
|
| 37 |
| `guitab_e24.safetensors` | E24, the tiny model (2.9M, 11 MB): about one point behind E25, 2.3× faster than E19. |
|
| 38 |
| `guitab_e19.safetensors` | E19 (24M, 91 MB): the strongest model trained on the labels alone, slightly better on clean studio audio. |
|
| 39 |
| `tablm.safetensors` | The tab language model behind `--music_lm` (fuller chords). |
|
| 40 |
+
| `beat_this_small0_int8.onnx` | The [Beat This!](https://github.com/CPJKU/beat_this) beat tracker (small model) with int8 weights (3.6 MB), MIT licensed by its authors. |
|
| 41 |
+
| `beat_this_final0_int8.onnx` | The larger Beat This! model (21 MB), an option of the code. |
|
| 42 |
| `guitab_e25.onnx`, `guitab_e24.onnx`, `guitab_e19.onnx` | The same models for the browser version. |
|
| 43 |
|
| 44 |
## Architecture
|
|
|
|
| 48 |
- **Input:** a constant-Q spectrogram of the audio (36 bins per octave), one frame every 11.6 ms, turned into a harmonic stack: six shifted copies (harmonics ½ to 5) as channels, so the partials of a pitch line up.
|
| 49 |
- **Model:** a CNN (six convolution blocks, 144 → 12 frequency bins) followed by a transformer over time (E25: 4 layers, 256 wide), which gives each frame the context to decide chords, sustained notes and strings.
|
| 50 |
- **Outputs:** for every frame and string, the fret (silent or 0–19) and the onset probability, plus a pitch head used only in training.
|
| 51 |
+
- **Tab:** notes are extracted from these probabilities, optionally rescored by the tab language model, snapped to beats found from Beat This! together with the model's own onsets, and written as a `.gp5` file.
|
| 52 |
|
| 53 |
E25 and E24 are distilled: they learn from the labels and from the averaged predictions of two larger models, E18 (66M) and E19. The training data are [GuitarSet](https://zenodo.org/records/3371780), [GAPS](https://zenodo.org/records/13962272), a fingerstyle subset of [SynthTab](https://github.com/AirLabUR/SynthTab) and a private set of real fingerstyle recordings with aligned tabs. Every experiment is documented in [`EXPERIMENTS.md`](https://github.com/DanieleMorotti/guitab/blob/main/EXPERIMENTS.md).
|
| 54 |
|
|
|
|
| 70 |
|
| 71 |
## License
|
| 72 |
|
| 73 |
+
The weights are released under **CC BY-NC-SA 4.0** (non-commercial), because they are trained on GAPS (CC BY-NC-SA 4.0) and SynthTab (CC BY-NC 4.0). The code is MIT licensed. `beat_this_small0_int8.onnx` and `beat_this_final0_int8.onnx` are converted copies of [Beat This!](https://github.com/CPJKU/beat_this) (Foscarin et al., ISMIR 2024) and keep its MIT licence, in `LICENSE-beat-this.txt`. Credits for the datasets and the ideas Guitab builds on are in the [GitHub README](https://github.com/DanieleMorotti/guitab#licence-and-credits).
|
| 74 |
|
| 75 |
```bibtex
|
| 76 |
@misc{guitab,
|
beat_this_small0_int8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:115a9fd4384e90a64cd43febb406f7379eb1383e026bbcbb9e2421caccaf9d5f
|
| 3 |
+
size 3783954
|