Datasets:
Tasks:
Text Classification
Formats:
csv
Sub-tasks:
sentiment-classification
Languages:
English
Size:
10K - 100K
License:
Francisco Castillo
commited on
Commit
·
57e6ebb
1
Parent(s):
7a3fee1
wip
Browse files- reviews_with_drift.py +5 -5
reviews_with_drift.py
CHANGED
@@ -166,10 +166,10 @@ class ReviewsWithDrift(datasets.GeneratorBasedBuilder):
|
|
166 |
# print(label)
|
167 |
if id_==0:
|
168 |
continue
|
169 |
-
print("CACA\n\n")
|
170 |
-
print(label)
|
171 |
-
print(type(label))
|
172 |
-
print("\n\nCACA\n\n")
|
173 |
yield id_, {
|
174 |
"prediction_ts":prediction_ts,
|
175 |
"age":age,
|
@@ -178,4 +178,4 @@ class ReviewsWithDrift(datasets.GeneratorBasedBuilder):
|
|
178 |
"text": text,
|
179 |
"label":"Negative",
|
180 |
}
|
181 |
-
break
|
|
|
166 |
# print(label)
|
167 |
if id_==0:
|
168 |
continue
|
169 |
+
# print("CACA\n\n")
|
170 |
+
# print(label)
|
171 |
+
# print(type(label))
|
172 |
+
# print("\n\nCACA\n\n")
|
173 |
yield id_, {
|
174 |
"prediction_ts":prediction_ts,
|
175 |
"age":age,
|
|
|
178 |
"text": text,
|
179 |
"label":"Negative",
|
180 |
}
|
181 |
+
# break
|