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 course/en/chapter11/section3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
" learning_rate=5e-5, # Common starting point for fine-tuning\n",
" logging_steps=10, # Frequency of logging training metrics\n",
" save_steps=100, # Frequency of saving model checkpoints\n",
" evaluation_strategy=\"steps\", # Evaluate the model at regular intervals\n",
" eval_strategy=\"steps\", # Evaluate the model at regular intervals\n",
" eval_steps=50, # Frequency of evaluation\n",
" use_mps_device=(\n",
" True if device == \"mps\" else False\n",
Expand All @@ -166,7 +166,7 @@
" model=model,\n",
" args=sft_config,\n",
" train_dataset=ds[\"train\"],\n",
" tokenizer=tokenizer,\n",
" processing_class=tokenizer,\n",
" eval_dataset=ds[\"test\"],\n",
")\n",
"\n",
Expand Down