vecnode's picture
v0.1.19: full profile
10d9186 verified
|
Raw History Blame Contribute Delete
8.14 kB
metadata
license: other
language:
  - en
task_categories:
  - text-generation
tags:
  - supercollider
  - audio
  - code
  - minimind
  - moe
  - music
pretty_name: SuperCollider MoE corpus
size_categories:
  - 10K<n<100K

SuperCollider MoE corpus

Training data for a small language model that writes SuperCollider — the audio synthesis language built into the DAW-like scsynth engine. If you have ever wanted a model that answers "write me a bell SynthDef" with code the compiler accepts instead of plausible-looking nonsense, this is the corpus for that, and the ladder is the record of how far it has got.

The point of the dataset is not raw size. It is that every code answer in the SFT set was compiled with sclang before it was written, and every release of the model that consumes it is measured the same way — so a number here means "the compiler accepted it", not "it looks like SuperCollider".

Profile: full · revision v0.1.19 · 17 files, 87.6 MB · repo vecnode/supercollider-moe-dataset

The ladder — what this corpus is being used to find

The corpus trains a 198M SuperCollider model, and the model is judged by four measurements on a fixed 12-prompt probe, each answer compiled with the real sclang:

measure bar what it means
compile ≥60% the blocks sclang accepts
bind ≥80% the patch binds every name before reading it
identity 100% it answers who are you as itself, not as a general assistant
drift ≥80% concept answers stay on SuperCollider instead of wandering

Every release below is a checkpoint on that ladder, newest first. A release is kept even when it loses, because the trade between the four measures is the finding:

tag run compile bind identity drift verdict
v0.0.18 exp-0058-gate9 27/36 (75.0%) 92% 100% 90% ALIGNED - all four bars, first clear
v0.0.17 exp-0055-gate7 23/39 (59.0%) 92% 83% 83% NOT ALIGNED - read->bug 17%
v0.0.16 exp-0054-gate6 20/35 (57.1%) 77% 100% 93% ALIGNED - the drift arm
v0.0.15 exp-0048-gate5 23/38 (60.5%) 79% 100% 80% ALIGNED - best on the code bars before v0.0.18
v0.0.14 exp-0044-gate2 20/32 (62%) 85% 83% 83% ALIGNED
v0.0.13 exp-0043-gatepost 25/39 (64%) 92% 100% 73% NOT ALIGNED - drift

The full record — every rung, every negative, the failure classes and the reasoning — is on the ladder branch: LADDER.md and ladder/revision.json. Nothing in it is edited away.

Start here

from datasets import load_dataset

pretrain = load_dataset("json", data_files="data/pretrain/train.jsonl", split="train")  # {"text": …}
sft      = load_dataset("json", data_files="data/sft/train.jsonl", split="train")       # {"conversations": […]}
print(pretrain[0]["text"][:200])
print(sft[0]["conversations"][1]["content"][:400])

Or without the library:

git clone https://huggingface.co/datasets/vecnode/supercollider-moe-dataset
wc -l data/pretrain/train.jsonl data/sft/train.jsonl    # 59,179 and 10,614
sha256sum -c checksums.sha256                            # every file, against its own record

Contents

file rows size sha256
data/pretrain/train.jsonl 59,179 58.2 MB 8454ed97da318f4d…
data/pretrain/val.jsonl 1,235 1.2 MB 01c2d5fc0542d3a0…
data/sft/train.jsonl 10,614 6.1 MB 8d45da567a95b1ad…
data/sft/val.jsonl 229 0.1 MB 1e67805e2de7ecdf…
data/sft/pool.jsonl 13,691 7.3 MB 53bcd9966033d515…
data/sft/coverage.jsonl 1,305 1.1 MB 6d2677537ba3e78b…
data/sft/teacher.jsonl 94 0.1 MB 74e4af14a1f151ef…
data/sft/teacher_read.jsonl 39 0.0 MB 8da21215bd400287…
data/final-pass/gate6-hx3.jsonl 2,893 1.8 MB 93e8e18949a524c1…
data/final-pass/gate7-mix1400.jsonl 3,593 2.2 MB 52046f4898cf765e…
data/final-pass/gate8-mix1400-i2.jsonl 3,614 2.2 MB 32ea1de8ba88ff90…
data/final-pass/gate9-mix1400-i2.jsonl 3,614 2.2 MB 99fce26dea896c4c…
data/final-pass/gate10-hx5.jsonl 3,996 2.5 MB 7b240dde88f9e59c…
data/final-pass/gate11-read.jsonl 3,848 2.4 MB 2865e4f337111296…

data/pretrain/* lines are exactly {"text": …}; data/sft/* lines are exactly {"conversations": [{"role": …, "content": …}]}. The schema is in SCHEMA.md, the gates that passed are in verify_report.md, and every file is hashed in checksums.sha256.

What it is

Six sources — the official SuperCollider tree, 321 Quarks, the sccode.org public dump, 700 scsynth.org threads, sc3-plugins, and the project's own .scd sessions — normalised, deduped, chunk-packed at 512 tokens with a document- and chunk-disjoint validation split, and turned into an SFT pool whose code answers were compiled with sclang 3.14.1 before being written (765 pairs dropped for not parsing).

Full provenance and the per-source licence table: LICENCES.md.

Intended use

Pretraining and supervised fine-tuning for small SuperCollider domain models: SynthDefs, UGens, Patterns, Ndef, buses, envelopes, and diagnosing why a patch does not compile. Not a general text corpus, and not a substitute for the SuperCollider documentation, which is the better teacher and is one of the sources.

If you use it to train, measure the same way: compile the answers with the real compiler, and check that the patch binds the names it reads. SCHEMA.md and the ladder branch describe the exact protocol.

Where the model is

The consumer of this corpus, vecnode/sc-minimind-3-moe, is a private repository: its weights are private while the weight licence is undecided. The dataset is public; the model is not. Every release's measured numbers are on the ladder branch of this repo, so the result is readable even where the weights are not.

Try a checkpoint by hand

The source repository ships the harness used to test a checkpoint by ear rather than by number: harness/live/. It serves a page with two buttons — Generate (the model answers, through the same bracket guard and the same sclang compile gate) and ▶ Play this in SuperCollider, which sends the answer's code to the machine's own scsynth and frees it when it is done. That is the only honest test of "does this patch make a sound": compiling is not playing.

python scripts/serve_sc.py --root data/ladder --run exp-0058-gate9 --weight full_sft     --port 8710 --play-seconds 8     # then open http://127.0.0.1:8710/

Licence and takedown

This is the full profile, published as license: other. It includes text derived from sccode.org, which states no licence, and from scsynth.org, whose posts belong to their authors. It is published with takedown on request and is not a grant of rights over that text: if you own material here and want it removed, open an issue or contact the account and it will be removed from the next revision.

If you need a build whose every source is redistributable, ask for the cleared profile (sccode removed, Quarks licence-filtered); it is the build intended for v1.0.0. It does not exist yet, and this card will say so until it does.

Versioning

Every upload is a commit. Working revisions are tagged v0.1.x and increment on any data or manifest change. The training harness records the revision in each experiment's config.json, so a run names the exact bytes it used — check a release against checksums.sha256 and against the ladder branch.