Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -165,7 +165,7 @@ def prepare_training_data(qa_pairs, tokenizer):
|
|
165 |
return encoded_data
|
166 |
|
167 |
# Prepare training data
|
168 |
-
train_data = prepare_training_data(qa_pairs)
|
169 |
|
170 |
# Train the model
|
171 |
learning_rate = 2e-5
|
|
|
165 |
return encoded_data
|
166 |
|
167 |
# Prepare training data
|
168 |
+
train_data = prepare_training_data(qa_pairs, tokenizer)
|
169 |
|
170 |
# Train the model
|
171 |
learning_rate = 2e-5
|