Skip to content

Commit

Permalink
print prompt to display new lines (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
samos123 authored Oct 12, 2023
1 parent 89d29f0 commit 9d0f649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model-trainer-huggingface/src/train.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"\"\"\"\n",
"\n",
"prompt = params.get(\"prompt_template\", default_prompt)\n",
"prompt.format_map(data[\"train\"][0])"
"print(prompt.format_map(data[\"train\"][0]))"
]
},
{
Expand Down

0 comments on commit 9d0f649

Please sign in to comment.