Skip to content

Fix reference-word counts in WER computation - #197

Merged
jesus-villalba merged 5 commits into
hyperion-ml:hadesfrom
stachu86:master
Sep 18, 2026
Merged

jesus-villalba merged 5 commits into
hyperion-ml:hadesfrom
stachu86:master

Conversation

@stachu86

Copy link
Copy Markdown

WER incorrectly included insertions in the reference-word count. Count reference tokens directly for corpus and per-utterance statistics, and exclude alignment placeholders ("*") from per-word reference totals.

Regression coverage checks error counts, corpus and per-utterance WER, and per-word reference totals.
Validation: pytest tests/hyperion/metrics/test_wer.py

jesus-villalba and others added 5 commits July 31, 2026 14:35
Compared with `master`, this release includes 479 commits and 2,461 changed files.

## Highlights

- Modernized package structure separating NumPy and PyTorch functionality.
- Added PyTorch support for:
  - Waveform and pretrained-model x-vector extraction and training.
  - Wav2Vec2, WavLM, HuBERT, Whisper, and Wav2Vec2-BERT integrations.
  - Q-vector models and fine-tuning.
  - RNN-T and transducer training, decoding, and fine-tuning.
  - ConvNeXt, Conformer, Transformer, ResNet, and SpineNet architectures.
  - DINO self-supervised x-vector training.
  - DAC, streaming DAC, FreeVC, VAE/VQ-VAE, and voice anonymization.
  - Audio discriminators and speech-quality models.
- Added improved trainers with distributed training, AMP, compilation, SWA, EMA, checkpointing, and multi-GPU diagnostics.
- Added Hugging Face integrations, feature fusion, LoRA, and pretrained encoder fine-tuning.
- Added tokenizer implementations and tokenizer-training utilities.
- Added speech-quality metrics including SNR, LSD, PESQ, STOI, DNSMOS, and UTMOS.
- Added verification, calibration, DET/DCF plotting, anonymization, VoxProfile, and adversarial-evaluation tools.
- Added new dataset abstractions and preparation tools, including:
  - `HyperDataset`
  - Dataset cleaning
  - Trial/cohort splitting
  - Fold generation
  - Improved recording, segment, and metadata handling
- Added data preparation support for LibriSpeech, LibriTTS, LibriTTS-R, MLS, Common Voice, VoxCeleb, SRE16/18/19/21/24, ASVspoof, DIHARD, JANUS, Voices Challenge, and other speech datasets.
- Added and updated recipes for VoxCeleb, LibriSpeech ASR, LRE22, SRE24, and ASVspoof 2024.
- Added `hyperion-submit` for Slurm and cluster
@jesus-villalba
jesus-villalba changed the base branch from master to hades September 18, 2026 21:06
@jesus-villalba
jesus-villalba merged commit c79f993 into hyperion-ml:hades Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants