Dataset Viewer
Auto-converted to Parquet
source_type
stringclasses
1 value
source_id
stringclasses
1 value
source_entry_id
stringlengths
4
9
quality_score
float64
0
0.98
min_segment_quality_score
float64
0
0.37
avg_words_per_segment
float64
1
6.16
avg_segment_duration
float64
0
8
avg_words_per_minute
float64
0
7.2k
segments_count
float64
1
71k
words_count
float64
1
342k
plenum_id
stringlengths
4
9
duration
float64
82.9
208k
plenum_date
stringdate
2009-03-09 00:00:00
2025-02-04 00:00:00
knesset
plenum
81733
0.9663
0.0033
5.0167
2.1955
90.6397
1,077
5,403
81733
3,576.58
2019-11-10
knesset
plenum
104477
0.9448
0
5.2318
2.307
99.1032
1,570
8,214
104477
4,973
2022-01-18
knesset
plenum
33882
0.8595
0
4.839
1.9906
103.9654
6,937
33,568
33882
19,372.59
2014-01-06
knesset
plenum
5538
0.8884
0
5.0893
2.062
100.943
4,132
21,029
5538
12,499.53
2009-12-28
knesset
plenum
122858
0.9263
0
5.0718
2.1702
98.4863
5,683
28,823
122858
17,559.6
2024-01-01
knesset
plenum
107971
0.8717
0
4.7159
1.7096
105.6449
14,238
67,145
107971
38,134.34
2022-05-23
knesset
plenum
115700
0.8779
0
4.7838
2.0095
0.2607
37
177
115700
40,740.04
2023-03-26
knesset
plenum
131592
0.2936
0
4.9817
1.2481
156.7071
18,514
92,231
131592
35,313.4
2024-11-13
knesset
plenum
67444
0.8807
0
4.8683
1.8284
105.7809
6,429
31,298
67444
17,752.54
2017-11-13
knesset
plenum
19652
0.9072
0
4.86
1.9871
104.8875
6,155
29,913
19652
17,111.48
2012-02-27
knesset
plenum
64415
0.8728
0
4.9266
1.9923
103.63
3,501
17,248
64415
9,986.3
2017-06-05
knesset
plenum
68234
0.9012
0
4.8086
2.1061
99.0048
8,135
39,118
68234
23,706.74
2017-12-06
knesset
plenum
12360
0.939
0
5.2391
2.518
95.109
2,430
12,731
12360
8,031.42
2011-02-22
knesset
plenum
10423
0.9033
0
5.0206
2.1042
102.5516
4,513
22,658
10423
13,256.55
2010-11-30
knesset
plenum
83530
0.9321
0
4.9361
1.9434
105.7979
1,080
5,331
83530
3,023.31
2020-02-10
knesset
plenum
15097
0.8804
0
4.8895
2.0283
104.5324
17,340
84,784
15097
48,664.73
2011-07-20
knesset
plenum
99635
0.8787
0
4.486
1.9047
88.7788
12,818
57,502
99635
38,862
2021-10-06
knesset
plenum
67009
0.9265
0
4.6696
2.1598
95.4773
3,414
15,942
67009
10,018.3
2017-10-31
knesset
plenum
107995
0.9249
0
4.9514
2.2644
89.7171
968
4,793
107995
3,205.41
2022-05-24
knesset
plenum
38090
0.896
0
5.1509
2.205
101.6228
5,692
29,319
38090
17,310.48
2014-06-25
knesset
plenum
34752
0.9092
0.0052
5.0437
2.2587
101.8688
2,014
10,158
34752
5,982.99
2014-02-04
knesset
plenum
124074
0.8439
0
4.8936
1.8433
107.1104
5,310
25,985
124074
14,556.01
2024-02-12
knesset
plenum
120231
0.8813
0
5.1005
2.0379
103.4672
12,000
61,206
120231
35,492.99
2023-07-30
knesset
plenum
5395
0.8607
0
4.9801
2.0642
100.1634
3,468
17,271
5395
10,345.7
2009-12-21
knesset
plenum
42664
0.9058
0
4.7978
2.0203
104.4368
8,134
39,025
42664
22,420.26
2015-06-01
knesset
plenum
94472
0.606
0
4.8719
1.3148
136.7726
13,219
64,402
94472
28,252.15
2020-12-22
knesset
plenum
112710
0.9292
0
5.193
2.1709
67.9201
1,917
9,955
112710
8,794.16
2023-01-25
knesset
plenum
52646
0.9258
0
4.7807
2.0315
103.0231
1,920
9,179
52646
5,345.79
2016-06-07
knesset
plenum
123163
0.8989
0
4.9953
1.9437
100.1122
4,236
21,160
123163
12,681.77
2024-01-10
knesset
plenum
80322
0
0
4.7812
0.2367
65.1292
544
2,601
80322
2,396.16
2019-04-30
knesset
plenum
105011
0.9428
0.0009
5.1519
2.4305
83.5856
1,297
6,682
105011
4,796.52
2022-02-01
knesset
plenum
36215
0.9575
0
5.4772
2.3971
30.6899
7,429
40,690
36215
79,550.5
2014-03-11
knesset
plenum
118867
0.9458
0
5.1456
2.1706
104.2613
11,418
58,753
118867
33,811.01
2023-07-04
knesset
plenum
27162
0.9463
0
5.0611
2.4359
90.8738
2,587
13,093
27162
8,644.74
2013-03-11
knesset
plenum
73877
0.951
0
5.1439
2.2453
105.0229
2,801
14,408
73877
8,231.35
2018-06-05
knesset
plenum
42324
0.8521
0
4.8754
1.6209
124.7705
6,438
31,388
42324
15,093.95
2015-05-18
knesset
plenum
4943
0.8659
0
5.1978
2.1523
101.7657
3,842
19,970
4943
11,774.1
2009-11-24
knesset
plenum
19551
0
0
4.7164
0.8631
104.4725
10,024
47,277
19551
27,151.84
2012-02-22
knesset
plenum
12069
0.9167
0
5.168
2.3462
105.3065
5,047
26,083
12069
14,861.19
2011-02-08
knesset
plenum
7432
0.8597
0
4.681
1.85
103.3448
4,295
20,105
7432
11,672.58
2010-05-03
knesset
plenum
69652
0.9004
0
4.9138
2.1132
100.2312
10,990
54,003
69652
32,327.05
2018-01-03
knesset
plenum
5371
0.864
0
4.8864
1.9721
102.5855
5,069
24,769
5371
14,486.84
2009-12-16
knesset
plenum
80879
0.9233
0
4.7682
1.8976
98.6081
16,695
79,605
80879
48,437.19
2019-05-29
knesset
plenum
98558
0.8601
0
4.7372
1.8641
91.4849
12,334
58,429
98558
38,320.43
2021-07-28
knesset
plenum
84785
0
0
4.8122
0.1855
58.1915
3,429
16,501
84785
17,013.83
2020-04-27
knesset
plenum
89755
0.9045
0
4.794
1.8746
105.1981
6,947
33,304
89755
18,995.02
2020-07-29
knesset
plenum
10841
0.8208
0
5.1837
2.3907
98.7523
7,152
37,074
10841
22,525.44
2010-12-13
knesset
plenum
128760
0.8925
0
4.872
1.8535
108.3737
9,849
47,984
128760
26,565.85
2024-07-15
knesset
plenum
80169
0
0
5.5714
0.5111
39.4737
56
312
80169
474.24
2019-02-18
knesset
plenum
22797
0.8944
0
4.8977
2.0594
107.5948
9,110
44,618
22797
24,881.13
2012-05-16
knesset
plenum
11649
0.9072
0
5.1574
2.3078
101.8273
3,335
17,200
11649
10,134.81
2011-01-18
knesset
plenum
72004
0.9019
0
4.951
2.11
98.9026
10,032
49,668
72004
30,131.47
2018-03-07
knesset
plenum
57020
0.8938
0
4.7817
2.0701
97.5481
13,470
64,409
57020
39,616.77
2016-12-07
knesset
plenum
80080
0.908
0
5.0704
2.0421
57.4655
9,322
47,266
80080
49,350.62
2019-01-01
knesset
plenum
79911
0.9143
0
5.1306
2.1346
104.0118
5,337
27,382
79911
15,795.51
2018-12-31
knesset
plenum
117985
0.9517
0
5.1215
2.1401
103.0459
2,452
12,558
117985
7,312.08
2023-06-13
knesset
plenum
114483
0.9028
0
4.7343
1.8668
98.1077
19,796
93,720
114483
57,316.58
2023-02-27
knesset
plenum
125977
0.9128
0
5.0389
2.1311
99.9233
9,970
50,238
125977
30,165.95
2024-04-01
knesset
plenum
40552
0.8883
0
4.8199
1.8855
103.6087
10,595
51,067
40552
29,572.99
2014-11-19
knesset
plenum
33699
0.8715
0
4.9392
2.042
102.621
8,473
41,850
33699
24,468.68
2013-12-30
knesset
plenum
32112
0.8649
0
4.8451
1.9596
105.2891
5,579
27,031
32112
15,403.88
2013-11-11
knesset
plenum
96297
0
0
4.7532
0.1997
123.4193
1,795
8,532
96297
4,147.81
2021-05-19
knesset
plenum
96279
0.5608
0
4.8287
1.2149
160.4598
3,835
18,518
96279
6,924.35
2021-05-18
knesset
plenum
11910
0.9305
0
5.2001
2.4224
103.514
2,853
14,836
11910
8,599.42
2011-02-01
knesset
plenum
29408
0.9221
0
5.1736
2.3553
101.75
8,973
46,423
29408
27,374.75
2013-06-19
knesset
plenum
46933
0.6594
0
3.5605
1.5779
50.6474
11,751
41,839
46933
49,565.08
2015-11-18
knesset
plenum
48826
0.9182
0
5.1857
2.3348
103.9119
2,994
15,526
48826
8,964.9
2016-01-12
knesset
plenum
40018
0.8866
0
5.0839
2.1661
97.8526
2,299
11,688
40018
7,166.7
2014-11-05
knesset
plenum
83795
0.9315
0
5.0976
2.0133
1.6172
82
418
83795
15,507.88
2020-03-18
knesset
plenum
36789
0.8665
0
4.9943
2.0065
110.1783
3,833
19,143
36789
10,424.74
2014-05-12
knesset
plenum
70197
0.8622
0
4.9337
2.0142
101.8133
5,855
28,887
70197
17,023.52
2018-01-17
knesset
plenum
24436
0.9028
0
4.7866
1.899
107.9063
7,850
37,575
24436
20,893.13
2012-07-16
knesset
plenum
37091
0.8949
0
4.8926
2.0563
103.4451
8,233
40,281
37091
23,363.69
2014-05-21
knesset
plenum
114713
0.6791
0
4.5544
1.4395
107.4335
6,735
30,674
114713
17,130.97
2023-03-06
knesset
plenum
60841
0.9243
0
5.0858
2.108
106.0713
2,997
15,242
60841
8,621.75
2017-01-24
knesset
plenum
43139
0.8955
0
4.861
2.0531
103.0228
9,130
44,381
43139
25,847.29
2015-06-17
knesset
plenum
128053
0.8739
0
5.0745
2.0103
104.7114
9,476
48,086
128053
27,553.46
2024-06-26
knesset
plenum
68172
0.9386
0
4.9931
2.1865
99.3471
3,939
19,668
68172
11,878.35
2017-12-05
knesset
plenum
2120
0.8774
0
4.943
1.8849
106.4914
4,226
20,889
2120
11,769.4
2009-05-25
knesset
plenum
95358
0.9121
0
4.9786
2.0033
96.3412
3,176
15,812
95358
9,847.5
2021-03-01
knesset
plenum
114259
0.8428
0
4.7862
1.8042
99.2306
10,741
51,409
114259
31,084.55
2023-02-22
knesset
plenum
20333
0.9014
0
5.0024
2.0507
102.348
9,839
49,219
20333
28,853.9
2012-03-19
knesset
plenum
19124
0.9658
0
4.6604
2.1245
78.3301
1,125
5,243
19124
4,016.08
2012-02-08
knesset
plenum
37789
0.8257
0
4.7246
1.7379
106.9727
1,162
5,490
37789
3,079.29
2014-06-16
knesset
plenum
127041
0.9334
0
5.3121
2.3334
100.5153
3,509
18,640
127041
11,126.66
2024-06-04
knesset
plenum
67083
0.9089
0
5.2348
2.3546
97.6003
2,917
15,270
67083
9,387.27
2017-11-01
knesset
plenum
133616
0.0871
0
4.925
1.175
168.6611
36,500
179,764
133616
63,949.78
2024-12-18
knesset
plenum
30853
0.4304
0
3.8327
1.3375
73.6555
21,153
81,073
30853
66,042.29
2013-07-29
knesset
plenum
51507
0.8279
0
4.7842
1.8263
111.9089
7,789
37,264
51507
19,979.1
2016-03-21
knesset
plenum
26489
0.9604
0
5.4666
2.5298
90.5182
3,800
20,773
26489
13,769.39
2013-02-11
knesset
plenum
25192
0.901
0
4.8515
1.8851
104.4719
3,691
17,907
25192
10,284.3
2012-09-12
knesset
plenum
89604
0.9126
0
4.9043
1.9121
104.7716
6,186
30,338
89604
17,373.79
2020-07-27
knesset
plenum
83874
0.7988
0
4.4258
1.7821
76.3256
1,867
8,263
83874
6,495.59
2020-03-24
knesset
plenum
46731
0.9305
0
4.9541
2.1474
104.3753
13,756
68,149
46731
39,175.36
2015-11-17
knesset
plenum
129469
0.8673
0
5.1657
2.063
63.2591
1,436
7,418
129469
7,035.83
2024-07-28
knesset
plenum
122151
0.8986
0
4.9033
1.9677
105.0822
8,293
40,663
122151
23,217.83
2023-12-06
knesset
plenum
55305
0.8806
0
4.8985
1.8948
104.8198
2,927
14,338
55305
8,207.23
2016-09-19
knesset
plenum
38807
0
0
5.1198
0.7359
303.8761
6,945
35,557
38807
7,020.69
2014-07-16
knesset
plenum
42924
0.9309
0
5.0657
2.2048
104.0307
7,036
35,642
42924
20,556.63
2015-06-10
knesset
plenum
11252
0.8996
0
4.9669
2.2873
103.7409
15,390
76,440
11252
44,210.14
2010-12-28
End of preview. Expand in Data Studio

