smhavens commited on
Commit
36ea197
·
1 Parent(s): 14a77f6

Changed inputexample input

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['text']]))
65
 
66
  train_dataloader = DataLoader(train_examples, shuffle=True, batch_size=25)
67
 
 
61
  for i in range(n_examples):
62
  example = train_data[i]
63
  # print(example)
64
+ train_examples.append(InputExample(texts=[example['text']], label =[example['label']]))
65
 
66
  train_dataloader = DataLoader(train_examples, shuffle=True, batch_size=25)
67