Skip to content

Commit 5d2314a

Browse files
fix typo in python code example (#1413)
1 parent 2399022 commit 5d2314a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Chat_finetuning_data_prep.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
"print_distribution(n_messages, \"num_messages_per_example\")\n",
268268
"print_distribution(convo_lens, \"num_total_tokens_per_example\")\n",
269269
"print_distribution(assistant_message_lens, \"num_assistant_tokens_per_example\")\n",
270-
"n_too_long = sum(l > 16,385 for l in convo_lens)\n",
270+
"n_too_long = sum(l > 16385 for l in convo_lens)\n",
271271
"print(f\"\\n{n_too_long} examples may be over the 16,385 token limit, they will be truncated during fine-tuning\")"
272272
]
273273
},

0 commit comments

Comments
 (0)