Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ tokenized_dataset = raw_dataset.map(preprocess_function, batched=True)
|
|
| 37 |
|
| 38 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_checkpoint)
|
| 39 |
|
| 40 |
-
batch_size =
|
| 41 |
|
| 42 |
args = Seq2SeqTrainingArguments(
|
| 43 |
f"{model_checkpoint}-scientific_papers",
|
|
|
|
| 37 |
|
| 38 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_checkpoint)
|
| 39 |
|
| 40 |
+
batch_size = 4
|
| 41 |
|
| 42 |
args = Seq2SeqTrainingArguments(
|
| 43 |
f"{model_checkpoint}-scientific_papers",
|