Problem
After nanotune export you have a GGUF file and no guidance on running it anywhere other than Nanotune. Ollama is the most common destination for a local GGUF, and getting a fine-tune into it requires hand-writing a Modelfile — including re-deriving the system prompt and template, which Nanotune already knows from config.json.
Proposal
nanotune export --ollama writes a Modelfile next to the GGUF:
FROM ./my-model-q4_k_m.gguf
SYSTEM """<contextMessage.content from config.json>"""
Print the follow-up command on success:
ollama create my-model -f .nanotune/models/Modelfile
Acceptance criteria
Notes
Good first issue — one template string, one file write, one docs update. Everything it needs is already loaded in src/commands/export.tsx via loadConfig() and resolveContextMessage().
Problem
After
nanotune exportyou have a GGUF file and no guidance on running it anywhere other than Nanotune. Ollama is the most common destination for a local GGUF, and getting a fine-tune into it requires hand-writing aModelfile— including re-deriving the system prompt and template, which Nanotune already knows fromconfig.json.Proposal
nanotune export --ollamawrites aModelfilenext to the GGUF:Print the follow-up command on success:
Acceptance criteria
Modelfileis generated with the project's system prompt embeddedFROMis correct relative to the Modelfiledocs/commands/export.mdNotes
Good first issue — one template string, one file write, one docs update. Everything it needs is already loaded in
src/commands/export.tsxvialoadConfig()andresolveContextMessage().