Datasets:

Modalities:
Text
Formats:
json
ArXiv:
Libraries:
Datasets
pandas
License:
bzantium commited on
Commit
0dc567e
1 Parent(s): 71ec358

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +36 -0
README.md CHANGED
@@ -1,3 +1,39 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ task_categories:
4
+ - question-answering
5
+ tags:
6
+ - lost-in-the-middle
7
+ size_categories:
8
+ - n<1K
9
  ---
10
+ # Datasets for Lost In The Middle
11
+
12
+ This repository contains datasets used in the paper ["Lost in the Middle: How Language Models Use Long Contexts"](https://arxiv.org/abs/2307.03172), focusing on multi-document question answering and key-value retrieval tasks.
13
+
14
+ ## Datasets Overview
15
+
16
+ The datasets provided are as follows:
17
+
18
+ - **Key-Value Retrieval Datasets**
19
+ - `kv75`: Key-Value pairs with 75 keys.
20
+ - `kv140`: Key-Value pairs with 140 keys.
21
+ - `kv300`: Key-Value pairs with 300 keys.
22
+
23
+ - **Multi-Document Question Answering Datasets**
24
+ - `qa10`: Questions with answers derived from 10 documents.
25
+ - `qa20`: Questions with answers derived from 20 documents.
26
+ - `qa30`: Questions with answers derived from 30 documents.
27
+
28
+ ## Loading the Data
29
+
30
+ You can load these datasets using the Hugging Face `datasets` library:
31
+
32
+ ```python
33
+ from datasets import load_dataset
34
+
35
+ ### Example for loading the kv75 dataset
36
+ dataset = load_dataset("bzantium/LITM", "kv75")
37
+
38
+ ### Example for loading the qa20 dataset
39
+ dataset = load_dataset("bzantium/LITM", "qa20")