Datasets:
Tasks:
Text Classification
Formats:
csv
Sub-tasks:
sentiment-classification
Languages:
English
Size:
10K - 100K
License:
Francisco Castillo
commited on
Commit
•
65d0a03
1
Parent(s):
8eac2ab
wip
Browse files- reviews_with_drift.py +2 -2
reviews_with_drift.py
CHANGED
@@ -157,8 +157,8 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
157 |
continue
|
158 |
prediction_ts,age,gender,context,text,label = row
|
159 |
yield id_, {
|
160 |
-
"prediction_ts":prediction_ts,
|
161 |
-
"age":age,
|
162 |
"gender":gender,
|
163 |
"context":context,
|
164 |
"text": text,
|
|
|
157 |
continue
|
158 |
prediction_ts,age,gender,context,text,label = row
|
159 |
yield id_, {
|
160 |
+
"prediction_ts":float(prediction_ts),
|
161 |
+
"age":int(age),
|
162 |
"gender":gender,
|
163 |
"context":context,
|
164 |
"text": text,
|