trminhnam20082002 commited on
Commit
8ad0a43
·
1 Parent(s): 2885aab
Files changed (1) hide show
  1. VieGLUE.py +1 -1
VieGLUE.py CHANGED
@@ -516,7 +516,7 @@ class VNExpress(datasets.GeneratorBasedBuilder):
516
  for sample in all_samples:
517
  yield id_, {
518
  "idx": id_,
519
- "label": sample["label"],
520
  **{f: sample[f] for f in features},
521
  }
522
 
 
516
  for sample in all_samples:
517
  yield id_, {
518
  "idx": id_,
519
+ "label": sample["label"] if sample["label"] else -1,
520
  **{f: sample[f] for f in features},
521
  }
522