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
8 changes: 4 additions & 4 deletions notebooks/fine_tune_with_hugging_face.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1027,8 +1027,8 @@
"outputs": [],
"source": [
"pt_outputs = pt_pipe(\n",
" text=test_data[\"messages\"],\n",
" images=test_data[\"image\"],\n",
" text=[txt for txt in test_data[\"messages\"]],\n",
" images=[img for img in test_data[\"image\"]],\n",
" max_new_tokens=40,\n",
" batch_size=64,\n",
" return_full_text=False,\n",
Expand Down Expand Up @@ -1124,8 +1124,8 @@
"outputs": [],
"source": [
"ft_outputs = ft_pipe(\n",
" text=test_data[\"messages\"],\n",
" images=test_data[\"image\"],\n",
" text=[txt for txt in test_data[\"messages\"]],\n",
" images=[img for img in test_data[\"image\"]],\n",
" max_new_tokens=20,\n",
" batch_size=64,\n",
" return_full_text=False,\n",
Expand Down