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

Lora models / Lora training #4432

Open
AncientMystic opened this issue May 14, 2024 · 2 comments
Open

Lora models / Lora training #4432

AncientMystic opened this issue May 14, 2024 · 2 comments
Labels
feature request New feature or request

Comments

@AncientMystic
Copy link

Would it be possible to somehow add lora support just like embedding support? That way we can load lora models to be used in the execution of text generation models in order to fine tune their output?

Also wondering if it would be possible to add lora training so we could train a lora directly via ollama to run on top of models

I have noticed loras seem to really improve the results of models so it would be nice to be able to directly support loading them on top of models within ollama

@AncientMystic AncientMystic added the feature request New feature or request label May 14, 2024
@thinkverse
Copy link

Ollama does support LoRA, add it as an adapter in a Modelfile, read more about it here: https://github.com/ollama/ollama/blob/798b107f19ed832d33a6816f11363b42888aaed3/docs/modelfile.md#adapter

@AncientMystic
Copy link
Author

Thank you for the response, i will play around with it 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants