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 HF Base Model Support #9

Merged
merged 2 commits into from
Dec 21, 2023
Merged

Add HF Base Model Support #9

merged 2 commits into from
Dec 21, 2023

Conversation

tylertitsworth
Copy link
Owner

Describe your changes

  • Add a TEMPLATE section to the modelfile since huggingface models do not share the same TEMPLATE as ollama models.
  • Add documentation for how to set up and download models to be created this way.
  • Make base model support optional.
  • Ensure dockerfile picks up int4 quantized models.

Issue ticket number and link

#3

How you have validated your changes

Locally via two different models quantized to int4 and hosted with Chainlit. These changes were tested on a different machine with a different setup to my previous commits.

@tylertitsworth tylertitsworth added the enhancement New feature or request label Dec 21, 2023
@tylertitsworth tylertitsworth self-assigned this Dec 21, 2023
@tylertitsworth tylertitsworth merged commit 97c6a3e into main Dec 21, 2023
4 checks passed
@tylertitsworth tylertitsworth deleted the tylertitsworth/issue3 branch December 21, 2023 22:35
tylertitsworth added a commit that referenced this pull request Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant