metadata
license: cc-by-4.0
task_categories:
- automatic-speech-recognition
- question-answering
- feature-extraction
language:
- en
tags:
- speechgr
- slue-sqa5
- hubert
- discrete-units
- kmeans
SLUE-SQA-5 HuBERT Layer-22 K=500 Discrete Units
Packed discrete-unit files for SpeechGR experiments on SLUE-SQA-5.
The units were produced with HuBERT layer 22 and a K=500 k-means model, then deduplicated with consecutive counts retained. The packed format avoids one .code and .cnt file per utterance.
Files
documents.npz: packed document/passage unitstrain.npz: packed train question unitsvalidation.npz: packed validation question unitstest.npz: packed test question unitsverified_test.npz: packed verified test question units
Each archive contains:
ids: record idscodes: all unit sequences concatenatedcode_offsets,code_lengths: offsets intocodescounts: all consecutive-run counts concatenatedcount_offsets,count_lengths: offsets intocountstext: optional transcript/passage metadata when availabledoc_ids: question-to-document ids for question splits when available
Loading
Use unit_store.PackedUnitStore from the SpeechGR repository:
from unit_store import PackedUnitStore
store = PackedUnitStore("train.npz")
record_id = store.ids[0]
codes = store.get_code(record_id)
counts = store.get_counts(record_id)