/ Модель

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

Лицензия
Своя лицензия
Библиотека
pytorch
Опубликована
1 июл 2026

audio-transition-inpainting-checkpoints

Обработка аудиоАудио → аудио

Набор исследовательских PyTorch-чекпойнтов для восстановления пропущенных музыкальных переходов по левому и правому аудиоконтексту.

0скачиваний за 30 дней0лайковвеса обновлены2 июл 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

Craftic/audio-transition-inpainting-checkpoints — набор исследовательских чекпойнтов проекта по восстановлению пропущенных музыкальных переходов. Репозиторий содержит 24 чекпойнта четырёх семейств: Transformer, диффузионный денойзер, дискретный диффузионный Transformer и AIDD. Модель принимает левый и правый аудиоконтекст и замаскированный участок, представленные токенами WavTokenizer, и восстанавливает переход между контекстами.

Набор предназначен для экспериментов по аудио-инпейнтингу, сравнения архитектур, функций потерь и режимов обучения, а также воспроизводимости оценки на MusicNet. В протоколе используются частота дискретизации 24 кГц, контексты по 96 токенов и переходы длиной 24–192 токена. В отчёте Base CE AIDD показывает наиболее сильные результаты среди проектных вариантов, но проверка ограничена фиксированными случаями MusicNet и не заменяет контролируемое прослушивание.

Чекпойнты представлены в собственном формате PyTorch и требуют исходной настройки WavTokenizer; веса токенизатора и данные MusicNet в репозиторий не включены. Готового производственного API нет, а результаты не подтверждают пригодность для общего генерирования музыки или производственного восстановления аудио без дополнительной проверки. Лицензия указана как other; репозиторий приватный, а условия распространения следует оценивать отдельно от лицензий внешних данных и токенизаторов.

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

  • восстановление пропущенного фрагмента между музыкальными сегментами
  • эксперименты с инпейтингом классической музыки
  • сравнение Transformer и диффузионных моделей для восстановления аудио
  • оценка влияния длины пропуска на качество аудиореконструкции
  • воспроизведение исследовательского протокола на MusicNet

Ограничения

Чекпойнты требуют исходной настройки WavTokenizer и представлены в собственном формате PyTorch; веса токенизатора и данные MusicNet не включены. Обучение и оценка ограничены протоколом MusicNet, готового производственного API нет, а объективные метрики не заменяют контролируемое прослушивание.

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

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

Открыть на Hugging Face

Craftic/audio-transition-inpainting-checkpoints

Research models trained for musical audio transition inpainting as part of the final NIR project.

The task is to reconstruct a missing musical transition T from left and right contexts:

A | masked transition t | B  →  reconstructed transition T

Audio is represented with WavTokenizer tokens. The canonical evaluation protocol uses MusicNet, fixed left/right contexts of 96 tokens, and transition lengths of 24, 48, 96, 144, and 192 tokens.

This repository contains:

  • 24 PyTorch checkpoints from six controlled training lines
  • four model families: Transformer, diffusion denoiser, discrete diffusion Transformer, and AIDD
  • checkpoint-selection and evaluation tables
  • the architecture and loading code used by the project
  • SHA-256 checksums for every project checkpoint

Model summary

  • Task: musical audio transition inpainting
  • Input: left context A, masked transition t, and right context B
  • Output: reconstructed transition T
  • Audio representation: WavTokenizer discrete tokens
  • Sample rate: 24 kHz
  • Context: 96 tokens on each side
  • Transition lengths: 24, 48, 96, 144, and 192 tokens
  • Model families: Transformer, continuous diffusion denoiser, discrete diffusion Transformer, AIDD
  • Training objectives: DWDSE and cross-entropy
  • Training corruption: full-gap and span-corruption

Configuration

The repository contains 24 project-owned checkpoints covering six training lines and four model families. Its models/ tree mirrors the canonical project layout.

Training lineObjectiveTraining corruptionScale
small_dwdse_full_gapDWDSEfull-gapsmall
base_dwdse_full_gapDWDSEfull-gapbase
base_dwdse_span_corruptionDWDSEspan-corruptionbase
small_ce_full_gapcross-entropyfull-gapsmall
base_ce_full_gapcross-entropyfull-gapbase
base_ce_span_corruptioncross-entropyspan-corruptionbase

Each training line includes:

  • Transformer;
  • diffusion denoiser;
  • discrete diffusion Transformer;
  • AIDD.

Training data

  • Dataset: MusicNet
  • Domain: classical music recordings
  • Split unit: complete tracks
  • Evaluation: 75 fixed cases covering five gap lengths and three positions
  • Tokenizer: WavTokenizer at 24 kHz

The tokenizer weights and raw MusicNet data are not included in this repository.

