The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
clip_id: string
path: string
audio: struct<duration_sec: double>
child 0, duration_sec: double
provenance: list<item: string>
child 0, item: string
tool: struct<music: struct<assessed: bool, music_present: bool, derived_reliability: string, tempo_source: (... 977 chars omitted)
child 0, music: struct<assessed: bool, music_present: bool, derived_reliability: string, tempo_source: string, tempo (... 280 chars omitted)
child 0, assessed: bool
child 1, music_present: bool
child 2, derived_reliability: string
child 3, tempo_source: string
child 4, tempo_bucket: string
child 5, vocals_present: bool
child 6, instrumental_likely: bool
child 7, tempo_bpm: double
child 8, tempo_confidence: double
child 9, n_beats: int64
child 10, key_like: struct<label: string, score: double>
child 0, label: string
child 1, score: double
child 11, chord_progression: list<item: struct<label: string, start_sec: double, end_sec: double>>
child 0, item: struct<label: string, start_sec: double, end_sec: double>
child 0, label: string
child 1, start_sec: double
child 2, end_sec: double
child 12, source: string
child 1, speaker: struct<source: string, estimated_speakers: int64, overlap: struct<present: bool, ratio: double>, gro (... 52 chars omitted)
child 0, source: string
child 1, estimated_speakers: int64
child 2, overlap: struct<pre
...
ld 2, pitch_variation: string
child 3, pause_density: string
child 4, voice_quality: string
child 5, derived_reliability: string
child 5, rich_caption: string
child 6, rich_caption_src: string
owner: string
native: struct<qa: list<item: struct<q: string, a_full: string, a_final: string, has_think: bool, stage1_rol (... 59 chars omitted)
child 0, qa: list<item: struct<q: string, a_full: string, a_final: string, has_think: bool, stage1_role: string, (... 47 chars omitted)
child 0, item: struct<q: string, a_full: string, a_final: string, has_think: bool, stage1_role: string, authored: s (... 35 chars omitted)
child 0, q: string
child 1, a_full: string
child 2, a_final: string
child 3, has_think: bool
child 4, stage1_role: string
child 5, authored: string
child 6, src: string
child 7, family: string
audio_ids: list<item: string>
child 0, item: string
excluded: struct<why: string, detail: string, at: string, from: string>
child 0, why: string
child 1, detail: string
child 2, at: string
child 3, from: string
clips: int64
lanes: list<item: string>
child 0, item: string
four_values: struct<measured: string, ran_negative: string, never_run: string, audio_missing: string>
child 0, measured: string
child 1, ran_negative: string
child 2, never_run: string
child 3, audio_missing: string
built_at: string
schema: string
version: string
sources: int64
to
{'version': Value('string'), 'built_at': Value('string'), 'clips': Value('int64'), 'sources': Value('int64'), 'audio': {'repo': Value('string'), 'note': Value('string')}, 'excluded': {'dir': Value('string'), 'note': Value('string')}, 'schema': Value('string'), 'lanes': List(Value('string')), 'four_values': {'measured': Value('string'), 'ran_negative': Value('string'), 'never_run': Value('string'), 'audio_missing': Value('string')}}
because column names don't match
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 2951, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2461, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2486, 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 547, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 430, 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 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
clip_id: string
path: string
audio: struct<duration_sec: double>
child 0, duration_sec: double
provenance: list<item: string>
child 0, item: string
tool: struct<music: struct<assessed: bool, music_present: bool, derived_reliability: string, tempo_source: (... 977 chars omitted)
child 0, music: struct<assessed: bool, music_present: bool, derived_reliability: string, tempo_source: string, tempo (... 280 chars omitted)
child 0, assessed: bool
child 1, music_present: bool
child 2, derived_reliability: string
child 3, tempo_source: string
child 4, tempo_bucket: string
child 5, vocals_present: bool
child 6, instrumental_likely: bool
child 7, tempo_bpm: double
child 8, tempo_confidence: double
child 9, n_beats: int64
child 10, key_like: struct<label: string, score: double>
child 0, label: string
child 1, score: double
child 11, chord_progression: list<item: struct<label: string, start_sec: double, end_sec: double>>
child 0, item: struct<label: string, start_sec: double, end_sec: double>
child 0, label: string
child 1, start_sec: double
child 2, end_sec: double
child 12, source: string
child 1, speaker: struct<source: string, estimated_speakers: int64, overlap: struct<present: bool, ratio: double>, gro (... 52 chars omitted)
child 0, source: string
child 1, estimated_speakers: int64
child 2, overlap: struct<pre
...
ld 2, pitch_variation: string
child 3, pause_density: string
child 4, voice_quality: string
child 5, derived_reliability: string
child 5, rich_caption: string
child 6, rich_caption_src: string
owner: string
native: struct<qa: list<item: struct<q: string, a_full: string, a_final: string, has_think: bool, stage1_rol (... 59 chars omitted)
child 0, qa: list<item: struct<q: string, a_full: string, a_final: string, has_think: bool, stage1_role: string, (... 47 chars omitted)
child 0, item: struct<q: string, a_full: string, a_final: string, has_think: bool, stage1_role: string, authored: s (... 35 chars omitted)
child 0, q: string
child 1, a_full: string
child 2, a_final: string
child 3, has_think: bool
child 4, stage1_role: string
child 5, authored: string
child 6, src: string
child 7, family: string
audio_ids: list<item: string>
child 0, item: string
excluded: struct<why: string, detail: string, at: string, from: string>
child 0, why: string
child 1, detail: string
child 2, at: string
child 3, from: string
clips: int64
lanes: list<item: string>
child 0, item: string
four_values: struct<measured: string, ran_negative: string, never_run: string, audio_missing: string>
child 0, measured: string
child 1, ran_negative: string
child 2, never_run: string
child 3, audio_missing: string
built_at: string
schema: string
version: string
sources: int64
to
{'version': Value('string'), 'built_at': Value('string'), 'clips': Value('int64'), 'sources': Value('int64'), 'audio': {'repo': Value('string'), 'note': Value('string')}, 'excluded': {'dir': Value('string'), 'note': Value('string')}, 'schema': Value('string'), 'lanes': List(Value('string')), 'four_values': {'measured': Value('string'), 'ran_negative': Value('string'), 'never_run': Value('string'), 'audio_missing': Value('string')}}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
BP-LM stage1 registry v1
音声 9,301,859 clip に 8 種類の道具注釈を付けた台帳です。
never_run は 0。 全 clip・全レーンについて「値がある」か「無い根拠がある」かの
どちらかで、未処理はありません。
2 つのリポジトリで完結します
| 中身 | 大きさ | |
|---|---|---|
KazukiY/bplm-stage1-registry-v1 |
台帳(このリポジトリ) | 14 GB |
KazukiY/stage1-audio-evidence-shards |
音声 47 ソース | 2.33 TB |
使い方
1. 取得する
pip install huggingface_hub
# 取得スクリプトを落とす
huggingface-cli download KazukiY/bplm-stage1-registry-v1 \
fetch_stage1_v1.py lane_defs.py lane_gap.py music_trigger_v2.py panns_music_vocab.py \
--repo-type dataset --local-dir .
# 台帳だけ(14 GB)— 注釈の解析はこれで足ります
python fetch_stage1_v1.py --dest ./bplm --stage registry
# 音声も(2.33 TB)
python fetch_stage1_v1.py --dest ./bplm
# 音声を絞る(試すならこれ。tess_wav は 0.16 GB)
python fetch_stage1_v1.py --dest ./bplm --stage audio --sources tess_wav --verify
最後に必ず検証が走り、registry の全 clip について音声が在るかを数えて出します。
=== 検証 ===
registry の clip 9,301,859
対象ソースの clip 2,778 (tess_wav)
音声が在る 2,778
**音声が無い** 0
✅ 指定したソースの音声が全部揃っている
2. 読む
import gzip, json, glob
for f in glob.glob("./bplm/registry/*.jsonl.gz"):
with gzip.open(f, "rt") as fh:
for line in fh:
rec = json.loads(line)
print(rec["clip_id"], rec["rel"])
print(rec["tool"]["rich_caption"][:80])
break
break
3. 音声の場所を解決する
from lane_defs import clip_path
p = clip_path(rec, "./bplm") # 明示した根
p = clip_path(rec) # $BPLM_AUDIO_ROOT を見る
⚠️ path は構築マシン(ABCI)の絶対パスです。 他の環境では使えません。
可搬なのは rel で、clip_path() を通してください。
⚠️ rel と展開後のファイル名が違う場合があります。
shard 作成時に可逆圧縮の flac へ変換したソースがあり
(tess_wav/1.wav → tess_wav/1.flac)、対応は manifests/manifest_<src>.jsonl の
sound → dest にあります。fetch_stage1_v1.py はこれを吸収します。
4. 四値を読む
import sys; sys.path.insert(0, ".")
from lane_gap import status_of # registry v1 に同梱
st, why = status_of(rec, "music")
# ("measured", None) / ("ran_negative", "events+draft") / ...
lane_gap.py は lane_defs.py / music_trigger_v2.py / panns_music_vocab.py を
同じディレクトリから読みます(music の陰性判定に使います)。4 本をまとめて置いてください。
全件を数えるときは registry の置き場を環境変数で渡します。
export BPLM_ROOT=./bplm # fetch_stage1_v1.py の --dest
# export BPLM_REGISTRY=./bplm/registry # 既定は $BPLM_ROOT/registry
python lane_gap.py --counts # 全レーンの四値(全件を読むので数十分)
1 行の形
{
"clip_id": "65e6f080a2a2c419",
"rel": "data/audio/librispeech_full/LibriSpeech/train-clean-360/8152/258993/8152-258993-0003.flac",
"path": "/groups/gcd50664/... (構築マシンの絶対パス。他環境では使わない)",
"audio": {"duration_sec": 15.105},
"provenance": ["librispeech", "salmonn"],
"native": {
"qa": [{"q": "Transcribe the speech in the input audio.",
"a_final": "IT WAS NECESSARY IN DISCUSSING THE ENTERPRISER...",
"src": "librispeech"}],
"transcript": {
"text": "IT WAS NECESSARY IN DISCUSSING THE ENTERPRISER...",
"src": "librispeech", "gold": true,
"word_timestamps_optional": [{"word": "IT", "start_sec": 0.4, "end_sec": 0.48}]
}
},
"tool": {
"events": {"tools": ["panns"],
"top_events": [{"label": "Speech", "score": 0.68, "score_source": "panns",
"start_sec": 0.0, "end_sec": 15.1, "time_source": "localized"}]},
"music": {"music_present": false, "tempo_bpm": 113.75, "tempo_confidence": 1.83,
"key_like": {"label": "Bb minor", "score": 0.44},
"chord_progression": [{"label": "D", "start_sec": 0.0, "end_sec": 0.19}]},
"speaker": {"source": "pyannote/speaker-diarization-community-1",
"estimated_speakers": 1, "turns": [...],
"overlap": {"present": false, "ratio": 0.0}},
"speech_activity": {"tool": "silero-vad", "speech_present": true, "speech_ratio": 0.87,
"segments": [{"start_sec": 0.4, "end_sec": 7.0}]},
"speech_emotion": {"tool": "emotion2vec", "global": {"label": "neutral", "score": 1.0}},
"prosody": {"tool": "opensmile", "feature_set": "eGeMAPSv02",
"global": {"energy_level": "medium", "speaking_rate": "normal",
"pitch_variation": "medium", "pause_density": "medium",
"voice_quality": "breathy"}},
"rich_caption": "The audio clip begins with a single, mature male voice..."
}
}
使った道具
| レーン | 道具 |
|---|---|
events |
PANNs (Cnn14) + SED |
music |
essentia(tempo / key / chord) |
speech_activity |
silero-vad |
speaker |
pyannote speaker-diarization-community-1 |
speech_emotion |
emotion2vec |
prosody |
openSMILE eGeMAPSv02(離散ラベル化) |
transcript |
コーパスの GOLD、無い場合は Qwen3-ASR-1.7B |
word_timestamps_optional |
Qwen3-ForcedAligner-0.6B |
rich_caption |
Bagpiper (OpusLM v2) |
単語時刻は 769万 clip にあります。speaker.turns と突き合わせれば who-said-what が作れます。
四値
各 clip × 各レーンは必ずこの 4 つのどれかです。
判定は保存されておらず、lane_defs.py の規則で読むたびに計算します
(規則を直せば全 clip に即反映されます)。
| 値 | 意味 |
|---|---|
measured |
道具が走って値が出た |
ran_negative |
走らせなくてよい根拠がある(根拠名つき) |
never_run |
値も根拠も無い。v1 では 0 |
audio_missing |
音が無い(_excluded/ に退避) |
v1 の内訳
measured ran_negative never_run
events 9,286,204 15,655 0
music 2,747,873 6,553,986 0
speech_activity 9,301,859 0 0
speaker 7,968,010 1,333,849 0
speech_emotion 7,948,758 1,353,101 0
prosody 7,948,758 1,353,101 0
transcript 7,926,473 1,375,386 0
rich_caption 9,301,859 0 0
ran_negative の根拠
| 根拠 | 意味 |
|---|---|
speech_activity |
VAD が発話なしと測定 → transcript / speaker / emotion / prosody |
events / events+draft |
音響イベントにも下書き caption にも音楽の手がかりが無い → music |
essentia_too_short |
解析窓に満たない短さ。何度流しても埋まらない |
panns_below_threshold |
PANNs は走ったが閾値 0.1 を超えるラベルが無い |
asr_empty / asr_gate |
ASR が走って空を返した / VAD ゲートで止めた |
⚠️ 「走っていない」と「走ったが陰性」を必ず分けています。 空の枠を「値あり」と読まないでください。
退避した clip
_excluded/ に 180 clip。音が存在しないと実測したものだけです。
{"rel": "data/audio/fma_dl/.../033425.mp3",
"excluded": {"why": "audio_unreadable",
"detail": "実測: sf.read で先頭10秒読めず/全編無音",
"at": "2026-08-14T11:18:34+00:00", "from": "fma"},
"tool": {"music": ..., "speech_activity": ...}}
測れていたレーンの値も一緒に残しています。 音源を取り直せば戻せます。
来歴
各ソースに <src>.manifest.json があり、何をいつ当てたかが残ります。
{"source": "audioset", "clips": 756094, "built_at": "2026-08-04T12:04:39Z",
"applied": [{"field": "asr_timestamp", "added": 540116, "kept_existing": 0,
"at": "2026-08-10T02:34:10Z", "from": "lane:asr_timestamp"}]}
ライセンス
⚠️ 収録元によって条件が異なります。 注釈(caption / annotation)はこのプロジェクトの 生成物ですが、音声は元コーパス由来です。
gigaspeech / spgispeech / voxceleb-2 / msp_podcast などは再配布に制限があります。
利用前に各コーパスの配布元の条件を確認してください。
再配布が明示的に許可されているもの(例: librispeech CC BY 4.0、esc50、clotho)と
そうでないものが混在しています。
- Downloads last month
- 1,629