qanastek commited on
Commit
cdf7e9e
·
1 Parent(s): db4fc37

Upload Biosses-BLUE.py

Browse files
Files changed (1) hide show
  1. Biosses-BLUE.py +3 -3
Biosses-BLUE.py CHANGED
@@ -76,7 +76,7 @@ class Biosses(datasets.GeneratorBasedBuilder):
76
  description=_DESCRIPTION,
77
  features=datasets.Features(
78
  {
79
- "id": datasets.Value("string"),
80
  "sentence1": datasets.Value("string"),
81
  "sentence2": datasets.Value("string"),
82
  "score": datasets.Value("float"),
@@ -122,7 +122,7 @@ class Biosses(datasets.GeneratorBasedBuilder):
122
 
123
  yield int(r['index']), {
124
  "id": int(r['index']),
125
- "sentence1": r['sentence1'],
126
- "sentence2": r['sentence2'],
127
  "score": float(r['score']),
128
  }
 
76
  description=_DESCRIPTION,
77
  features=datasets.Features(
78
  {
79
+ "id": datasets.Value("int"),
80
  "sentence1": datasets.Value("string"),
81
  "sentence2": datasets.Value("string"),
82
  "score": datasets.Value("float"),
 
122
 
123
  yield int(r['index']), {
124
  "id": int(r['index']),
125
+ "sentence1": str(r['sentence1']),
126
+ "sentence2": str(r['sentence2']),
127
  "score": float(r['score']),
128
  }