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

Add huggingface back-end #14

Merged
merged 6 commits into from
Sep 29, 2023
Merged

Add huggingface back-end #14

merged 6 commits into from
Sep 29, 2023

Conversation

jepler
Copy link
Owner

@jepler jepler commented Sep 29, 2023

Tested with mistral-7b-instruct model.

Also fix prompting to be "llama 2 instruct" style, see https://github.com/facebookresearch/llama/blob/v2/llama/generation.py

Fix prompt exclusion to work right/better

add stop tokens to llama.cpp requests and increase the first token timeout -- it was too short for pure-CPU inference.

@jepler jepler merged commit f3bf17c into main Sep 29, 2023
4 checks passed
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.

1 participant