Sebastien Montella
commited on
Commit
·
4e662f6
1
Parent(s):
053885b
json --> jsonl
Browse files- simpitiki.py +22 -22
simpitiki.py
CHANGED
@@ -41,40 +41,40 @@ _LICENSE = "CC-BY 4.0"
|
|
41 |
_URLs = {
|
42 |
"v1":{
|
43 |
"random": {
|
44 |
-
"train":"./v1/random_split/train.
|
45 |
-
"val":"./v1/random_split/val.
|
46 |
-
"test":"./v1/random_split/test.
|
47 |
},
|
48 |
"transformations": {
|
49 |
-
"train": "./v1/transformations_split/train.
|
50 |
-
"val": "./v1/transformations_split/val.
|
51 |
-
"seen_transformations_test": "./v1/transformations_split/seen_transformations_test.
|
52 |
-
"unseen_transformations_test":"./v1/transformations_split/unseen_transformations_test.
|
53 |
},
|
54 |
"source_dataset": {
|
55 |
-
"itwiki_train":"./v1/source_dataset_split/itwiki_train.
|
56 |
-
"itwiki_val": "./v1/source_dataset_split/itwiki_val.
|
57 |
-
"itwiki_test":"./v1/source_dataset_split/itwiki_test.
|
58 |
-
"tn_test":"./v1/source_dataset_split/tn_test.
|
59 |
}
|
60 |
},
|
61 |
"v2":{
|
62 |
"random": {
|
63 |
-
"train":"./v2/random_split/train.
|
64 |
-
"val":"./v2/random_split/val.
|
65 |
-
"test":"./v2/random_split/test.
|
66 |
},
|
67 |
"transformations": {
|
68 |
-
"train": "./v2/transformations_split/train.
|
69 |
-
"val": "./v2/transformations_split/val.
|
70 |
-
"seen_transformations_test": "./v2/transformations_split/seen_transformations_test.
|
71 |
-
"unseen_transformations_test":"./v2/transformations_split/unseen_transformations_test.
|
72 |
},
|
73 |
"source_dataset": {
|
74 |
-
"itwiki_train":"./v2/source_dataset_split/itwiki_train.
|
75 |
-
"itwiki_val": "./v2/source_dataset_split/itwiki_val.
|
76 |
-
"itwiki_test":"./v2/source_dataset_split/itwiki_test.
|
77 |
-
"tn_test":"./v2/source_dataset_split/tn_test.
|
78 |
}
|
79 |
|
80 |
|
|
|
41 |
_URLs = {
|
42 |
"v1":{
|
43 |
"random": {
|
44 |
+
"train":"./v1/random_split/train.jsonl",
|
45 |
+
"val":"./v1/random_split/val.jsonl",
|
46 |
+
"test":"./v1/random_split/test.jsonl"
|
47 |
},
|
48 |
"transformations": {
|
49 |
+
"train": "./v1/transformations_split/train.jsonl",
|
50 |
+
"val": "./v1/transformations_split/val.jsonl",
|
51 |
+
"seen_transformations_test": "./v1/transformations_split/seen_transformations_test.jsonl",
|
52 |
+
"unseen_transformations_test":"./v1/transformations_split/unseen_transformations_test.jsonl"
|
53 |
},
|
54 |
"source_dataset": {
|
55 |
+
"itwiki_train":"./v1/source_dataset_split/itwiki_train.jsonl",
|
56 |
+
"itwiki_val": "./v1/source_dataset_split/itwiki_val.jsonl",
|
57 |
+
"itwiki_test":"./v1/source_dataset_split/itwiki_test.jsonl",
|
58 |
+
"tn_test":"./v1/source_dataset_split/tn_test.jsonl"
|
59 |
}
|
60 |
},
|
61 |
"v2":{
|
62 |
"random": {
|
63 |
+
"train":"./v2/random_split/train.jsonl",
|
64 |
+
"val":"./v2/random_split/val.jsonl",
|
65 |
+
"test":"./v2/random_split/test.jsonl"
|
66 |
},
|
67 |
"transformations": {
|
68 |
+
"train": "./v2/transformations_split/train.jsonl",
|
69 |
+
"val": "./v2/transformations_split/val.jsonl",
|
70 |
+
"seen_transformations_test": "./v2/transformations_split/seen_transformations_test.jsonl",
|
71 |
+
"unseen_transformations_test":"./v2/transformations_split/unseen_transformations_test.jsonl"
|
72 |
},
|
73 |
"source_dataset": {
|
74 |
+
"itwiki_train":"./v2/source_dataset_split/itwiki_train.jsonl",
|
75 |
+
"itwiki_val": "./v2/source_dataset_split/itwiki_val.jsonl",
|
76 |
+
"itwiki_test":"./v2/source_dataset_split/itwiki_test.jsonl",
|
77 |
+
"tn_test":"./v2/source_dataset_split/tn_test.jsonl"
|
78 |
}
|
79 |
|
80 |
|