fix aquila template, repair sft packing mechanism
This commit is contained in:
1 parent
e1dcb8e4dc
commit
be420e4179
2 files changed
+18
-7
No files matched your search
@@ -423,7 +423,7 @@ register_template(
|
||||
|
||||
|
||||
r"""
|
||||
Supports: https://huggingface.co/qhduan/aquilachat-7b
|
||||
Supports: https://huggingface.co/BAAI/AquilaChat-7B
|
||||
"""
|
||||
register_template(
|
||||
name="aquila",
|
||||
@@ -439,7 +439,11 @@ register_template(
|
||||
),
|
||||
sep=[
|
||||
"###"
|
||||
]
|
||||
],
|
||||
stop_words=[
|
||||
"</s>"
|
||||
],
|
||||
efficient_eos=True
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user