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

Context Templates #36

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Context Templates #36

wants to merge 4 commits into from

Conversation

amiantos
Copy link
Owner

@amiantos amiantos commented May 27, 2024

So far this adds Llama 3 instruct context template in a very hacky way. After implementing it and experimenting with trying to figure out which Horde models are available use it, I felt like it wasn't really worth it. Context templates is very much an advanced user feature that should, hopefully, go away, as LLMs progress. If the need doesn't go away, then I should consider implementing context templates in more robust way similar to Ollama/SillyTavern and not half-assing it like what this PR looks like currently.

Either way, I think I am going to hold off on this and not include it as part of 1.1. I also think I am going to revert some last minute changes to the default context template...

@amiantos
Copy link
Owner Author

I asked on the kobold horde channel about which llama 3 models actually use the instruct template. It seems like most do, but some do not, and one even uses ChatML (it has chat in the name). So, the problem is hard to overcome without building our own internal database of which models use which format. Which could be fun. But feels very out of scope for the goals of this project...

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.

Context Templates
1 participant