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

Upload Biosses-BLUE.py

Browse files
Files changed (1) hide show
  1. Biosses-BLUE.py +2 -2
Biosses-BLUE.py CHANGED
@@ -76,7 +76,7 @@ class Biosses(datasets.GeneratorBasedBuilder):
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"),
@@ -121,7 +121,7 @@ class Biosses(datasets.GeneratorBasedBuilder):
121
  for index, r in df.iterrows():
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']),
 
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"),
 
121
  for index, r in df.iterrows():
122
 
123
  yield int(r['index']), {
124
+ "id": str(r['index']),
125
  "sentence1": str(r['sentence1']),
126
  "sentence2": str(r['sentence2']),
127
  "score": float(r['score']),