Datasets:

Modalities:
Audio
Text
Formats:
parquet
Libraries:
Datasets
Dask
Lauler commited on
Commit
5726f3f
·
verified ·
1 Parent(s): 68d878a

Add files using upload-large-folder tool

Browse files
Files changed (1) hide show
  1. README.md +42 -0
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## RixVox-v2: A Swedish parliamentary speech dataset
2
+
3
+ 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](https://swerik-project.github.io/) and [the Riksdag's open data](https://www.riksdagen.se/sv/dokument-och-lagar/riksdagens-oppna-data/).
4
+
5
+
6
+ | Variable | Description |
7
+ | ------------------ | ----------- |
8
+ | text | Text from parliamentary protocols which have been [force aligned](https://pytorch.org/audio/main/tutorials/ctc_forced_alignment_api_tutorial.html) with audio. Protocols from 1966-2002 sourced from [SWERIK](https://github.com/swerik-project/the-swedish-parliament-corpus). Speeches from 2000-2024 sourced from [the Riksdag's open data](https://www.riksdagen.se/sv/dokument-och-lagar/riksdagens-oppna-data/anforanden/). |
9
+ | audio | 16 kHz, mono audio segments, up to 30 seconds in duration. |
10
+ | name | Speaker name. |
11
+ | party | Party membership(s) of the speaker over their career. |
12
+ | gender | Gender. |
13
+ | role | Role(s) or position(s) the speaker has had over their career. |
14
+ | district | The district(s) the person has represented over their career (available only if person has been a member of parliament). |
15
+ | year | The year the speech was given according to parliamentary protocol metadata. |
16
+ | dates | Date(s) when speech was possibly given according to parsed protocol metadata. A source protocol document can contain several debates spanning multiples dates. |
17
+ | date_approx | Earliest possible date speech could have been given according to `dates`. Included to simplify date based filtering. |
18
+ | start | Start time of this audio segment in the debate's audio file (seconds). See `audio_file` for source media filename. |
19
+ | end | End time of this audio segment in debate audio file (seconds) |
20
+ | duration | Duration of audio segment in seconds. |
21
+ | audio_file | Filename of the source media file in the Riksdag's media archive. |
22
+ | text_normalized | Normalized version of original protocol `text` used for calculating eval metrics (lowercased, alphanumeric, converted numbers to spelled out letters, no punctuation). |
23
+ | text_timestamps | Text with timestamps inserted at sentence boundaries. Enables training Whisper with ability to output timestamps. |
24
+ | text_previous | Text of the previous audio segment. Enables training Whisper with previous context as prompt. |
25
+ | wav2vec_transcription | Audio transcribed by [wav2vec2](https://huggingface.co/KBLab/wav2vec2-large-voxrex-swedish). |
26
+ | whisper_transcription | Audio transcribed by [Whisper-large-v3](https://huggingface.co/openai/whisper-large-v3). |
27
+ | bleu_whisper | BLEU score between `text_normalized` and normalized `whisper_transcription`. |
28
+ | bleu_wav2vec | BLEU score between `text_normalized` and normalized `wav2vec_transcription`. |
29
+ | wer_whisper | WER between `text_normalized` and normalized `whisper_transcription`. |
30
+ | wer_wav2vec | WER between `text_normalized` and normalized `wav2vec_transcription`. |
31
+ | cer_whisper_first | CER of 10 first characters of `text_normalized` and normalized `whisper_transcription`. |
32
+ | cer_wav2vec_first | CER of 10 first characters of `text_normalized` and normalized `wav2vec_transcription`. |
33
+ | cer_whisper_last | CER of 10 last characters of `text_normalized` and normalized `whisper_transcription`. |
34
+ | cer_wav2vec_last | CER of 10 last characters of `text_normalized` and normalized `wav2vec_transcription`. |
35
+ | is_silence | Whether the segment contains no `text` and no detected speech by wav2vec |
36
+ | lang_prob_sv | Probability of spoken language being Swedish per the utput of whisper-large-v3's language detection. |
37
+ | shard | Shard number. Corresponds to the shard numbering used in the naming of the uploaded parquet files. |
38
+ | speaker_id | `id` of the speaker/person in [SWERIK](https://github.com/swerik-project/riksdagen-persons/) or in the Riksdag's systems. SWERIK `id`s start with `i-`. |
39
+ | riksdagen_id | `id` of the person in the Riksdag's own system (if available). |
40
+ | protocol_id | `id` of protocol/debate in SWERIK or the Riksdag's open data. `id`s from SWERIK start with `prot-`. |
41
+ | speech_id | `id` of speech in SWERIK or the Riksdag's open data. `id`s from SWERIK start with `i-` |
42
+