Training setup

  • Base runs: up to 100,000 optimization steps
  • Checkpoint selection: best validation loss
  • Objectives: DWDSE or token cross-entropy
  • Corruption protocols: full-gap or span-corruption
  • Primary evaluation: strict full-gap reconstruction
  • Diagnostic evaluation: span-corruption with 50% masked transition tokens

Exact selected steps, validation values, and run metadata are stored under metadata/<training-line>/.

Results

The strongest project-owned direction is Base Cross-Entropy AIDD. In strict full-gap evaluation it substantially closes the gap to the DSP reference, while the AIDD family is more robust than the other learned architectures as transition length increases.

Strict full-gap results for the Base CE line:

ModelTransition LSD ↓FAD-style ↓Boundary score ↓Inference, s ↓
DSP WSOLA equal-power3.3736,266.71.1730.115
Base CE AIDD3.57611,134.91.5041.709
Base CE diffusion denoiser4.97522,068.21.3980.010
Base CE Transformer5.85228,899.73.5470.008
Base CE discrete diffusion Transformer6.17633,575.84.2901.217

Span-corruption is reported separately and is not directly comparable to strict full-gap evaluation. In that diagnostic protocol, Base CE AIDD reaches transition LSD 2.906.

The metadata/ directories contain the exact checkpoint-selection records, training summaries, and full-gap/span-corruption evaluation summaries used in the project report.

Usage

Files are PyTorch training checkpoints rather than standalone Transformers-format models.

From the root of the canonical project, download all 24 project checkpoints directly into the expected models/<training-line>/ directories with:

hf download Craftic/audio-transition-inpainting-checkpoints models/ --local-dir .

The Hub repository uses the same relative paths as the project, so no additional copying or renaming is required. Existing third-party files under models/pretrained/ are not modified. File integrity can be checked against CHECKSUMS.csv.

Base checkpoints generally contain:

{
    "step": int,
    "model_name": str,
    "model": state_dict,
    "optimizer": optimizer_state,
    "config": dict,
    "last_loss": float,
    "params": int,
    "ema_model": state_dict,
}

Small checkpoints may contain only the selected model state and selection metadata. Inspect the keys before loading:

import torch

checkpoint = torch.load("path/to/checkpoint.pt", map_location="cpu", weights_only=False)
print(checkpoint.keys())
state_dict = checkpoint["model"]

The corresponding architecture and loader implementation is preserved under code/. These are custom research models and are not loadable with transformers.AutoModel.

Repository structure

models/
├── small_dwdse_full_gap/
├── base_dwdse_full_gap/
├── base_dwdse_span_corruption/
├── small_ce_full_gap/
├── base_ce_full_gap/
└── base_ce_span_corruption/
metadata/
└── <training-line>/*.csv|*.json
code/
├── models/*.py
├── training_runs.py
├── model_training.py
├── experiment_protocol.py
└── samplers.py
CHECKSUMS.csv

External weights intentionally excluded

The following locally used third-party checkpoints are not redistributed here:

  • pretrained AIDD MusicNet and MAESTRO checkpoints;
  • WavTokenizer checkpoint;
  • DAC checkpoint;
  • EnCodec checkpoint.

They must be obtained from their original authors/distribution channels under the applicable licenses.

Notes

  • Full-gap and span-corruption results are different protocols and must not be averaged together.
  • FAD-style and ODG-style are reproducible local proxy metrics, not official external FAD/PEAQ implementations.
  • Model selection was performed using validation loss; evaluation tables contain the fixed MusicNet cases used in the project.
  • The checkpoints include optimizer/EMA state where available and are therefore significantly larger than inference-only exports.

Integrity

CHECKSUMS.csv records SHA-256, byte size, training line, architecture, checkpoint step, and selection metadata for every uploaded checkpoint.

Limitations

  • Custom PyTorch checkpoint format
  • Requires the original WavTokenizer setup
  • Trained and evaluated only on the project MusicNet protocol
  • Objective metrics do not replace controlled listening tests
  • Full training checkpoints are large because optimizer and EMA states are preserved
  • No packaged production inference API

Intended use

  • Research reproducibility
  • Audio inpainting experiments
  • Comparison of architecture, loss, corruption, and scale
  • Continued work on Base CE AIDD
  • Development of boundary-aware and efficient inference strategies

Not intended use

  • General-purpose music generation
  • Production audio restoration without additional validation
  • Safety-critical or forensic audio processing
  • Redistribution of excluded third-party checkpoints

Access

This repository is private and intended for research preservation, reproducibility, and future continuation of the project. Redistribution and publication decisions should be made separately from the licenses of external datasets and tokenizers.

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

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

GPU в ailist

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

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

Обработка «аудио → аудио» пока не поддерживается.

Ревизия весов
1d40c59

0 моделей