[GH-ISSUE #9353] How to Customize a model Import from GGUF supporting tools call #6107

Closed
opened 2026-04-12 17:26:29 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Ruan-Yixiang on GitHub (Feb 26, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9353

I finetuned a model from llama3.1-8b and customize it in ollama. I want to call it using tools function, but it showed this model does not support tools. The llama3.1-8b in ollama website has a "Tools" tag, and I can use its tools function. By the way, the llama3.1-8b downloaded in huggingface can not support tools after I import it into ollama.
So How can I Customize a model Import from GGUF supporting tools call.

Originally created by @Ruan-Yixiang on GitHub (Feb 26, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9353 I finetuned a model from llama3.1-8b and customize it in ollama. I want to call it using tools function, but it showed this model does not support tools. The llama3.1-8b in ollama website has a "Tools" tag, and I can use its tools function. By the way, the llama3.1-8b downloaded in huggingface can not support tools after I import it into ollama. So How can I Customize a model Import from GGUF supporting tools call.
GiteaMirror added the feature request label 2026-04-12 17:26:29 -05:00
Author
Owner

@rick-github commented on GitHub (Feb 26, 2025):

Create a Modelfile using the template from llama3.1.

<!-- gh-comment-id:2684623622 --> @rick-github commented on GitHub (Feb 26, 2025): Create a [Modelfile](https://github.com/ollama/ollama/blob/main/docs/modelfile.md) using the template from [llama3.1](https://ollama.com/library/llama3.1/blobs/948af2743fc7).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#6107