For rpi-5 with 4GB memory:
sudo apt install curl -y
curl -fsSL https://ollama.com/install.sh | sh
then either (or one at a time)
ollama run deepseek-r1:1.5b
also
ollama run llama3.2:1b
after either of those run you will see a prompt, try "write me a 3 sentence story"
to end session type:
/bye
Run either of those ollama commands again and it will be quick to get an AI prompt. And you can have no internet connection, file is already on your device.
You can run commands in terminal like
ollama ls
to see what AI model files are loaded
and
ollama rm deepseek-r1:1.5b
to remove a model from files
Hope this helps.
energyi
sudo apt install curl -y
curl -fsSL https://ollama.com/install.sh | sh
then either (or one at a time)
ollama run deepseek-r1:1.5b
also
ollama run llama3.2:1b
after either of those run you will see a prompt, try "write me a 3 sentence story"
to end session type:
/bye
Run either of those ollama commands again and it will be quick to get an AI prompt. And you can have no internet connection, file is already on your device.
You can run commands in terminal like
ollama ls
to see what AI model files are loaded
and
ollama rm deepseek-r1:1.5b
to remove a model from files
Hope this helps.
energyi
Statistics: Posted by energyi — Sat Feb 08, 2025 5:21 pm