Zack Saadioui
8/26/2024
1
ollama run
1
2
bash
curl -fsSL https://ollama.com/install.sh | sh
1
2
bash
huggingface-cli download TheBloke/Llama-3.1-gguf
1
Modelfile
1
2
3
4
plaintext
./llama3.1.gguf
PARAMETER temperature 0.7
SYSTEM "You are a helpful assistant."
1
2
bash
ollama create mymodel -f ./Modelfile
1
2
bash
ollama run mymodel
1
2
3
plaintext
./mydata.txt
PARAMETER stop "<|end|>"
1
2
3
plaintext
PARAMETER temperature 1
SYSTEM "You’ll help me plan a picnic."
1
2
bash
docker pull ollama/ollama
Copyright © Arsturn 2024