Downloads · 30 days
0
Craftic/audio-transition-inpainting-checkpoints
audio-transition-inpainting-checkpoints is a audio-to-audio model from Craftic. Use it for the audio-to-audio task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as other.
Research models trained for musical audio transition inpainting as part of the final NIR project.
Downloads · 30 days
0
Access
Public
Updated Jul 2, 2026
Repo size
27 GB
Likes
0
Public
Click a slice to open those files.
.pt27 GB · 100%
From the Hugging Face model README
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:
A, masked transition t, and right context BTThe repository contains 24 project-owned checkpoints covering six training lines and four model families. Its models/ tree mirrors the canonical project layout.
| Training line | Objective | Training corruption | Scale |
|---|---|---|---|
small_dwdse_full_gap | DWDSE | full-gap | small |
base_dwdse_full_gap | DWDSE | full-gap | base |
base_dwdse_span_corruption | DWDSE | span-corruption | base |
small_ce_full_gap | cross-entropy | full-gap | small |
base_ce_full_gap | cross-entropy | full-gap | base |
base_ce_span_corruption | cross-entropy | span-corruption | base |
Each training line includes:
The tokenizer weights and raw MusicNet data are not included in this repository.
Exact selected steps, validation values, and run metadata are stored under metadata/<training-line>/.
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:
| Model | Transition LSD ↓ | FAD-style ↓ | Boundary score ↓ | Inference, s ↓ |
|---|---|---|---|---|
| DSP WSOLA equal-power | 3.373 | 6,266.7 | 1.173 | 0.115 |
| Base CE AIDD | 3.576 | 11,134.9 | 1.504 | 1.709 |
| Base CE diffusion denoiser | 4.975 | 22,068.2 | 1.398 | 0.010 |
| Base CE Transformer | 5.852 | 28,899.7 | 3.547 | 0.008 |
| Base CE discrete diffusion Transformer | 6.176 | 33,575.8 | 4.290 | 1.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.
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.
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
The following locally used third-party checkpoints are not redistributed here:
They must be obtained from their original authors/distribution channels under the applicable licenses.
CHECKSUMS.csv records SHA-256, byte size, training line, architecture, checkpoint step, and selection metadata for every uploaded checkpoint.
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.