/ Модель

Характеристики

Лицензия
CC BY-SA 4.0
Опубликована
4 ноя 2026

staleynet-checkpoints

Генерация аудиоТекст → аудио3 профессии
0скачиваний за 30 дней2лайкавеса обновлены14 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

StaleyNET — компактный экспериментальный генератор музыки по текстовым запросам с отдельными вариантами, учитывающими текст песни.

StaleyNET — набор контрольных точек генератора музыки по текстовому описанию, разработанный автором репозитория и обученный с нуля. Модель использует Transformer и остаточный векторный квантователь; звук восстанавливается вокодером Griffin–Lim. Для текстовых запусков указано около 7,1 млн параметров, для варианта pq-large — около 42,9 млн. Контекст Transformer составляет 768 токенов, а у pq-large — 1152; аудиопредставление основано на 128 мел-полосах с частотой 24 кГц. Отдельные запуски принимают тексты песен.

Модель предназначена для экспериментальной генерации музыки по текстовым запросам, включая варианты с текстом песни. Она компактна и ориентирована на запуск на edge-оборудовании, однако небольшой объём обучающих данных и качество Griffin–Lim ограничивают качество звучания и разборчивость вокала. Часть обучающих записей имеет ограничения NonCommercial и NoDerivatives, поэтому checkpoints не следует использовать коммерчески там, где это запрещено лицензиями исходных записей; имитация голоса певца без согласия также не рекомендуется. Файлы checkpoints распространяются по CC BY-SA 4.0 в пределах, допускаемых лицензиями обучающих данных.

Сценарии применения

  • создание музыкального фрагмента по текстовому описанию
  • эксперименты с генерацией музыки на edge-оборудовании
  • генерация музыки с заданным текстом песни
  • изучение генерации аудиотокенов с остаточным векторным квантованием

Ограничения

Вокодер Griffin–Lim может создавать фазовое, менее естественное звучание, а небольшие модели не предназначены для промышленной генерации музыки. Разборчивость текста песен ограничена из-за малого объёма обучающей выборки; лицензии исходных записей могут запрещать коммерческое использование.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

StaleyNET checkpoints

Source on GitHub staleynet-audio on crates.io Paper Book Release v0.1.2 Dataset: 3.1 GB

Weights for StaleyNET, a text-prompted music generator trained from random initialization in Rust on NVIDIA edge GPUs. The Transformer, residual vector quantizer, Griffin-Lim vocoder, and GPU kernels are implemented in the project.

The code, paper, and book live in the companion repository: https://github.com/arpanpathak/staleynet.

Release v0.1.2

  • GitHub release: https://github.com/arpanpathak/staleynet/releases/tag/v0.1.2
  • staleynet-audio 0.1.2 on crates.io: https://crates.io/crates/staleynet-audio. Its page explains each audio step with intuition and runnable examples.
  • Since v0.1.1: the GPU kernels are organised into one module per topic, the AGX Thor builds against cuda-oxide's main branch, and the paper has been revised with hardware, benchmark and tokenizer appendices.
  • New in these repositories: the lyrics-thor, lyrics-thor-long and pq-large runs, and the band-group token caches they train on.
  • CI: rustfmt, clippy with warnings denied, cargo-deny, the audio coverage gate, and documentation tests for every example on the crate page.

At a glance

ItemValue
Checkpointed runs9
Parameters7,099,904 for text-only runs; 7,165,440 for the lyrics runs; 42,858,496 for pq-large
Transformerwidth 256, 8 heads, 6 layers, context 768 (pq-large: width 512, 8 layers, context 1152)
Audio tokens4 residual codebooks of 1024 entries (pq-large: 4 band groups × 4 levels = 16 codebooks of 1024 entries)
Audio features128 mel bands at 24 kHz, FFT 1024, hop 256
Training dataSong Describer Dataset and JamendoLyrics MultiLang
LicenseCC BY-SA 4.0, subject to the upstream dataset terms

Checkpoints

RunPurposeParametersbest steplatest stepTraining tracks
thor-basebase text-to-music model7,099,9040None667
smokepipeline smoke test7,099,90401,500667
overfit-one-takesingle-take memorisation check7,099,9042002001
vocal-scratchvocal-filtered model from scratch7,099,9045,5006,000281
vocal-finetunevocal fine-tune7,099,904250None281
lyrics-orinlyrics-conditioned model7,165,4403,7504,000543 (73 with lyrics)
lyrics-thorlyrics-conditioned model trained on the AGX Thor7,165,4404,7508,000543 (73 with lyrics)
lyrics-thor-longthe same model trained for 20,000 steps7,165,44019,75020,000543 (73 with lyrics)
pq-largelarger model on the band-group tokenizer (in progress)42,858,4967,0007,000742 (75 with lyrics)

The step values are exactly what each model.json records. best/ is the weight-only checkpoint selected by validation. latest/ is the resumable checkpoint with AdamW moments. Some early runs stored only best/, and thor-base and smoke record step 0 in their best/model.json. Where a latest/ exists, prefer it for the late training state.

About pq-large

pq-large is still training on the Jetson AGX Thor (128 GB). The files here are a snapshot at step 7,000 of 20,000, and they will be replaced as the run advances. Its validation loss (5.135 nats per token at step 7,000) is averaged over 16 codebooks of a different tokenizer, so it cannot be compared directly with the 4-codebook runs above.

The model reads codes from the band-group tokenizer, which splits the 128 mel bands into 4 groups and quantises each group with 4 residual levels. That tokenizer is stored as checkpoints/pq-large/tokenizer.json, and the matching caches are cache-g4l4f1/, cache-pq-jamendolyrics/ and cache-pq-recordings/ in the dataset repository. Pass --cache data/cache-g4l4f1 when generating with this run.

evaluations/<run>/ holds the paired lyrics test of each lyrics run: the per-track loss with aligned, removed and mismatched lyrics.

Training progress

The runs on the Jetson AGX Thor publish their metrics here every two hours (deploy/hf/publish.sh in the code repository): metrics/<run>.jsonl holds every logged event, and plots/<run>.png shows, from left to right, the training and validation loss in nats per code against optimizer step, the latest validation loss of each codebook (coarse levels are far easier to predict than fine ones), and the throughput in positions per second.

pq-large training curves

Layout

checkpoints/<run>/best/      weights only       model.json + tensors.bin
checkpoints/<run>/latest/    weights + AdamW    model.json + tensors.bin
configs/                     canonical training configurations
run-configs/                 per-run config.json where the run saved one
metrics/                     full metrics.jsonl for every run
logs/                        captured training logs and the tokenizer sweeps
evaluations/<run>/           paired lyrics evaluations

tensors.bin is little-endian f32 in parameter-visitor order. latest/ appends the AdamW first moments and then the second moments. model.json records the tensor manifest, the step, whether optimizer state is present, and the training configuration.

Download and use

hf download arpanpathak/staleynet-checkpoints \
  --repo-type model --local-dir staleynet-checkpoints

# From the code repository, on a Jetson with the cuda-oxide toolchain:
cargo oxide build -- --release
staleynet sing \
  --cache data/cache \
  --run staleynet-checkpoints/checkpoints/thor-base/best \
  --prompt "slow acoustic ballad, warm female voice" \
  --out song.wav

For the lyrics model:

staleynet sing \
  --run staleynet-checkpoints/checkpoints/lyrics-orin/best \
  --prompt "grunge rock, raw male voice" \
  --lyrics-file song.txt \
  --out song.wav

Architecture: width 256, 8 heads, 6 layers, feed-forward multiplier 4, context length 768, 4 residual codebooks of 1024 entries, 128 mel bands at 24 kHz. lyrics-orin adds a 256-byte lyrics field.

Training data and licensing

  • Song Describer Dataset (SDD), Zenodo record 10072001: 706 Jamendo recordings with human captions. Captions are CC BY-SA 4.0. The recordings carry the per-track Creative Commons licenses in audio_licenses.txt, including CC BY-NC-ND and CC BY-NC-SA.
  • JamendoLyrics MultiLang, https://github.com/f90/jamendolyrics: code and metadata are MIT. Songs and lyrics carry the per-song CC licenses in JamendoLyrics.csv.

Because the training audio includes NonCommercial and NoDerivatives tracks, these checkpoints are research artifacts, not a commercial product. Do not use them commercially where the upstream recording licenses forbid it, and do not use them to impersonate a singer without consent.

The checkpoint files are offered under CC BY-SA 4.0 (LICENSE-CC-BY-SA-4.0.txt) to the extent the upstream dataset licenses allow. See NOTICE for the full provenance statement and SHA256SUMS for integrity.

Known limitations

  • Griffin-Lim produces phasey audio compared with a learned vocoder.
  • The models are small edge models, not production music systems.
  • The lyric models were trained on a small lyrics subset, so lyric intelligibility is limited.
  • The checkpoints are research artifacts and have no warranty.

Citation

@misc{pathak2026staleynet,
  author = {Arpan Pathak},
  title  = {StaleyNET: Text-Conditioned Music Generation Trained from Scratch
            on Edge GPUs in Rust},
  year   = {2026},
  url    = {https://github.com/arpanpathak/staleynet}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Не удалось определить, чем загружать веса модели (нет library_name и architectures).

Ревизия весов
901371d

0 моделей