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": {
|
"zephyr": {
|
||||||
"global": {
|
"global": {
|
||||||
|
"alt-end": "<|endoftext|>\n",
|
||||||
"begin": "",
|
"begin": "",
|
||||||
"end": ""
|
"end": ""
|
||||||
},
|
},
|
||||||
"system": {
|
"system": {
|
||||||
|
"begin": "",
|
||||||
"prefix": "<|system|>\n",
|
"prefix": "<|system|>\n",
|
||||||
"suffix": "<|endoftext|>\n"
|
"suffix": "",
|
||||||
|
"end": "</s>\n"
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"begin": "",
|
"begin": "",
|
||||||
"prefix": "<|user|>\n",
|
"prefix": "<|user|>\n",
|
||||||
"suffix": "<|endoftext|>\n"
|
"suffix": "",
|
||||||
|
"end": "</s>\n"
|
||||||
},
|
},
|
||||||
"assistant": {
|
"assistant": {
|
||||||
|
"end-alt": "<|endoftext|>\n",
|
||||||
|
"begin": "",
|
||||||
"prefix": "<|assistant|>\n",
|
"prefix": "<|assistant|>\n",
|
||||||
"suffix": "<|endoftext|>\n"
|
"suffix": "",
|
||||||
|
"end": "</s>\n"
|
||||||
},
|
},
|
||||||
"reverse-prompt": "</s>",
|
"reverse-prompt": "</s>",
|
||||||
|
"systemuser-system-has-suffix": true,
|
||||||
|
"systemuser-system-has-end": true,
|
||||||
"systemuser-1st-user-has-begin": true,
|
"systemuser-1st-user-has-begin": true,
|
||||||
"systemuser-1st-user-has-prefix": true
|
"systemuser-1st-user-has-prefix": true
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue