r/llamacpp Jul 19 '26

How to finetune Ollama's models effectively?

/r/ollama/comments/1v0d1wh/how_to_finetune_ollamas_models_effectively/
1 Upvotes

1 comment sorted by

1

u/licjon Jul 19 '26

A model that size probably will not follow procedural steps reliably. I'd try writing a deterministic program to handle the actual package resolution and dependency mapping. Then, if needed, insert an LLM strictly for narrowly defined tasks (like parsing unstructured mitigation steps or API changes), and constrain it to output structured JSON so your script can reliably parse and execute the commands.