mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-20 13:50:35 +08:00
Merge pull request #5910 from Cuiyn/index
Support Index series models.
Former-commit-id: c58cc22d06
This commit is contained in:
@@ -691,6 +691,14 @@ _register_template(
|
||||
)
|
||||
|
||||
|
||||
_register_template(
|
||||
name="index",
|
||||
format_user=StringFormatter(slots=["reserved_0{{content}}reserved_1"]),
|
||||
format_system=StringFormatter(slots=["<unk>{{content}}"]),
|
||||
efficient_eos=True,
|
||||
)
|
||||
|
||||
|
||||
_register_template(
|
||||
name="intern",
|
||||
format_user=StringFormatter(slots=["<|User|>:{{content}}\n<|Bot|>:"]),
|
||||
|
||||
Reference in New Issue
Block a user