alexwww94 commited on
Commit
8b3fbc3
·
1 Parent(s): d4d492a

Update datasets-for-simcse.py

Browse files
Files changed (1) hide show
  1. datasets-for-simcse.py +1 -1
datasets-for-simcse.py CHANGED
@@ -57,5 +57,5 @@ class DatasetsForSimCSE(datasets.GeneratorBasedBuilder):
57
  """This function returns the examples in the raw (text) form."""
58
  df = pd.read_csv(filepath, sep=',')
59
  for idx, row in df.iterrows():
60
- context = {'sent0': row['sent0'], 'sent1': ['sent1'], 'hard_neg': row['hard_neg']}
61
  yield idx, context
 
57
  """This function returns the examples in the raw (text) form."""
58
  df = pd.read_csv(filepath, sep=',')
59
  for idx, row in df.iterrows():
60
+ context = {'sent0': row['sent0'], 'sent1': row['sent1'], 'hard_neg': row['hard_neg']}
61
  yield idx, context