Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Remove broken ChatML format link from chat_templating.md #29643

Merged
merged 4 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/source/en/chat_templating.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/ja/chat_templating.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/zh/chat_templating.md
Original file line number Diff line number Diff line change
Expand Up @@ -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格式要求,对于许多用例来说,
这是一个很好的、灵活的选择。

默认模板看起来像这样:
Expand Down
Loading