Saibo Geng commited on
Commit
bb09d55
1 Parent(s): 8c40e65

upload data

Browse files
CP/ptb/ptb-test.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18e52871fcad4fb1d6d483fac4939ec8977cc9890f552dda90a801ee44be2863
3
+ size 1860632
CP/ptb/ptb-train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:708dca4d9cc62bd46b7f4efbeb2a067bc282460e42928def8020508891e68f66
3
+ size 31366509
CP/ptb/ptb-valid.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6408d74d5369ff8c064ae6a7cd092fba100ae60d7349063360e399276cb245c
3
+ size 1311165
ED/ace2004/ace2004-test-kilt-short.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72b1ab6c1a1d63572ddfa6249e7ac2528158147947108dd72554423ec0838ce1
3
+ size 440502
ED/aida/aida-test-kilt-short.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c0616f29ca6232246f80f39dc94a869fb9472bc49e37e038f4d9705a051f345
3
+ size 8113119
ED/aquaint/aquaint-test-kilt-short.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:beb286df5812000c8faacf0ace0548267290fedb5e7ff83ceb7b4727c5845c24
3
+ size 914980
ED/clueweb/clueweb-test-kilt-short.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcbb25d8d28bf4c8a7c0bcceb5049a7ec818a27e75c2633cb1329a2f2d927d2d
3
+ size 16569603
ED/filter_wiki_unseen.py ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+
3
+ input_file = "wikiLinksNED/wikiLinksNED-test-kilt-short.jsonl"
4
+ output_file = "wikiLinksNED-filtered-test-kilt-short.jsonl"
5
+
6
+ filtered_lines = []
7
+
8
+ with open(input_file, "r") as file:
9
+ for line in file:
10
+ data = json.loads(line)
11
+ id_ = data["id"]
12
+ text = data["text"]
13
+ target = data["target"]
14
+ candidates = data["candidates"]
15
+ mention = data["mention"]
16
+ left_context = data["left_context"]
17
+ right_context = data["right_context"]
18
+
19
+ if not candidates or target not in candidates:
20
+ # empty candidates or target not in candidates
21
+ # filter out
22
+ continue
23
+ filtered_lines.append(line)
24
+
25
+ with open(output_file, "w") as file:
26
+ for line in filtered_lines:
27
+ file.write(line)
ED/msnbc/msnbc-test-kilt-short.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b0097f4f1c639103c71ade18bcb2e9f293ef928a62847b700e1183dc95a1973
3
+ size 745439
ED/wiki/wiki-test-kilt-short.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73f121fb2a4f3d42afc8f5f6394b017dfad24140f343c731ae93ccff8db96ad4
3
+ size 8937307
ED/wikiLinksNED/wikiLinksNED-test-kilt-short.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65585f10c29d01621dbb43399e0e7f140a501ad00c8b6e85620cc1d293a524e5
3
+ size 5229281
IE/constrained_worlds/genie/entities.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c898f3e4e6530335de404969c0789262852e8de8bb01707f54f2d1cf3f115d4
3
+ size 32920223
IE/constrained_worlds/genie/relations.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c658c14cc07d8e373cab579735f379a991fe720f9ba06ca32dde3a1f453768b6
3
+ size 9408
IE/constrained_worlds/genie_llama_tokenizeable/entities.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:408170e77de1dc424c1873687e6d20d07f69dddbd24fc1cbc57bd47f16b4c5b5
3
+ size 32920223
IE/constrained_worlds/genie_llama_tokenizeable/relations.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eec19e6b20c6fbfb32fe5863c61bafc1445a8794865b2dcae5ba9dded89ebc8a
3
+ size 9408
IE/constrained_worlds/genie_t5_tokenizeable/entities.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bd86ba2d438e737645d3a5acfea36294cb8e5f40fcfdcedbeca5c37dccd0923
3
+ size 31434376
IE/constrained_worlds/genie_t5_tokenizeable/relations.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91cd748c84a17a44dd353d85238b081a4ff66a1826b435e4e187e6c190bd6017
3
+ size 9408
IE/id2name_mappings/entity_mapping.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cca42dc0f30ce651b2189284de7cd08aedfa2572c208368f72476eb81706b1d
3
+ size 354718293
IE/id2name_mappings/relation_mapping.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8cf578c184c84a9fab383562aad68068d1486e402ecff03995a3a1087c7b028
3
+ size 56258
IE/rebel/test_small.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21c353f2751f3485ab22effb2b7480f82fe74cc0c8fa09804a500d3a2c328d8c
3
+ size 21288922
IE/synthie/test_small_ordered.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:119b9179923ff940459cf43d07b5dd41b8bf54030dd51ac825454e8d8abf7250
3
+ size 28234796