-
Notifications
You must be signed in to change notification settings - Fork 96
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
Prompt format to follow + Multi tools for Hermes-2-Theta-Llama-3-8B with Ollama #26
Comments
I am currently trying to make tooling with Ollama work but as mentioned, the model was trained with a tool role which Ollama still doesn't support |
@kiiwee - we are trying to make it work directly with llama-cpp server . https://github.com/ggerganov/llama.cpp/tree/master/examples/server Have u had any experience with that ? |
@aiseei managed to make it work with the llama.cpp python lib by inserting the tool template into the response and feed back of the tool for example, when the tool responds add the xml template and return it with a tool role. Im still quite puzzled why ollama decided to strictly allow 3 roles only (system, assistant and user) |
@kiiwee was it using this method ? https://github.com/abetlen/llama-cpp-python/blob/main/examples/notebooks/OpenHermesFunctionCalling.ipynb |
Hi - great work and thanks for this source!
I am not clear on the prompt format to use with model & Ollama.
https://huggingface.co/NousResearch/Hermes-2-Theta-Llama-3-8B
or
Any inputs will be greatly appreciated!
Thanks
The text was updated successfully, but these errors were encountered: