You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the help of llama-cpp-agent, I can use function calling and json-schema ability of one llama model
nearly perfectly. 😊
Given I want to use code-llm like codellama to generate function tools and use hermes-2-pro-mistral-7b to use them as https://github.com/Maximilian-Winter/llama-cpp-agent/blob/master/examples/05_Agents/hermes_2_pro_agent.py
do.
And may use another llm by llama-cpp-python to take other tasks.
If I only have Limited gpu memory ,What's going to disturb me is the lack of model switch ability in llama-cpp-python, which also can see in abetlen/llama-cpp-python#223
Auto model switch and the manage of gpu memory have be done by Ollama, but it lack ability of convenient function tools and json-schema output.
Uh oh!
There was an error while loading. Please reload this page.
With the help of llama-cpp-agent, I can use function calling and json-schema ability of one llama model
nearly perfectly. 😊
Given I want to use code-llm like codellama to generate function tools and use hermes-2-pro-mistral-7b to use them as
https://github.com/Maximilian-Winter/llama-cpp-agent/blob/master/examples/05_Agents/hermes_2_pro_agent.py
do.
And may use another llm by llama-cpp-python to take other tasks.
If I only have Limited gpu memory ,What's going to disturb me is the lack of model switch ability in llama-cpp-python, which also can see in
abetlen/llama-cpp-python#223
Auto model switch and the manage of gpu memory have be done by Ollama, but it lack ability of convenient function tools and json-schema output.
Or you can add a model switch ability in llama-cpp-agent, as
abetlen/llama-cpp-python#736
and
abetlen/llama-cpp-python#302
say.
How can I tackle this ? Looking forward to your reply. 😊
The text was updated successfully, but these errors were encountered: