Skip to content

Fix TGI generation parameters#65

Merged
McPatate merged 1 commit intohuggingface:mainfrom
HennerM:tgi-adaptor-parameters
Jan 28, 2024
Merged

Fix TGI generation parameters#65
McPatate merged 1 commit intohuggingface:mainfrom
HennerM:tgi-adaptor-parameters

Conversation

@HennerM
Copy link
Copy Markdown
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
Copy Markdown
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