Skip to content
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

Support huggingface chat template #1095

Closed
wants to merge 7 commits into from

Conversation

AllentDan
Copy link
Collaborator

No description provided.

@AllentDan AllentDan added the WIP label Feb 1, 2024
@AllentDan AllentDan changed the title [WIP] Support huggingface chat template Support huggingface chat template Feb 4, 2024
@AllentDan AllentDan removed the WIP label Feb 4, 2024
@AllentDan
Copy link
Collaborator Author

This PR needs lots of tests and comments.

@@ -235,6 +235,66 @@ This class contains the generation parameters used by inference engines.
| min_new_tokens | int | The minimum numbers of tokens to generate, ignoring the number of tokens in the prompt. | None |
| skip_special_tokens | bool | Whether or not to remove special tokens in the decoding. | True |

## Customize chat template
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

自定义对话模板,可以单独写到一个文档中。pipeline.md,restful_api.md 可以索引它

@AllentDan AllentDan closed this Feb 27, 2024
@fzyzcjy
Copy link
Contributor

fzyzcjy commented Nov 27, 2024

Hi, is there any updates? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RFC] Refactor chat template and remove model name from engine config
3 participants