About

This dataset is derived from raw a/v recordings and human-generated protocols of the Knesset (the Israeli house of representatives) plenums as part of the ivrit.ai project. Consider visiting the preview space for this dataset here

Method

Data dumps from the Knesset contain A/V recordings, alongside proprietary protocols with timestamps. We extract the audio stream, and clean up timestamp mistakes (such as backward jumps, or out-of-order timestamp artifacts). The protocol text is cleaned, and segmented using the cleaned timestamps. We use Whisper + Stable Whisper (See Below) and word-level alignment to force align the protocol text to the audio. In the alignment process, we also score each word for quality of alignment. Some recordings/protocols are discarded due to poor alignment or data corruption.

About the Alignment Process

The original audio and protocols contained multiple artifacts that make a reliable alignment difficult.

  • Wrong timestamps (lagging, or out-of-order)
  • Non-verbatim transcription (this is, by design, a mandate of the Knesset protocol - recorders preserve speaker "spirit" while following proper Hebrew grammar rules)
  • Mismatched time base between the recording and the protocol.
  • Overlapping speech, noise, and shouting from the audience.

To make things worse, audio recordings are very long (up to 50+ hours), and alignment can easily go out of sync and never converge. We took a pragmatic approach to the alignment process, and used Whisper to align the transcript to the audio. Relying on the logic implemented in Stable-Whisper, we force align the transcript to the audio, but detect divergence and try and recover from it iteratively. This approach assumes "lost segments" and possible corruption - but maintains integrity within segments, and scores each segment so researchers can choose the quality they wish to work with. We find that above 0.5 median score per segment (calculated from word-level probabilities), produces intelligible transcripts. But we choose to work with > 0.7 in our downstream tasks. The code implementing this alignment, is part of the main Ivrit.ai data processing repo here (See sources/knesset)

