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

Fix TGI generation parameters #65

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

HennerM
Copy link
Contributor

@HennerM HennerM commented Jan 24, 2024

With the move of the API to use camelCase, the request params for the TGI API are not matching anymore, since they are using a snake_case scheme according to the swagger JSON: https://huggingface.github.io/text-generation-inference/#/Text%20Generation%20Inference/generate

@HennerM HennerM force-pushed the tgi-adaptor-parameters branch from d559d51 to eb7dd5c Compare January 24, 2024 00:27
Copy link
Member

@McPatate McPatate left a comment

Choose a reason for hiding this comment

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

Good catch, thanks!

@McPatate McPatate merged commit f40e8cc into huggingface:main Jan 28, 2024
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.

2 participants