[GH-ISSUE #6517] Is Fine-Tuning Supported in Ollama? #50615

Closed
opened 2026-04-28 16:32:51 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @parthipan76 on GitHub (Aug 26, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6517

What is the issue?

Hi everyone,

I’ve been exploring Ollama for working with LLaMA models, and I came across an issue where the fine-tune command seems to be unrecognized. Specifically, when I try to fine-tune a model using the command:

ollama fine-tune llama3.1:8b -f training_data.jsonl
I receive an error: unknown command "fine-tune" for "ollama".

Is fine-tuning supported in Ollama? If not, are there any plans to add this feature, or are there alternative methods to fine-tune models within Ollama?

Thanks in advance!

OS

Linux

GPU

No response

CPU

Intel

Ollama version

0.3.6

Originally created by @parthipan76 on GitHub (Aug 26, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6517 ### What is the issue? Hi everyone, I’ve been exploring Ollama for working with LLaMA models, and I came across an issue where the fine-tune command seems to be unrecognized. Specifically, when I try to fine-tune a model using the command: ollama fine-tune llama3.1:8b -f training_data.jsonl I receive an error: unknown command "fine-tune" for "ollama". Is fine-tuning supported in Ollama? If not, are there any plans to add this feature, or are there alternative methods to fine-tune models within Ollama? Thanks in advance! ### OS Linux ### GPU _No response_ ### CPU Intel ### Ollama version 0.3.6
GiteaMirror added the bug label 2026-04-28 16:32:51 -05:00
Author
Owner

@pdevine commented on GitHub (Aug 26, 2024):

@parthipan76 there isn't yet a way to do fine tuning directly in Ollama, however you can import fine tuned adapters from other frameworks such as Unsloth and MLX. I'm working on a doc which will include how to do that (short answer is use the ADAPTER command in a Modelfile).

<!-- gh-comment-id:2310996257 --> @pdevine commented on GitHub (Aug 26, 2024): @parthipan76 there isn't _yet_ a way to do fine tuning directly in Ollama, however you can import fine tuned adapters from other frameworks such as Unsloth and MLX. I'm working on a doc which will include how to do that (short answer is use the `ADAPTER` command in a Modelfile).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#50615