Spaces:
Sleeping
Sleeping
smhavens
commited on
Commit
·
27f00a9
1
Parent(s):
fd94d05
print example 'text'
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def training():
|
|
64 |
|
65 |
for i in range(n_examples):
|
66 |
example = train_data[i]
|
67 |
-
print(example)
|
68 |
train_examples.append(InputExample(texts=example['text'], label=example['label']))
|
69 |
|
70 |
train_dataloader = DataLoader(train_examples, shuffle=True, batch_size=25)
|
|
|
64 |
|
65 |
for i in range(n_examples):
|
66 |
example = train_data[i]
|
67 |
+
print(example["text"])
|
68 |
train_examples.append(InputExample(texts=example['text'], label=example['label']))
|
69 |
|
70 |
train_dataloader = DataLoader(train_examples, shuffle=True, batch_size=25)
|