Current Dataset Stats

  • Processed Plenum Date Ranges: Mar 2009 to Feb 2025
  • Total recorded duration: ~8825 hours
  • Total Plenum Session: ~1550
  • Total Audio+Transcript hours within segments above 0.7 quality score - ~4700 hours (See Below)

Breakdown of segment total duration by quality score cut-offs

Segment Quality Score % down to quality Duration (h) at quality
1.0 45.44% 2475.8
0.9 67.77% 1216.8
0.8 79.87% 659.7
0.7 87.26% 402.8
0.6 91.12% 210.1
0.5 93.69% 139.9
0.4 95.04% 73.8
0.3 96.12% 59.0
0.2 97.16% 56.8
0.1 98.81% 89.7
0.0 100.00% 64.9

Segment quality distribution, presenting the quality scores, cumulative percentages, and hours up to each quality level.

How can this dataset be useful?

  • Audio tasks - Our main goal is to facilitate audio-related tasks (ASR, TTS) - hence the emphasis on aligned transcriptions.
  • Text/NLP tasks - Each session's raw text contains a mix of topics related to all aspects of life, spanning almost a decade and a half, with samples occurring every few days. This provides researchers with a large, relevant, human-generated text corpus that is grounded in specific dates.

Future Work

  • The original recordings contained video streams which we ignored completely - these could be useful for future vision tasks.
  • The protocols contain rather noisy but mostly accurate speaker labeling - we ignored this data due to the significant effort involved in cleaning it. We believe speaker detection and diarization tasks could benefit from this additional metadata layer.

