smhavens commited on
Commit
3fb98b7
·
1 Parent(s): eb6049c

Fixed call to id?

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def training():
59
 
60
  for i in range(n_examples):
61
  example = train_data[i]
62
- train_examples.append(InputExample(texts=[example['sentence'], example['label'], example['id']]))
63
 
64
  train_dataloader = DataLoader(train_examples, shuffle=True, batch_size=16)
65
 
 
59
 
60
  for i in range(n_examples):
61
  example = train_data[i]
62
+ train_examples.append(InputExample(texts=[example['sentence'], example['label'], example['idx']]))
63
 
64
  train_dataloader = DataLoader(train_examples, shuffle=True, batch_size=16)
65