Zack Saadioui
8/27/2024
1
2
bash
curl -fsSL https://ollama.com/install.sh | sh
1
2
bash
ollama pull mistral
1
2
bash
ollama run mistral
1
2
3
4
5
bash
curl --request POST \
--url http://localhost:11434/api/generate \
--header "Content-Type: application/json" \
--data '{ "prompt": "Hello, what is your name?", "model": "mistral", "options": { "num_predict": 1 } }'
Copyright © Arsturn 2024