Francisco Castillo commited on
Commit
65d0a03
1 Parent(s): 8eac2ab
Files changed (1) hide show
  1. 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,