From 5d2314ab4e85020b7dd9bfb2b9654b0372261650 Mon Sep 17 00:00:00 2001 From: Kevin Whinnery Date: Thu, 19 Sep 2024 14:19:30 -0500 Subject: [PATCH] fix typo in python code example (#1413) --- examples/Chat_finetuning_data_prep.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Chat_finetuning_data_prep.ipynb b/examples/Chat_finetuning_data_prep.ipynb index 207795474a..c5e113c472 100644 --- a/examples/Chat_finetuning_data_prep.ipynb +++ b/examples/Chat_finetuning_data_prep.ipynb @@ -267,7 +267,7 @@ "print_distribution(n_messages, \"num_messages_per_example\")\n", "print_distribution(convo_lens, \"num_total_tokens_per_example\")\n", "print_distribution(assistant_message_lens, \"num_assistant_tokens_per_example\")\n", - "n_too_long = sum(l > 16,385 for l in convo_lens)\n", + "n_too_long = sum(l > 16385 for l in convo_lens)\n", "print(f\"\\n{n_too_long} examples may be over the 16,385 token limit, they will be truncated during fine-tuning\")" ] },