Unable to make tool calls when hosted with llama.cpp or ollama

#8
by alex-titu - opened

I tried hosting both Qwen 2.5 Coder Instruct 7B:Q5_K_M and 14B:Q4_K_M and none of them managed to make any tool calls when explicitly requested to do so. All I receive back is the JSON with the name of the tool and the arguments it's willing to pass but neither llama cpp or ollama recognize the generated text as tool calls.
On the other hand Qwen 2.5 Instruct 7B:Q4_K_M works completely fine and manages to do any tool calls it needs.
Any ideas on why this could happen? Thanks

Same with 2.5 Coder Instruct 7B: Q8

Sign up or log in to comment