ChatON:Zephyr: Update wrt detailed meta json, also update eos
Pick eos from zephyr's tokenizer_config, which is different from what was hardcoded in the existing llama_chat_apply_template.
This commit is contained in:
parent
18cd12524f
commit
a64dcd7796
1 changed files with 12 additions and 3 deletions
|
@ -82,23 +82,32 @@
|
|||
},
|
||||
"zephyr": {
|
||||
"global": {
|
||||
"alt-end": "<|endoftext|>\n",
|
||||
"begin": "",
|
||||
"end": ""
|
||||
},
|
||||
"system": {
|
||||
"begin": "",
|
||||
"prefix": "<|system|>\n",
|
||||
"suffix": "<|endoftext|>\n"
|
||||
"suffix": "",
|
||||
"end": "</s>\n"
|
||||
},
|
||||
"user": {
|
||||
"begin": "",
|
||||
"prefix": "<|user|>\n",
|
||||
"suffix": "<|endoftext|>\n"
|
||||
"suffix": "",
|
||||
"end": "</s>\n"
|
||||
},
|
||||
"assistant": {
|
||||
"end-alt": "<|endoftext|>\n",
|
||||
"begin": "",
|
||||
"prefix": "<|assistant|>\n",
|
||||
"suffix": "<|endoftext|>\n"
|
||||
"suffix": "",
|
||||
"end": "</s>\n"
|
||||
},
|
||||
"reverse-prompt": "</s>",
|
||||
"systemuser-system-has-suffix": true,
|
||||
"systemuser-system-has-end": true,
|
||||
"systemuser-1st-user-has-begin": true,
|
||||
"systemuser-1st-user-has-prefix": true
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue