Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    TypeError
Message:      Couldn't cast array of type
struct<SPEAKER_00: struct<named: string, score: double, n_turns: int64>, SPEAKER_01: struct<named: string, score: double, n_turns: int64>, SPEAKER_02: struct<named: string, score: double, n_turns: int64>, SPEAKER_03: struct<named: string, score: double, n_turns: int64>>
to
{'spk_r0': {'named': Value('string'), 'score': Value('float64'), 'n_turns': Value('int64')}, 'spk_r1': {'named': Value('string'), 'score': Value('float64'), 'n_turns': Value('int64')}, 'spk_r2': {'named': Value('string'), 'score': Value('float64'), 'n_turns': Value('int64')}, 'spk_r3': {'named': Value('string'), 'score': Value('float64'), 'n_turns': Value('int64')}}
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2312, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2158, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<SPEAKER_00: struct<named: string, score: double, n_turns: int64>, SPEAKER_01: struct<named: string, score: double, n_turns: int64>, SPEAKER_02: struct<named: string, score: double, n_turns: int64>, SPEAKER_03: struct<named: string, score: double, n_turns: int64>>
              to
              {'spk_r0': {'named': Value('string'), 'score': Value('float64'), 'n_turns': Value('int64')}, 'spk_r1': {'named': Value('string'), 'score': Value('float64'), 'n_turns': Value('int64')}, 'spk_r2': {'named': Value('string'), 'score': Value('float64'), 'n_turns': Value('int64')}, 'spk_r3': {'named': Value('string'), 'score': Value('float64'), 'n_turns': Value('int64')}}

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Self-Hosted Voice-Attribution Prototype

Offline speaker-attribution pipeline for white-label meeting platforms: enrollment gallery + offline diarization + voiceprint (ECAPA) cluster matching, measured on labeled multi-speaker audio. All models are self-hostable and commercial-safe (CCBY-4.0 / Apache-2.0 / OpenMDW-1.1).

Files

File What it does
attribution_proto.py Shared core: LibriSpeech synthetic-meeting builder, ECAPA enrollment, gallery matching. selftest stage (CPU) validated the matcher: intra-speaker cosine 0.79-0.86 vs cross-speaker 0.16-0.37.
attribution_nemo.py GPU stage: NeMo diar_sortformer_4spk-v1 chunked into 80s windows (model session cap 90s), ECAPA cluster merge across windows, gallery naming.
attribution_ami.py Real-meeting eval: AMI ES2004a.Mix-Headset + official manual annotations (segments -> RTTM), enrollment from 3 in-meeting segments per speaker. Diarizer is swappable via bootstrap patches (bootstrap_community1.py, bootstrap_nemotron3.py).
bootstrap_community1.py Run the eval with pyannote speaker-diarization-community-1 (gated; ffmpeg + hub<1.0 + weights_only patch required).
bootstrap_nemotron3.py Run the eval with nvidia/Nemotron-3-Diarization via the model card's Transformers API (public, ungated, offline config).
results_sortformer_chunked.json Synthetic 4-spk meeting results.
results_ami_es2004a.json Real AMI meeting results (Sortformer chunked).
results_ami_es2004a_community1.json Real AMI meeting results (pyannote community-1).
results_ami_es2004a_nemotron3.json Real AMI meeting results (Nemotron-3-Diarization).

Results (AMI ES2004a.Mix-Headset β€” all rows: same recording, same ECAPA gallery, same scorer, manual-annotation references)

Diarizer Attribution accuracy DER (manual refs) Diarization RTF
Sortformer v1 chunked (80s windows) 67.9-70.7% 37.4% 0.026
pyannote community-1 70.5% 24.9% 0.023
Nemotron-3-Diarization (2026-09-23) 71.9% 34.3%† 0.0034

† Under manual segment references. NOT comparable to the 9-11% on NVIDIA's model card, which uses forced-alignment references. Under manual references, tight frame-level boundaries are penalized (reference labels include within-segment silence as speech), so this row cannot be read as "worse diarizer than community-1".

Synthetic 4-spk meeting (7 min, 10% overlap): Sortformer chunked = 91.7% attribution, 17.3% DER, RTF 0.022.

Key observations

  • Enrollment matching is solved and stable: cluster-to-name cosine scores were 0.85-0.95 in every run across three diarizers (synthetic and real audio), with 3 clips per speaker. All diarizers produced 4 clusters; every cluster was named one-to-one, none misnamed.
  • Attribution accuracy plateaus at ~70-72% across three diarizer generations (DER under one fixed protocol: 37.4% -> 24.9% -> 34.3%): named attribution does not track DER. The residual error is overlap/crosstalk regions where the single mixed mic contains blended speech and single-label references disagree by construction. In deployment, per-device audio tracks bypass this entirely.
  • DER itself is protocol-dependent: the same Nemotron-3 checkpoint scores ~9-11 on NVIDIA's card (forced-alignment refs) vs 34.3 here (manual refs). For the attribution metric, DER under either reference is the wrong yardstick β€” this is the benchmark-paper thesis.
  • Diarizer recommendation: ship nvidia/Nemotron-3-Diarization β€” 8 speakers (Sortformer v1 capped at 4), no session-length cap, ~6x faster than community-1 (RTF 0.0034), public/ungated, commercial license (OpenMDW-1.1), native Transformers support, and streaming configs down to 0.32s latency for live in-meeting labeling. pyannote community-1 remains the validated fallback. Nemotron-3 must still be paired with enrollment naming β€” its output channels are arrival-order anonymous speakers, exactly what the ECAPA gallery matcher names.

Disclosure

In the AMI eval, enrollment clips are reference segments from the same recording. This simulates enrollment captured via per-device tracks or the confirm-speaker UI during the meeting β€” the flows the product actually uses β€” and is not cross-corpus enrollment.

How to run

# CPU selftest (matcher validation)
python attribution_proto.py selftest --device cpu

# Synthetic GPU test
python attribution_nemo.py   # stage gputest

# Real AMI meeting (Sortformer)
python attribution_ami.py
# Real AMI meeting (pyannote community-1, gated: needs HF_TOKEN with repo access)
python bootstrap_community1.py   # patches the diarize block, then runs
# Real AMI meeting (Nemotron-3-Diarization, ungated)
python bootstrap_nemotron3.py

Dependencies:

  • Sortformer path: nemo_toolkit[asr], speechbrain, datasets, librosa, soundfile, pyannote.database+pyannote.metrics (DER). GPU: any >=8GB.
  • community-1 path: pyannote.audio==4.0.0 + ffmpeg (torchcodec) + huggingface_hub<1.0 + torch.load(weights_only=False) patch. Gated models.
  • Nemotron-3 path: ffmpeg, transformers (source; needs setuptools for the git build), accelerate, speechbrain, pyannote.database + pyannote.metrics (standalone β€” do NOT add pyannote.audio, it forces huggingface_hub<1.0 which conflicts with transformers 5.x).
Downloads last month
324