CoolFace
Datasetpublic

KBLab/rixvox-v2

RixVox-v2: A Swedish parliamentary speech dataset RixVox-v2 is a parliamentary speech dataset spanning nearly 23000 hours of speech. The dataset was built by matching and force aligning speeches in parliamentary protocols to media recordings of debates. Each observation contains metadata about the speaker's name, gender, district, role, party affiliation, and the date the speech was given. We include identifiers for protocols, speeches and speakers that allow linking… See the full description on the dataset page: https://huggingface.co/datasets/KBLab/rixvox-v2.

sourceHugging Faceodc-byupdated 1y agoView on Hugging Face
12likes7kdownloads
Dataset Card

RixVox-v2: A Swedish parliamentary speech dataset

RixVox-v2 is a parliamentary speech dataset spanning nearly 23000 hours of speech. The dataset was built by matching and force aligning speeches in parliamentary protocols to media recordings of debates. Each observation contains metadata about the speaker's name, gender, district, role, party affiliation, and the date the speech was given. We include identifiers for protocols, speeches and speakers that allow linking observations in our dataset to further metadata in SWERIK and the Riksdag's open data.

VariableDescription
textText from parliamentary protocols which have been force aligned with audio. Protocols from 1966-2002 sourced from SWERIK. Speeches from 2000-2024 sourced from the Riksdag's open data.
audio16 kHz, mono audio segments, up to 30 seconds in duration.
nameSpeaker name.
partyParty membership(s) of the speaker over their career.
genderGender.
roleRole(s) or position(s) the speaker has had over their career.
districtThe district(s) the person has represented over their career (available only if person has been a member of parliament).
yearThe year the speech was given according to parliamentary protocol metadata.
datesDate(s) when speech was possibly given according to parsed protocol metadata. A source protocol document can contain several debates spanning multiples dates.
date_approxEarliest possible date speech could have been given according to dates. Included to simplify date based filtering.
startStart time of this audio segment in the debate's audio file (seconds). See audio_file for source media filename.
endEnd time of this audio segment in debate audio file (seconds)
durationDuration of audio segment in seconds.
audio_fileFilename of the source media file in the Riksdag's media archive.
text_normalizedNormalized version of original protocol text used for calculating eval metrics (lowercased, alphanumeric, converted numbers to spelled out letters, no punctuation).
text_timestampsText with timestamps inserted at sentence boundaries. Enables training Whisper with ability to output timestamps.
text_previousText of the previous audio segment. Enables training Whisper with previous context as prompt.
wav2vec_transcriptionAudio transcribed by wav2vec2.
whisper_transcriptionAudio transcribed by Whisper-large-v3.
bleu_whisperBLEU score between text_normalized and normalized whisper_transcription.
bleu_wav2vecBLEU score between text_normalized and normalized wav2vec_transcription.
wer_whisperWER between text_normalized and normalized whisper_transcription.
wer_wav2vecWER between text_normalized and normalized wav2vec_transcription.
cerwhisperfirstCER of 10 first characters of text_normalized and normalized whisper_transcription.
cerwav2vecfirstCER of 10 first characters of text_normalized and normalized wav2vec_transcription.
cerwhisperlastCER of 10 last characters of text_normalized and normalized whisper_transcription.
cerwav2veclastCER of 10 last characters of text_normalized and normalized wav2vec_transcription.
is_silenceWhether the segment contains no text and no detected speech by wav2vec
langprobsvProbability of spoken language being Swedish per the utput of whisper-large-v3's language detection.
shardShard number. Corresponds to the shard numbering used in the naming of the uploaded parquet files.
speaker_idid of the speaker/person in SWERIK or in the Riksdag's systems. SWERIK ids start with i-.
riksdagen_idid of the person in the Riksdag's own system (if available).
protocol_idid of protocol/debate in SWERIK or the Riksdag's open data. ids from SWERIK start with prot-.
speech_idid of speech in SWERIK or the Riksdag's open data. ids from SWERIK start with i-

License

RixVox-v2 is made available under the Open Data Commons Attribution License: http://opendatacommons.org/licenses/by/1.0/

If you redistribute the dataset itself, or as part of another dataset/database, see section 4.2 of the license.

If you produce a work (e.g. finetuned model) from using the contents of the database, here is an example how to provide notice/attribution:

Contains information from the dataset RixVox-v2 which is made available under the ODC Attribution License. RixVox-v2 contains information sourced from The Swedish Parliament's open data.

You may adapt the phrasing "Contains information from" as appropriate to fit the use case of your produced work (e.g. "Model was trained using the dataset RixVox-v2 which...")

Citation

Coming soon