From f738ab3b5d30e30c43a4c3d00ca8939f8a4d4427 Mon Sep 17 00:00:00 2001 From: Aaron Jimenez Date: Wed, 13 Mar 2024 12:04:51 -0800 Subject: [PATCH] [docs] Remove broken ChatML format link from chat_templating.md (#29643) * remove ChatML link from en/ * remove ChatML link in ja/ * remove ChatML link in zh/ --- docs/source/en/chat_templating.md | 2 +- docs/source/ja/chat_templating.md | 2 +- docs/source/zh/chat_templating.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/en/chat_templating.md b/docs/source/en/chat_templating.md index 94048f88ac..1d4881e2a2 100644 --- a/docs/source/en/chat_templating.md +++ b/docs/source/en/chat_templating.md @@ -375,7 +375,7 @@ best performance for inference or fine-tuning when you precisely match the token If you're training a model from scratch, or fine-tuning a base language model for chat, on the other hand, you have a lot of freedom to choose an appropriate template! LLMs are smart enough to learn to handle lots of different input formats. Our default template for models that don't have a class-specific template follows the -[ChatML format](https://github.com/openai/openai-python/blob/main/chatml.md), and this is a good, flexible choice for many use-cases. It looks like this: +`ChatML` format, and this is a good, flexible choice for many use-cases. It looks like this: ``` {% for message in messages %} diff --git a/docs/source/ja/chat_templating.md b/docs/source/ja/chat_templating.md index 78d900b5be..8db6d31305 100644 --- a/docs/source/ja/chat_templating.md +++ b/docs/source/ja/chat_templating.md @@ -205,7 +205,7 @@ tokenizer.push_to_hub("model_name") # Upload your new template to the Hub! 一方、ゼロからモデルをトレーニングするか、チャットのためにベース言語モデルをファインチューニングする場合、適切なテンプレートを選択する自由度があります。 LLM(Language Model)はさまざまな入力形式を処理できるほどスマートです。クラス固有のテンプレートがないモデル用のデフォルトテンプレートは、一般的なユースケースに対して良い柔軟な選択肢です。 -これは、[ChatMLフォーマット](https://github.com/openai/openai-python/blob/main/chatml.md)に従ったもので、多くのユースケースに適しています。次のようになります: +これは、`ChatMLフォーマット`に従ったもので、多くのユースケースに適しています。次のようになります: ``` {% for message in messages %} diff --git a/docs/source/zh/chat_templating.md b/docs/source/zh/chat_templating.md index 72764bc71c..847479b47f 100644 --- a/docs/source/zh/chat_templating.md +++ b/docs/source/zh/chat_templating.md @@ -336,7 +336,7 @@ tokenizer.push_to_hub("model_name") # Upload your new template to the Hub! 如果您从头开始训练模型,或者在微调基础语言模型进行聊天时,您有很大的自由选择适当的模板! LLMs足够聪明,可以学会处理许多不同的输入格式。我们为没有特定类别模板的模型提供一个默认模板,该模板遵循 -[ChatML format](https://github.com/openai/openai-python/blob/main/chatml.md)格式要求,对于许多用例来说, +`ChatML` format格式要求,对于许多用例来说, 这是一个很好的、灵活的选择。 默认模板看起来像这样: