reintroduced date in wic
Browse files- data/tempo_wic/test.jsonl +2 -2
- data/tempo_wic/train.jsonl +2 -2
- data/tempo_wic/validation.jsonl +2 -2
- get_stats.py +4 -4
- process/tempo_wic.py +0 -2
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:43384545179dbca5e522d101283c05fb8b54a539a9e71f7eb60409370e4a8382
|
3 |
+
size 1342542
|
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:4408d954b6b751649370fa016ddb1006dedae9dea2bd920c073d2a1dd1def65f
|
3 |
+
size 1496836
|
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:25d352a9557863af5700bb6ff01efd52a44415abafb358388dcc49330eaa611a
|
3 |
+
size 362990
|
get_stats.py
CHANGED
@@ -8,10 +8,10 @@ task_description = {
|
|
8 |
'tweet_qa': "generation",
|
9 |
'tweet_similarity': "regression on two texts",
|
10 |
'tweet_topic': "multi-label classification",
|
11 |
-
"tempo_wic": "binary classification on two texts"
|
12 |
-
"tweet_sentiment": "ABSA on a five-point scale"
|
13 |
-
"tweet_hate": "multi-class classification"
|
14 |
-
"tweet_emoji": "multi-class classification"
|
15 |
"tweet_nerd": "binary classification"
|
16 |
}
|
17 |
for task in task_description.keys():
|
|
|
8 |
'tweet_qa': "generation",
|
9 |
'tweet_similarity': "regression on two texts",
|
10 |
'tweet_topic': "multi-label classification",
|
11 |
+
"tempo_wic": "binary classification on two texts",
|
12 |
+
"tweet_sentiment": "ABSA on a five-point scale",
|
13 |
+
"tweet_hate": "multi-class classification",
|
14 |
+
"tweet_emoji": "multi-class classification",
|
15 |
"tweet_nerd": "binary classification"
|
16 |
}
|
17 |
for task in task_description.keys():
|
process/tempo_wic.py
CHANGED
@@ -34,8 +34,6 @@ 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 |
-
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:
|
|
|
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:
|