Skip to content

Commit b68f7b7

Browse files
Kaneki-x涧波
andauthored
[docs] Updated conversation template doc (#3020)
[docs] Updated path pointers in both docs files to point to the `conversation_template` directory instead of linking to the non-existent `conversation_template.py` file. Co-authored-by: 涧波 <kaneki.cjb@alibaba-inc.com>
1 parent 9214f71 commit b68f7b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/compilation/convert_weights.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ See :ref:`compile-command-specification` for specification of ``gen_config``.
102102
``dist/RedPajama-INCITE-Instruct-3B-v1-q4f16_1-MLC/mlc-chat-config.json`` (checkout :ref:`configure-mlc-chat-json` for more detailed instructions).
103103
You can also simply use the default configuration.
104104

105-
`conversation_template.py <https://github.com/mlc-ai/mlc-llm/blob/main/python/mlc_llm/conversation_template.py>`__
106-
contains a full list of conversation templates that MLC provides. If the model you are adding
105+
`conversation_template <https://github.com/mlc-ai/mlc-llm/blob/main/python/mlc_llm/conversation_template>`__
106+
directory contains a full list of conversation templates that MLC provides. If the model you are adding
107107
requires a new conversation template, you would need to add your own.
108108
Follow `this PR <https://github.com/mlc-ai/mlc-llm/pull/2163>`__ as an example. However,
109109
adding your own template would require you :ref:`build mlc_llm from source <mlcchat_build_from_source>` in order for it

docs/deploy/mlc_chat_config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ supported conversation templates:
110110
- ``phi-2``
111111
- ...
112112

113-
Please refer to `conversation_template.py <https://github.com/mlc-ai/mlc-llm/blob/main/python/mlc_llm/conversation_template.py>`_ for the full list of supported templates and their implementations.
113+
Please refer to `conversation_template <https://github.com/mlc-ai/mlc-llm/blob/main/python/mlc_llm/conversation_template>`_ directory for the full list of supported templates and their implementations.
114114

115115
Below is a generic structure of a JSON conversation configuration (we use vicuna as an example):
116116

0 commit comments

Comments
 (0)