Francisco Castillo commited on
Commit
40398d7
1 Parent(s): a3372ce
Files changed (1) hide show
  1. reviews_with_drift.py +2 -1
reviews_with_drift.py CHANGED
@@ -156,6 +156,7 @@ class ReviewsWithDrift(datasets.GeneratorBasedBuilder):
156
  for id_, row in enumerate(csv_reader):
157
  prediction_ts,age,gender,context,text,label = row
158
  print(prediction_ts)
 
159
  print(label)
160
  yield id_, {
161
  "prediction_ts":33.33,
@@ -163,5 +164,5 @@ class ReviewsWithDrift(datasets.GeneratorBasedBuilder):
163
  "gender":gender,
164
  "context":context,
165
  "text": text,
166
- "label":"Negative",
167
  }
 
156
  for id_, row in enumerate(csv_reader):
157
  prediction_ts,age,gender,context,text,label = row
158
  print(prediction_ts)
159
+ print(age)
160
  print(label)
161
  yield id_, {
162
  "prediction_ts":33.33,
 
164
  "gender":gender,
165
  "context":context,
166
  "text": text,
167
+ "label":label,
168
  }