Structure

Each top level folder in the set represents a single Plenum session. Each session contains the following files:

  • audio.m4a - The audio source. The file is derived from the original A/V recording audio stream without further processing.
  • raw.transcript.txt - The protocol text, cleaned up: deduplicate whitespace, preserving newlines.
  • raw.transcript.timeindex.csv - Time ranges, into the raw transcript text. Format [start_loc, end_loc, timestamp] - This is derived from the protocol timestamps, after cleaning up the data.
  • normalized.transcript.txt - Text derived after normalizing for audio tasks. Cleanup includes: square brackets removal, replacing en-dashes with commas, semi-colons with periods. Non-printable unicode hebrew markers are removed. Whitespace deduplication.
  • transcript.json - Transcript, timed using the original (cleaned) protocol timestamps. (Contains the timed text of normalized.transcript.txt). A JSON dump of a WhisperResult
  • transcript.aligned.json - Transcript, force aligned, with word level timing and "matching probability" scores. A JSON dump of a WhisperResult -- The WhisperResult json has a "segments" top level property which is a superset of the "segments" structure the Whisper model produces internally.
  • metadata.json - Metadata gathered while normalizing the recording session data and derived from the Recording user profile. (See Below)

Why not VTT/SRT ?

Since recordings can easily go above 24 hours - we could not use the standard subtitle formats (which canot represent >24h media) We also wanted to capture word level timings, and alignment probabilities - Thus the choise of JSON as a flexible container. Converting to VTT/SRT should be straight forward assuming you crop the recording to less than 24h.

