CrowdMind commited on
Commit
d3d7d73
·
verified ·
1 Parent(s): f7afe19

Publish canonical ZsRE train and test splits

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. README.md +48 -0
  3. test.jsonl +0 -0
  4. train.jsonl +3 -0
.gitattributes CHANGED
@@ -58,3 +58,4 @@ 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
+ train.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - question-answering
7
+ - text-generation
8
+ size_categories:
9
+ - 100K<n<1M
10
+ ---
11
+
12
+ # ZsRE
13
+
14
+ Canonical ZsRE model-editing splits, repackaged as JSON Lines for direct use
15
+ with `datasets.load_dataset("CrowdMind/ZsRE")`. The train and test files
16
+ preserve the source records and fields without synthetic additions.
17
+
18
+ ## Splits
19
+
20
+ - `train.jsonl`: 163,196 records from the ROME/MEND training split.
21
+ - `test.jsonl`: 19,086 records from the ROME/MEND evaluation split, exposed as
22
+ `test` here.
23
+
24
+ Each row contains `subject`, `src`, `pred`, `rephrase`, `alt`, `answers`,
25
+ `loc`, `loc_ans`, and `cond`. In this model-editing format, `src` is the edit
26
+ prompt, `alt` is the requested new answer, `answers` contains the original
27
+ answer(s), `rephrase` tests generalization, and `loc` / `loc_ans` test locality.
28
+
29
+ ## Provenance and license
30
+
31
+ The split files are from the [ROME project data archive](https://rome.baulab.info/data/dsets/)
32
+ (`zsre_mend_train.json` and `zsre_mend_eval.json`). The underlying benchmark
33
+ is ZsRE from Levy et al., [“Zero-Shot Relation Extraction via Reading
34
+ Comprehension”](https://aclanthology.org/K17-1034/). The source archive makes
35
+ the data publicly downloadable but does not state a separate data license;
36
+ this repository therefore does not claim a new license for the data. Please
37
+ refer to the original sources for terms and attribution.
38
+
39
+ ## Citation
40
+
41
+ ```bibtex
42
+ @inproceedings{levy-etal-2017-zero,
43
+ title = {Zero-Shot Relation Extraction via Reading Comprehension},
44
+ author = {Levy, Omer and Seo, Minjoon and Choi, Eunsol and Zettlemoyer, Luke},
45
+ booktitle = {Proceedings of the 21st Conference on Computational Natural Language Learning},
46
+ year = {2017}
47
+ }
48
+ ```
test.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:567d8823f6f06e3136b89efbb3868bda8412151294975bfa8bba256834fc2058
3
+ size 65750357