smhavens commited on
Commit
fe5d9d2
·
1 Parent(s): 7bf917c

id is actually label

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