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 instruct models UI issue #78

Merged
merged 2 commits into from
Jul 23, 2024
Merged

Fix instruct models UI issue #78

merged 2 commits into from
Jul 23, 2024

Conversation

tengomucho
Copy link
Collaborator

What does this PR do?

The logits process is relaxed so it allows top_k =1 and top_p=1 even when do_sample=True. These kind of requests was received when testing instruct models such as mistralai/Mistral-7B-Instruct-v0.3 with the inference endpoints web ui.
This should fix #76 and #77.
Version is increased, so I can release that and use the new version with the fix in Inference Endpoints.

This might not be the most elegant solution, but it will allow the
server to keep working when the web ui gives a request with these
parameters for instruct models.
@tengomucho tengomucho changed the title Debug instruct UI issue Fix instruct models UI issue Jul 23, 2024
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@tengomucho tengomucho merged commit 7f5b0cc into main Jul 23, 2024
4 checks passed
@tengomucho tengomucho deleted the debug-instruct-ui-issue branch July 23, 2024 16:15
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.

Issue running mistral-7b-instruct-v0-3 on Inference Endpoint
3 participants