This repository represents a
baseline
(basic solution) for participating in the
ReVoice-2025
hackathon. The project is based on the
Miipher
model and adapted for the competition. We tried to make the code as clean, fast, and convenient as possible.
The script will automatically download Miipher and HiFiGAN weights to the
./models
folder.
python3 scripts/download_weights.py
3. Dataset Preparation
Training the model requires a prepared dataset (clean + noisy audio + phonemes).
The script takes your folder with clean audio, adds noise (using the degrader config), and generates phonemes (using GigaAM for transcription if no text is present).
Important
: Before running, edit
examples/configs/degrader_config.yaml
, specifying the path to your noise files (
noise_dir
parameter etc., if used).
--output_dir
: Folder where restored files will be saved.
--lang_code
: Language code for phonetization (default
rus
). If text transcripts (
.txt
) exist, the script will try to find them. Otherwise, ASR (GigaAM) will be used.
8. Quality Evaluation (Metrics)
To calculate metrics (SI-SNR, STOI, MelLoss), use
eval.py
. The script compares the folder with restored files (hypotheses) and the folder with clean reference files (references).
--ref_dir
: Folder with clean original files (files must have matching names).
--output_csv
: Path to save the results table (default
metrics_results.csv
).
📂 Project Structure
examples/train.py
— Main script for starting training.
examples/configs/config.yaml
— Configuration for hyperparameters, paths, and the model.
run_miipher.py
— Script for running inference on a folder.
eval.py
— Script for calculating metrics on a folder.
scripts/prepare_dataset.py
— Script for dataset generation (augmentation + phonemization).
scripts/download_weights.py
— Weight downloader.
src/miipher/lightning_module.py
— Training logic (Pytorch Lightning), training step, validation, metrics.
src/miipher/dataset
— Data loading logic (Dataset, DataModule).
src/miipher/metrics/eval_metrics.py
— Implementation of SI-SNR, STOI, MelLoss metrics.
Runs of MTUCI ru-Miipher on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About ru-Miipher huggingface.co Model
ru-Miipher huggingface.co
ru-Miipher huggingface.co is an AI model on huggingface.co that provides ru-Miipher's model effect (), which can be used instantly with this MTUCI ru-Miipher model. huggingface.co supports a free trial of the ru-Miipher model, and also provides paid use of the ru-Miipher. Support call ru-Miipher model through api, including Node.js, Python, http.
ru-Miipher huggingface.co is an online trial and call api platform, which integrates ru-Miipher's modeling effects, including api services, and provides a free online trial of ru-Miipher, you can try ru-Miipher online for free by clicking the link below.
MTUCI ru-Miipher online free url in huggingface.co:
ru-Miipher is an open source model from GitHub that offers a free installation service, and any user can find ru-Miipher on GitHub to install. At the same time, huggingface.co provides the effect of ru-Miipher install, users can directly use ru-Miipher installed effect in huggingface.co for debugging and trial. It also supports api for free installation.