updated wic preprocess
Browse files- data/tempo_wic/test.jsonl +2 -2
- data/tempo_wic/train.jsonl +2 -2
- data/tempo_wic/validation.jsonl +2 -2
- process/tempo_wic.py +2 -0
data/tempo_wic/test.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:05f9b5026d9f61c06f2ea942bad0d732abf8990d5f1ccf5963da98e9e41b1822
|
3 |
+
size 1180824
|
data/tempo_wic/train.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:262a33372d6a93ce3b91c85e7d0ce2382aa05c73657cc2f17d4fa825316e0e33
|
3 |
+
size 1326430
|
data/tempo_wic/validation.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2988fb98e844d505a201ae1b7be7d7dc185b51aef9144f9f70c33c9dc6a9e29
|
3 |
+
size 319503
|
process/tempo_wic.py
CHANGED
@@ -34,6 +34,8 @@ for s in ['train', 'validation', 'test']:
|
|
34 |
# tmp.pop("text_end_1")
|
35 |
# tmp.pop("text_start_2")
|
36 |
# tmp.pop("text_end_2")
|
|
|
|
|
37 |
data_jl.append(tmp)
|
38 |
|
39 |
with open(f"data/tempo_wic/{s}.jsonl", "w") as f:
|
|
|
34 |
# tmp.pop("text_end_1")
|
35 |
# tmp.pop("text_start_2")
|
36 |
# tmp.pop("text_end_2")
|
37 |
+
tmp.pop("date_1")
|
38 |
+
tmp.pop("date_2")
|
39 |
data_jl.append(tmp)
|
40 |
|
41 |
with open(f"data/tempo_wic/{s}.jsonl", "w") as f:
|