Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions training/flan-t5-samsum-summarization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@
"\n",
"# Create Trainer instance\n",
"trainer = Seq2SeqTrainer(\n",
" tokenizer=tokenizer,\n",
" model=model,\n",
" args=training_args,\n",
" train_dataset=tokenized_dataset[\"train\"],\n",
Expand Down Expand Up @@ -510,8 +511,7 @@
"metadata": {},
"outputs": [],
"source": [
"# Save our tokenizer and create model card\n",
"tokenizer.save_pretrained(repository_id)\n",
"# Create model card\n",
"trainer.create_model_card()\n",
"# Push the results to the hub\n",
"trainer.push_to_hub()"
Expand Down