qanastek commited on
Commit
f5b1743
·
1 Parent(s): 65322ea

Upload CLISTER.py

Browse files
Files changed (1) hide show
  1. CLISTER.py +1 -1
CLISTER.py CHANGED
@@ -127,7 +127,7 @@ class CLISTER(datasets.GeneratorBasedBuilder):
127
  "document_2_id": e["id_2"],
128
  "text_1": data_map["_".join(e["id_1"].split("_")[0:2])],
129
  "text_2": data_map["_".join(e["id_2"].split("_")[0:2])],
130
- "label": e["sim"],
131
  })
132
 
133
  key += 1
 
127
  "document_2_id": e["id_2"],
128
  "text_1": data_map["_".join(e["id_1"].split("_")[0:2])],
129
  "text_2": data_map["_".join(e["id_2"].split("_")[0:2])],
130
+ "label": float(e["sim"]),
131
  })
132
 
133
  key += 1