mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 12:42:51 +08:00
fix vicuna template
Former-commit-id: 52fc24d1664bc701f43e2bff8b3faded795b929c
This commit is contained in:
parent
5705c82cd8
commit
bf0faf129d
@ -68,8 +68,8 @@ https://github.com/hiyouga/LLaMA-Factory/assets/16256802/6ba60acc-e2e2-4bec-b846
|
|||||||
> **Default module** is used for the `--lora_target` argument, you can use `--lora_target all` to specify all the available modules.
|
> **Default module** is used for the `--lora_target` argument, you can use `--lora_target all` to specify all the available modules.
|
||||||
>
|
>
|
||||||
> For the "base" models, the `--template` argument can be chosen from `default`, `alpaca`, `vicuna` etc. But make sure to use the **corresponding template** for the "chat" models.
|
> For the "base" models, the `--template` argument can be chosen from `default`, `alpaca`, `vicuna` etc. But make sure to use the **corresponding template** for the "chat" models.
|
||||||
>
|
|
||||||
> Please refer to [template.py](src/llmtuner/extras/template.py) for a full list of models we supported.
|
Please refer to [template.py](src/llmtuner/extras/template.py) for a full list of models we supported.
|
||||||
|
|
||||||
## Supported Training Approaches
|
## Supported Training Approaches
|
||||||
|
|
||||||
|
@ -68,8 +68,8 @@ https://github.com/hiyouga/LLaMA-Factory/assets/16256802/6ba60acc-e2e2-4bec-b846
|
|||||||
> **默认模块**应作为 `--lora_target` 参数的默认值,可使用 `--lora_target all` 参数指定全部模块。
|
> **默认模块**应作为 `--lora_target` 参数的默认值,可使用 `--lora_target all` 参数指定全部模块。
|
||||||
>
|
>
|
||||||
> 对于所有“基座”(Base)模型,`--template` 参数可以是 `default`, `alpaca`, `vicuna` 等任意值。但“对话”(Chat)模型请务必使用**对应的模板**。
|
> 对于所有“基座”(Base)模型,`--template` 参数可以是 `default`, `alpaca`, `vicuna` 等任意值。但“对话”(Chat)模型请务必使用**对应的模板**。
|
||||||
>
|
|
||||||
> 项目所支持模型的完整列表请参阅 [template.py](src/llmtuner/extras/template.py)。
|
项目所支持模型的完整列表请参阅 [template.py](src/llmtuner/extras/template.py)。
|
||||||
|
|
||||||
## 训练方法
|
## 训练方法
|
||||||
|
|
||||||
|
@ -366,6 +366,7 @@ register_template(
|
|||||||
|
|
||||||
r"""
|
r"""
|
||||||
Supports: https://huggingface.co/IDEA-CCNL/Ziya-LLaMA-13B-v1
|
Supports: https://huggingface.co/IDEA-CCNL/Ziya-LLaMA-13B-v1
|
||||||
|
https://huggingface.co/IDEA-CCNL/Ziya-LLaMA-13B-v1.1
|
||||||
https://huggingface.co/IDEA-CCNL/Ziya2-13B-Chat
|
https://huggingface.co/IDEA-CCNL/Ziya2-13B-Chat
|
||||||
"""
|
"""
|
||||||
register_template(
|
register_template(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user