Zack Saadioui
4/25/2025
1
2
bash
curl -fsSL https://ollama.com/install.sh | sh
1
ollama
1
ollama run <model_name>
1
ollama run llama3.3
1
ollama pull <model_name>
1
ollama pull phi
1
ollama list
1
Modelfile
1
FROM llama3.2
1
2
PARAMETER temperature 0.8
PARAMETER num_ctx 1024
1
SYSTEM "You are a supportive assistant who provides helpful travel advice."
1
TEMPLATE "User: {{ .Prompt }}\nAssistant: {{ .Response }}"
1
2
bash
ollama create my-custom-model -f ./Modelfile
1
2
bash
ollama run my-custom-model
1
ollama finetune my-custom-model --train-data ./my_training_data.txt
Copyright © Arsturn 2025