Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengjieLi28 committed Jan 5, 2024
1 parent 66444a1 commit c1c7615
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/source/locale/zh_CN/LC_MESSAGES/models/custom.po
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ msgid ""
" model you want to register. For example, if you want to register the "
"``llama-2`` model, do not fill in ``llama-2-chat`` as the model family."
msgstr "model_family: 必需字段,表示你要注册的模型的家族(类别)。"
"可选值来自于 Xinference :ref:`所有内置模型的模型名 <models_llm_index>`。如果你要注册的模型不在其中,填入``other``。"
"注意,此字段的值必须根据模型能力填入。例如,如果你注册的是自定义``llama-2``模型,千万不要填入``llama-2-chat``。"
"可选值来自于 Xinference :ref:`所有内置模型的模型名 <models_llm_index>`。如果你要注册的模型不在其中,填入 ``other`` 。"
"注意,此字段的值必须根据模型能力填入。例如,如果你注册的是自定义 ``llama-2`` 模型,千万不要填入 ``llama-2-chat`` 。"

#: ../../source/models/custom.rst:62
msgid ""
Expand Down Expand Up @@ -162,7 +162,7 @@ msgid ""
"can also specify this field as a string, which will use the builtin "
"prompt style in Xinference. For example:"
msgstr ""
"prompt_style: 如果上述``model_family``字段不是``other``,则无需设置此字段。``prompt_style``是一个可选字段,表示 ``chat`` 模型需要的提示词样式。给定的示例将"
"prompt_style: 如果上述 ``model_family`` 字段不是 ``other`` ,则无需设置此字段。 ``prompt_style`` 是一个可选字段,表示 ``chat`` 模型需要的提示词样式。给定的示例将"
"其设置为 None,但可以在引用的文件 xinference/model/llm/tests/test_utils."
"py 中找到更多详细信息。你也可以指定一个字符串,以使用内置模型的提示词样式"
"。"
Expand Down

0 comments on commit c1c7615

Please sign in to comment.