antypasd commited on
Commit
163ef0e
1 Parent(s): 8b233f5

updated wic preprocess

Browse files
data/tempo_wic/test.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:43384545179dbca5e522d101283c05fb8b54a539a9e71f7eb60409370e4a8382
3
- size 1342542
 
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:4408d954b6b751649370fa016ddb1006dedae9dea2bd920c073d2a1dd1def65f
3
- size 1496836
 
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:25d352a9557863af5700bb6ff01efd52a44415abafb358388dcc49330eaa611a
3
- size 362990
 
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: