Ant-Dlc commited on
Commit
32f5743
·
verified ·
1 Parent(s): 3febf79

Upload 4 files

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. sample.mp3 +3 -0
  3. sample.mxl +0 -0
  4. sample.pdf +0 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-sa-4.0
3
+ pretty_name: Piano Score Generation Sample
4
+ tags:
5
+ - music
6
+ - symbolic-music
7
+ - music-generation
8
+ - score-generation
9
+ - sheet-music
10
+ - music-notation
11
+ - piano
12
+ - musicxml
13
+ - kern
14
+ - humdrum
15
+ - transformer
16
+ - small-model
17
+ - compound-tokens
18
+ - tokenization
19
+ - efficient-ai
20
+ - research
21
+ size_categories:
22
+ - n<1K
23
+ ---
24
+
25
+
26
+ # Piano Score Generation Sample
27
+
28
+ A continuation produced by a **compact Transformer (16.6M parameters) that generates piano scores at the notation level**: the representation covers staves, voices, ties, slurs, dynamics, pedal and ornaments, rather than MIDI note events. The sample is provided as playable audio and as the underlying MusicXML score, next to the prompt it was given.
29
+
30
+ This is a **demo of research output, not a model release**. It accompanies a research internship at UC Berkeley (2026).
31
+
32
+ ## The model, briefly
33
+
34
+ A 16.6M-parameter causal Transformer over a compound-token representation of `**kern` notation, in the spirit of Compound Word Transformer but applied to score notation rather than performance events. Trained on ~206k piano scores from public symbolic-music corpora (details to follow with the associated publication). The sample comes from the final internship variant.
35
+
36
+ The research question was whether a representation designed for notation (one token per musical event, its attributes predicted by typed output heads) lets a small model spend its capacity on musical structure rather than on the surface syntax of the format, and so reach acceptable generation quality at a fraction of the size of published notation-level systems. The decoder itself is deliberately plain: a standard GPT-style Transformer with no architectural novelty beyond the factorised output layer. The contribution lies in the representation, not in the network.
37
+
38
+ ## The sample
39
+
40
+ One 76-measure score in three formats: `sample.mp3` to listen, `sample.pdf` to read, and `sample.mxl` to open in a score editor.
41
+
42
+ **Measures 1–5 are the prompt**: a short piano improvisation, recorded and transcribed for this purpose, **not in the training corpus**, so nothing here can be memorised. **Everything from measure 6 onward is generated.** At the file's tempo (2/4, ♩ = 120) the prompt is the **first 5 seconds** of the audio; the full sample lasts about 80 seconds.
43
+
44
+ **Sampling.** Temperature 0.9, single pass. The model produced 112 measures; the file is **truncated at measure 76**. Nothing else was edited: no note, rhythm, tie or beam was changed. The metronome marking in the file header is not generated by the model and is set at conversion time.
45
+
46
+ **Selection.** One of the first generations run with this prompt, kept after listening to a handful at three temperatures. This particular generation contains no dynamics, pedal or slur markings, which is consistent with a prompt that has none. On the Chopin prompt mentioned below, the same model produces slurs, dynamics, pedal, ornaments and articulations throughout.
47
+
48
+ **A note on the prompt.** The prompt is harmonically static: four measures of a single A-minor triad in repeated block quarter notes, then a bass shift in measure 5. There is no chord progression for the model to carry forward, and the continuation should be read in that light. On harmonically richer prompts, such as the opening of Chopin's Nocturne op. 9 no. 2, the model does keep a coherent harmonic accompaniment going under a melodic line over several measures.
49
+
50
+ ## Known limitations, please read before judging
51
+
52
+ - **Repetitive loops.** The model regularly falls into repeated motifs, sometimes repeated tokens, and struggles to exit them. This is the dominant defect of current outputs.
53
+ - **Qualitative evaluation only.** No validated out-of-sample metric is available yet; the assessment behind this sample is listening and score reading by one person, without a blind protocol.
54
+ - **Two orders of magnitude fewer parameters** than published notation-level systems (NotaGen, MuPT). This sample is not meant to compete with them.
55
+
56
+ ## What this is not
57
+
58
+ Not a model release: no weights, code or inference script are provided for now.
59
+
60
+ ## Licence
61
+
62
+ Prompt (own recording), generated score and audio: **CC BY-NC-SA 4.0**.
sample.mp3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4874d406168b927e4868590ed22677dac13af05c6e02261466c8034318aaa1d5
3
+ size 1293164
sample.mxl ADDED
Binary file (4.45 kB). View file
 
sample.pdf ADDED
Binary file (44.9 kB). View file