mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
[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/
This commit is contained in:
parent
1fc505b816
commit
f738ab3b5d
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
@ -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格式要求,对于许多用例来说,
|
||||
这是一个很好的、灵活的选择。
|
||||
|
||||
默认模板看起来像这样:
|
||||
|
Loading…
Reference in New Issue
Block a user