Junhohan commited on
Commit
f4dc75d
·
verified ·
1 Parent(s): 6fa99f0

release v1

Browse files
.gitattributes CHANGED
@@ -58,3 +58,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ corpus.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ hotpotqa-train.jsonl filter=lfs diff=lfs merge=lfs -text
63
+ index/dense/index.faiss filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ task_categories:
5
+ - question-answering
6
+ pretty_name: Multi-hop RAG Assignment (HotpotQA)
7
+ viewer: false
8
+ ---
9
+
10
+ # Multi-hop RAG Assignment Data
11
+
12
+ Data for the multi-hop RAG assignment (HotpotQA over Wikipedia).
13
+ A Wikipedia passage corpus, HotpotQA splits, and a prebuilt dense index.
14
+
15
+ ## Files
16
+
17
+ | File | Rows | Format |
18
+ |---|---|---|
19
+ | `corpus.jsonl` | 21,015,324 | `{"pid", "text", "title"}` |
20
+ | `hotpotqa-train.jsonl` | 90,447 | `{"qid", "question", "answers"}` |
21
+ | `hotpotqa-validation.jsonl` | 7,405 | `{"qid", "question", "answers"}` |
22
+ | `hotpotqa-test.jsonl` | 7,405 | `{"qid", "question", "answers"}` (`answers` is `null`) |
23
+ | `index/dense/` | | FAISS `IndexFlatIP` + `dense_retriever_meta.json` |
24
+
25
+ - `answers` is a single string.
26
+ - Dense index: `sentence-transformers/all-MiniLM-L6-v2` (dim 384, normalized), document text = `"{title} {text}"`.
27
+ Use the same retriever model, or the index will not load.
28
+ - Sizes: corpus ~14GB, index ~31GB. Put them on an SSD.
29
+
30
+ ## Download
31
+
32
+ Run from the repository root so the files land in `data/multihop/`.
33
+
34
+ ```bash
35
+ hf auth login
36
+ hf download <org>/<repo> --repo-type dataset --local-dir data/multihop
37
+ ```
38
+
39
+ ## Source
40
+
41
+ - Passages: DPR Wikipedia split (`psgs_w100`, Dec. 2018 dump), Karpukhin et al., 2020
42
+ - Questions/answers: HotpotQA (Yang et al., 2018)
corpus.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8685d609f1b9b170cb63038c36fe5889ae9b1833c8bb2c1e49dfcd48c0f347d1
3
+ size 14270114828
hotpotqa-test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
hotpotqa-train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f28c31412c38357db3557da7ca05ba8b263102a7814851e9c87f03a94a91e12
3
+ size 16895001
hotpotqa-validation.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
index/dense/dense_retriever_meta.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "sentence-transformers/all-MiniLM-L6-v2",
3
+ "query_prompt": "",
4
+ "doc_prompt": "",
5
+ "dim": 384,
6
+ "num_docs": 21015324
7
+ }
index/dense/index.faiss ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f65729b97d7421b364dc1b2776718db8922dbac6d26c6b6f5caea5321b19b253
3
+ size 32279537709