init
Browse files- README.md +7 -6
- super_tweet_eval.py +7 -1
README.md
CHANGED
@@ -81,15 +81,15 @@ The data fields are the same among all splits.
|
|
81 |
- `word`: a `string` feature.
|
82 |
- `text_1`: a `string` feature.
|
83 |
- `text_tokenized_1`: a list of `string` feature.
|
84 |
-
- `token_idx_1`: a `
|
85 |
-
- `text_start_1`: a `
|
86 |
-
- `text_end_1`: a `
|
87 |
- `date_1`: a `string` feature.
|
88 |
- `text_2`: a `string` feature.
|
89 |
- `text_tokenized_2`: a list of `string` feature.
|
90 |
-
- `token_idx_2`: a `
|
91 |
-
- `text_start_2`: a `
|
92 |
-
- `text_end_2`: a `
|
93 |
- `date_2`: a `string` feature.
|
94 |
|
95 |
|
@@ -102,6 +102,7 @@ The data fields are the same among all splits.
|
|
102 |
| tweet_qa | generation | 9489 / 1086 / 1203 |
|
103 |
| tweet_similarity | regression on two texts | 450 / 100 / 450 |
|
104 |
| tweet_topic | multi-label classification | 4585 / 573 / 1679 |
|
|
|
105 |
|
106 |
## Citation Information
|
107 |
|
|
|
81 |
- `word`: a `string` feature.
|
82 |
- `text_1`: a `string` feature.
|
83 |
- `text_tokenized_1`: a list of `string` feature.
|
84 |
+
- `token_idx_1`: a `int` feature.
|
85 |
+
- `text_start_1`: a `int` feature.
|
86 |
+
- `text_end_1`: a `int` feature.
|
87 |
- `date_1`: a `string` feature.
|
88 |
- `text_2`: a `string` feature.
|
89 |
- `text_tokenized_2`: a list of `string` feature.
|
90 |
+
- `token_idx_2`: a `int` feature.
|
91 |
+
- `text_start_2`: a `int` feature.
|
92 |
+
- `text_end_2`: a `int` feature.
|
93 |
- `date_2`: a `string` feature.
|
94 |
|
95 |
|
|
|
102 |
| tweet_qa | generation | 9489 / 1086 / 1203 |
|
103 |
| tweet_similarity | regression on two texts | 450 / 100 / 450 |
|
104 |
| tweet_topic | multi-label classification | 4585 / 573 / 1679 |
|
105 |
+
| tempo_wic | binary classification on two texts | 1427 / 395 / 1427 |
|
106 |
|
107 |
## Citation Information
|
108 |
|
super_tweet_eval.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
import json
|
3 |
import datasets
|
4 |
|
5 |
-
_VERSION = "0.0.
|
6 |
_SUPER_TWEET_EVAL_CITATION = """TBA"""
|
7 |
_SUPER_TWEET_EVAL_DESCRIPTION = """TBA"""
|
8 |
_TWEET_TOPIC_DESCRIPTION = """
|
@@ -197,6 +197,12 @@ class SuperTweetEval(datasets.GeneratorBasedBuilder):
|
|
197 |
features["label_float"] = datasets.Value("float32")
|
198 |
if self.config.name == "tempo_wic":
|
199 |
features["label_binary"] = datasets.Value("int32")
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
features["text_1_tokenized"] = datasets.Sequence(datasets.Value("string"))
|
201 |
features["text_2_tokenized"] = datasets.Sequence(datasets.Value("string"))
|
202 |
|
|
|
2 |
import json
|
3 |
import datasets
|
4 |
|
5 |
+
_VERSION = "0.0.8"
|
6 |
_SUPER_TWEET_EVAL_CITATION = """TBA"""
|
7 |
_SUPER_TWEET_EVAL_DESCRIPTION = """TBA"""
|
8 |
_TWEET_TOPIC_DESCRIPTION = """
|
|
|
197 |
features["label_float"] = datasets.Value("float32")
|
198 |
if self.config.name == "tempo_wic":
|
199 |
features["label_binary"] = datasets.Value("int32")
|
200 |
+
features["token_idx_1"] = datasets.Value("int32")
|
201 |
+
features["token_idx_2"] = datasets.Value("int32")
|
202 |
+
features["text_start_1"] = datasets.Value("int32")
|
203 |
+
features["text_start_2"] = datasets.Value("int32")
|
204 |
+
features["text_end_1"] = datasets.Value("int32")
|
205 |
+
features["text_end_2"] = datasets.Value("int32")
|
206 |
features["text_1_tokenized"] = datasets.Sequence(datasets.Value("string"))
|
207 |
features["text_2_tokenized"] = datasets.Sequence(datasets.Value("string"))
|
208 |
|