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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5de677e
 
 
 
 
 
 
 
 
 
 
891bc34
4f841e3
 
5de677e
 
 
 
4e71885
5de677e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b6de31d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d0b75cd
5de677e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
---
language:
- en
task_categories:
- question-answering
- summarization
- text-generation
task_ids:
- multiple-choice-qa
tags:
- query-based-summarization
- long-texts
configs:
- config_name: gov_report
  data_files:
  - split: test
    path: gov_report/*
- config_name: gov_report
  data_files:
  - split: validation
    path: gov_report/*
- config_name: musique
  data_files:
  - split: test
    path: musique/*
- config_name: musique
  data_files:
  - split: validation
    path: musique/*
- config_name: narrative_qa
  data_files:
  - split: test
    path: narrative_qa/*
- config_name: narrative_qa
  data_files:
  - split: validation
    path: narrative_qa/*
- config_name: qasper
  data_files:
  - split: test
    path: qasper/*
- config_name: qasper
  data_files:
  - split: validation
    path: qasper/*
- config_name: qmsum
  data_files:
  - split: test
    path: qmsum/*
- config_name: qmsum
  data_files:
  - split: validation
    path: qmsum/*
- config_name: quality
  data_files:
  - split: test
    path: quality/*
- config_name: quality
  data_files:
  - split: validation
    path: quality/*
- config_name: space_digest
  data_files:
  - split: test
    path: space_digest/*
- config_name: space_digest
  data_files:
  - split: validation
    path: space_digest/*
- config_name: squality
  data_files:
  - split: test
    path: squality/*
- config_name: squality
  data_files:
  - split: validation
    path: squality/*
dataset_info:
- config_name: gov_report
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  splits:
  - name: test
    num_bytes: 621455
    num_examples: 20
  download_size: 621455
  dataset_size: 621455
- config_name: gov_report
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  splits:
  - name: validation
    num_bytes: 621455
    num_examples: 20
  download_size: 621455
  dataset_size: 621455
- config_name: musique
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  - name: inner_docs_start_indices
    dtype: 
      sequence:
        dtype: int64
  splits:
  - name: test
    num_bytes: 128458
    num_examples: 20
  download_size: 128458
  dataset_size: 128458
- config_name: musique
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  - name: inner_docs_start_indices
    dtype: 
      sequence:
        dtype: int64
  splits:
  - name: validation
    num_bytes: 128458
    num_examples: 20
  download_size: 128458
  dataset_size: 128458
- config_name: narrative_qa
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  splits:
  - name: test
    num_bytes: 915220
    num_examples: 20
  download_size: 915220
  dataset_size: 915220
- config_name: narrative_qa
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  splits:
  - name: validation
    num_bytes: 915220
    num_examples: 20
  download_size: 915220
  dataset_size: 915220
- config_name: qasper
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  splits:
  - name: test
    num_bytes: 252094
    num_examples: 28
  download_size: 252094
  dataset_size: 252094
- config_name: qasper
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  splits:
  - name: validation
    num_bytes: 252094
    num_examples: 28
  download_size: 252094
  dataset_size: 252094
- config_name: qmsum
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  splits:
  - name: test
    num_bytes: 499957
    num_examples: 20
  download_size: 499957
  dataset_size: 499957
- config_name: qmsum
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  splits:
  - name: validation
    num_bytes: 499957
    num_examples: 20
  download_size: 499957
  dataset_size: 499957
- config_name: quality
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  splits:
  - name: test
    num_bytes: 363954
    num_examples: 21
  download_size: 363954
  dataset_size: 363954
- config_name: quality
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  splits:
  - name: validation
    num_bytes: 363954
    num_examples: 21
  download_size: 363954
  dataset_size: 363954
- config_name: space_digest
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  - name: inner_docs_start_indices
    dtype: 
      sequence:
        dtype: int64
  splits:
  - name: test
    num_bytes: 349818
    num_examples: 20
  download_size: 349818
  dataset_size: 349818
- config_name: space_digest
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  - name: inner_docs_start_indices
    dtype: 
      sequence:
        dtype: int64
  splits:
  - name: validation
    num_bytes: 349818
    num_examples: 20
  download_size: 349818
  dataset_size: 349818
- config_name: squality
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  splits:
  - name: test
    num_bytes: 421574
    num_examples: 80
  download_size: 421574
  dataset_size: 421574
- config_name: squality
  features:
  - name: id
    dtype: string
  - name: pid
    dtype: string
  - name: input
    dtype: string
  - name: output
    dtype: string
  - name: document_start_index
    dtype: int64
  - name: document_end_index
    dtype: int64
  - name: query_start_index
    dtype: int64
  - name: query_end_index
    dtype: int64
  - name: truncation_seperator
    dtype: string
  splits:
  - name: validation
    num_bytes: 421574
    num_examples: 80
  download_size: 421574
  dataset_size: 421574
---

## Dataset Description

- **Homepage:** [ZeroSCROLLS](https://www.zero.scrolls-benchmark.com/)
- **Leaderboard:** [Leaderboard](https://www.zero.scrolls-benchmark.com/leaderboard)
- **Point of Contact:** [scrolls-benchmark-contact@googlegroups.com](scrolls-benchmark-contact@googlegroups.com)

# Dataset Card for ZeroSCROLLS

## Overview
ZeroSCROLLS is a zero-shot benchmark for natural language understanding over long texts.
The validation sets contain only ~20 examples per task and are meant for eyeballing alone.

## Leaderboard
The ZeroSCROLLS benchmark leaderboard can be found [here](https://www.zero.scrolls-benchmark.com/leaderboard).

## Tasks
ZeroSCROLLS contains the following tasks:

#### GovReport ([Huang et al., 2021](https://arxiv.org/pdf/2104.02112.pdf))
GovReport is a summarization dataset of reports addressing various national policy issues published by the 
Congressional Research Service and the U.S. Government Accountability Office, where each document is paired with a hand-written executive summary.
The reports and their summaries are longer than their equivalents in other popular long-document summarization datasets; 
for example, GovReport's documents are approximately 1.5 and 2.5 times longer than the documents in Arxiv and PubMed, respectively.

#### SummScreenFD ([Chen  et al., 2022](https://arxiv.org/pdf/2104.07091.pdf))
SummScreenFD is a summarization dataset in the domain of TV shows (e.g. Friends, Game of Thrones).
Given a transcript of a specific episode, the goal is to produce the episode's recap.
The original dataset is divided into two complementary subsets, based on the source of its community contributed transcripts. 
For SCROLLS, we use the ForeverDreaming (FD) subset, as it incorporates 88 different shows, 
making it a more diverse alternative to the TV MegaSite (TMS) subset, which has only 10 shows. 
Community-authored recaps for the ForeverDreaming transcripts were collected from English Wikipedia and TVMaze.

#### QMSum ([Zhong et al., 2021](https://arxiv.org/pdf/2104.05938.pdf))
QMSum is a query-based summarization dataset, consisting of 232 meetings transcripts from multiple domains. 
The corpus covers academic group meetings at the International Computer Science Institute and their summaries, industrial product meetings for designing a remote control, 
and committee meetings of the Welsh and Canadian Parliaments, dealing with a variety of public policy issues.
Annotators were tasked with writing queries about the broad contents of the meetings, as well as specific questions about certain topics or decisions, 
while ensuring that the relevant text for answering each query spans at least 200 words or 10 turns.

#### SQuALITY ([Wang  et al., 2022](https://arxiv.org/pdf/2205.11465.pdf))
SQuALITY (Wang et al., 2022) is a question-focused summarization dataset, where given a story from Project Gutenberg, 
the task is to produce a summary of the story or aspects of it based on a guiding question.
The questions and summaries are original and crowdsourced; experienced writers were guided to design questions that require reading significant parts of the story to answer correctly.


#### Qasper ([Dasigi et al., 2021](https://arxiv.org/pdf/2105.03011.pdf))
Qasper is a question answering dataset over NLP papers filtered from the Semantic Scholar Open Research Corpus (S2ORC).
Questions were written by NLP practitioners after reading only the title and abstract of the papers, 
while another set of NLP practitioners annotated the answers given the entire document.
Qasper contains abstractive, extractive, and yes/no questions, as well as unanswerable ones.

#### NarrativeQA ([Kočiský et al., 2018](https://arxiv.org/pdf/1712.07040.pdf))
NarrativeQA (Kočiský et al., 2021) is an established question answering dataset over entire books from Project Gutenberg and movie scripts from different websites.
Annotators were given summaries of the books and scripts obtained from Wikipedia, and asked to generate question-answer pairs, 
resulting in about 30 questions and answers for each of the 1,567 books and scripts.
They were encouraged to use their own words rather then copying, and avoid asking yes/no questions or ones about the cast.
Each question was then answered by an additional annotator, providing each question with two reference answers (unless both answers are identical).

#### QuALITY ([Pang et al., 2022](https://arxiv.org/pdf/2112.08608.pdf))
QuALITY is a multiple-choice question answering dataset over articles and stories sourced from Project Gutenberg, 
the Open American National Corpus, and more.
Experienced writers wrote questions and distractors, and were incentivized to write answerable, unambiguous questions such that in order to correctly answer them, 
human annotators must read large portions of the given document. 
Reference answers were then calculated using the majority vote between of the annotators and writer's answers.
To measure the difficulty of their questions, Pang et al. conducted a speed validation process, 
where another set of annotators were asked to answer questions given only a short period of time to skim through the document.
As a result, 50% of the questions in QuALITY are labeled as hard, i.e. the majority of the annotators in the speed validation setting chose the wrong answer.

#### MuSiQue ([Trivedi et al., 2022](https://arxiv.org/pdf/2108.00573.pdf))
MuSiQue is a multi-hop question answering dataset, where the inputs are 20 Wikipedia paragraphs and a question that requires multiple hops between different paragraphs.
In the original dataset, each question also has an unanswerable twin question, where the correct answer is not present in the paragraphs.

#### SpaceDigest (New)
SpaceDigest is a new sentiment aggregation task. Given 50 hotel reviews (without their ratings) from the Space dataset (Angelidis et al., 2021), the task is to determine the percentage of positive reviews.

#### BookSumSort (New)
BookSumSort is a new task based on the BookSum dataset (Kry ́sci ́nski et al., 2022), which contains summaries of chapters (or parts) of novels, plays, and long poems from various sources. 
Given a shuffled list of chapter summaries, the task is to reorder them according to the original order of summaries in BookSum.

## Data Fields

Most datasets in the benchmark are in the same input-output format

- `input`: a `string` feature. The input document.
- `output`: this feature is always None, as ZeroSCROLLS contains only test sets.
- `id`: a `string` feature. Unique per input.
- `pid`: a `string` feature, identical to 'id`. Facilitates evaluating tasks with multiple refrences per input.
- `document_start_index`: an `int32` feature. Character index that enables easy parsing of the context document.
- `document_end_index`: an `int32` feature. Character index that enables easy parsing of the context document.
- `query_start_index`: an `int32` feature. Character index that enables easy parsing of the query, if exists.
- `query_end_index`: an `int32` feature. Character index that enables easy parsing of the query, if exists.
- `truncation_seperator`: a `string` feature. The string used to append to a trimmed context document, mentioning the context was trimmed.

Datasets containing multiple documents inside the `input` feature are MuSiQue, SpaceDigest, and BookSumSort. They also have the following feature:

- `inner_docs_start_indices`: a sequence of `int32` feature. Character indexes that enables easy parsing of the the inner documents, e.g. Reviews, of Summaries.



## Citation
If you use the ZeroSCROLLS data, **please make sure to cite all of the original dataset papers.** [[bibtex](https://zero-scrolls-tau.s3.us-east-2.amazonaws.com/zero_scrolls_datasets.bib)]
```
@inproceedings{shaham-etal-2023-zeroscrolls,
    title = "{Z}ero{SCROLLS}: A Zero-Shot Benchmark for Long Text Understanding",
    author = "Shaham, Uri  and
      Ivgi, Maor  and
      Efrat, Avia  and
      Berant, Jonathan  and
      Levy, Omer",
    editor = "Bouamor, Houda  and
      Pino, Juan  and
      Bali, Kalika",
    booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2023",
    month = dec,
    year = "2023",
    address = "Singapore",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2023.findings-emnlp.536",
    doi = "10.18653/v1/2023.findings-emnlp.536",
    pages = "7977--7989"
}
```