-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 01-ai/Yi-1.5-34B-Chat #1145
Conversation
"parameters": { | ||
"stop": ["<|im_end|>"], | ||
"temperature": 0.3, | ||
"max_new_tokens": 1024, | ||
"truncate": 1000, | ||
"top_p": 0.8, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"modelUrl": "https://huggingface.co/01-ai/Yi-1.5-34B-Chat", | ||
"websiteUrl": "https://www.01.ai", | ||
"preprompt": "", | ||
"chatPromptTemplate": "{{preprompt}}{{#each messages}}{{#ifUser}}<|im_start|>user\\n{{content}}<|im_end|>\\n<|im_start|>assistant\\n{{/ifUser}}{{#ifAssistant}}{{content}}<|im_end|>{{/ifAssistant}}{{/each}}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
converted this jinja to handlebars https://huggingface.co/01-ai/Yi-1.5-34B-Chat/blob/main/tokenizer_config.json#L40
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed this, since we can load the chat prompt template from the tokenizer_config.json directly, the model was acting strange with this custom chat template. (internal discussion)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Add 01-ai/Yi-1.5-34B-Chat * change positioning
Order-wise on models page