Spaces:
Sleeping
Sleeping
smhavens
commited on
Commit
·
5ee2a12
1
Parent(s):
42ce21d
InputExample Attempt again
Browse files
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=
|
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 |
|