Datasets:
Tasks:
Text Classification
Sub-tasks:
sentiment-classification
Languages:
English
Size:
10K<n<100K
License:
Francisco Castillo
commited on
Commit
·
0be6cac
1
Parent(s):
880da1c
Update loading script
Browse files
ecommerce_reviews_language_drift.py
CHANGED
@@ -95,9 +95,10 @@ class ReviewsWithDrift(datasets.GeneratorBasedBuilder):
|
|
95 |
# These are the features of your dataset like images, labels ...
|
96 |
{
|
97 |
"prediction_ts": datasets.Value("float"),
|
98 |
-
"
|
99 |
-
"
|
100 |
-
"
|
|
|
101 |
"text":datasets.Value("string"),
|
102 |
"label":datasets.ClassLabel(names=class_names),
|
103 |
}
|
|
|
95 |
# These are the features of your dataset like images, labels ...
|
96 |
{
|
97 |
"prediction_ts": datasets.Value("float"),
|
98 |
+
"reviewer_age":datasets.Value("int16"),
|
99 |
+
"reviewer_gender":datasets.Value("string"),
|
100 |
+
"product_category":datasets.Value("string"),
|
101 |
+
"language":datasets.Value("string"),
|
102 |
"text":datasets.Value("string"),
|
103 |
"label":datasets.ClassLabel(names=class_names),
|
104 |
}
|