How to download this dataset?

This dataset is stored as a filesystem-repository and does not use the Arrow/Parquet based columnar storage standard of the HF Dataset entity. This, you need to download the entire folder as a reposotory of files with something like:

from huggingface_hub import snapshot_download
snapshot_download(repo_id='ivrit-ai/knesset-plenums', repo_type='dataset')

If you encounter timeout errors (usually when downloading from outside AWS) you can increase the timeout, and reduce the number of workers to stabilize the download process. e.g.:

snapshot_download(repo_id='ivrit-ai/knesset-plenums', repo_type='dataset', etag_timeout=60, max_workers=1)

If this still fails, you can use git to clone the repo (requires installing git LFS). See here

In short, you will need to:

  • Install git LFS for your environment + initialize it
  • Ensure you have an SSH key uploaded to your HF account
  • Configure your local SSH (or SSH agent) to serve this key for hf.co
  • Issue something like git clone [email protected]:datasets/ivrit-ai/knesset-plenums

Important - you cannot use load_dataset to download this data - and it requires further processing to be used for training/eval tasks.

Metadata JSON structure

Example metadata:

{
  "source_type": "knesset",
  "source_id": "plenum",
  "source_entry_id": "100068",
  "plenum_id": "100068",
  "plenum_date": "2021-10-18",
  "duration": 27984.07,
  "quality_score": 0.9009,
  "per_segment_quality_scores": [
    {
      "start": 68.22,
      "end": 68.34,
      "probability": 0.1766
    },
    {
      "start": 70.3,
      "end": 71.76,
      "probability": 0.6063
    },
    ...
  ],
  "segments_count": 9861,
  "words_count": 45658,
  "avg_words_per_segment": 4.6302,
  "avg_segment_duration": 1.8485,
  "avg_words_per_minute": 97.8943,
}
  • source_type - Always "knesset"
  • source_id - Always "plenum"
  • source_entry_id / plenum_id - The unique plenum recording id (not the same as the official plenum id in the Knesset records)
  • plenum_date - the date the plenum took place on
  • duration - recording duration in seconds
  • quality_score - Quality of alignment of the text to the audio - we consider less than 0.3 to be data with too much problems to use. And discard downstream.
  • per_segment_quality_scores - Allows more granular inspection of per-segment scores to perhaps partially discard some of the data. We consider less than 0.7 to be candidates of discarding.
  • segments_count / words_count / avg_words_per_segment / avg_segment_duration / avg_words_per_minute - Recording stats

Manifest file

The root of the dataset folder contains a manifest.csv with a subset of the metadata as a list. This allows a quick glance of the contents of this dataset. Columns within the manifest include:

  • source_type
  • source_id
  • source_entry_id
  • plenum_id
  • plenum_date
  • duration
  • quality_score
  • min_segment_quality_score
  • avg_words_per_segment
  • avg_segment_duration
  • avg_words_per_minute
  • segments_count
  • words_count

Auxiliary Plenum Metadata Lookup Table

Since the "plenum_id" in the metadata/manifest files represent an internal "recording id" which is hard to match against the official plenum id. Provided in the knesset_plenums_metadata.csv file is a lookup table of the plenum_id to the official plenum id. This will provide exact start-end dates of the plenum session, the Knesset number, and the running sequential number of the plenum session as recorded by the Knesset.

Downloads last month
1,443

Space using ivrit-ai/knesset-plenums 1