BUT-FIT/DiCoP_v0.1
DiCoP — Diarization-Conditioned Parakeet
Target-speaker ASR built on nvidia/parakeet-tdt-0.6b-v2. Given audio and a diarization, it transcribes one speaker at a time.
The conditioning lives inside the encoder. Every frame is labelled silence / target / non-target / overlap (STNO), and each Conformer layer applies a small learned per-class transform — an FDDT block — before the layer runs. A whole meeting is decoded per speaker in one pass: no segmentation, no speaker embeddings, no separation front-end.
Usage
This checkpoint cannot be loaded by `nemo_toolkit` alone. Its encoder _target_ points at a class that lives in the DiCoP repository, and NeMo only resolves _target_s inside the nemo package unless that check is relaxed.
git clone https://github.com/BUTSpeechFIT/DiCoP && cd DiCoP
pip install -r requirements.txt
python infer.py \
--checkpoint BUT-FIT/DiCoP_v0.1 \
--rttm /path/to/rttms/ --audio-dir /path/to/audio/ \
--output hyp.stmTo drive the model directly:
import sys
sys.path.insert(0, "/path/to/DiCoP")
from utils.nemo import allow_external_nemo_targets, register_legacy_nemo_aliases
allow_external_nemo_targets()
register_legacy_nemo_aliases()
from src.model.asr_bpe_model import EncDecRNNTBPEModelSTNO
model = EncDecRNNTBPEModelSTNO.from_pretrained("BUT-FIT/DiCoP_v0.1")transcribe() is deliberately disabled on this model. NeMo's transcription path cannot supply a mask, and an unconditioned encoder returns a fluent transcript of whoever is loudest — which looks correct but is not target-speaker output. Use infer.py, or transcribe_stno() with an STNO mask you build yourself (see src/data/stno.py).
Results
Oracle diarization, cpWER and tcpWER (collar 5s) in percent, whisper_nsf normalization applied. AMI's half-hour sessions used windowed local attention (-O model.encoder.self_attention_model=rel_pos_local_attn -O model.encoder.att_context_size=[256,256]) to bound memory; every other set is full-context, full-session.
Contact
If you have any questions, reach out to: iklement@fit.vut.cz
