Model usage instructions

This tutorial mainly introduces some Raspberry Pi 5 system environments and models that can run on different RAM versions.

System image Description

The offline AI large model development tutorial for Raspberry Pi 5 can use the image already configured by Yahboom: Pi5-AI-Pure.img

System Information

user name:pi

password:yahboom

WiFi hotspot name:Pi_Hot

WiFi hotspot password:12345678

System environment

Parameter Description

Raspberry Pi 5B (8G RAM): Run 8B and below parameter models

Raspberry Pi 5B (4G RAM): Run 3B and below parameter models

The above conclusion may not be entirely accurate, but it can be used as a reference!

Model Statistics

The following table shows common models based on the Ollama official website model library statistics.

Users can search for the desired models on the Ollama official website by themselves.

ModelParameterRaspberry Pi 5B(4G RAM)Raspberry Pi 5B(8G RAM)Running command
Llama 37BNot supportSupportollama run llama3:8b
Llama 2 Chinese7BNot supportSupportollama run llama2-chinese:7b
Qwen20.5BSupportSupportollama run qwen2:0.5b
Qwen21.5BSupportSupportollama run qwen2:1.5b
Qwen27BNot supportSupportollama run qwen2:7b
Phi-33.8BNot supportSupportollama run phi3:3.8b
Phi-22.7BSupportSupportollama run phi:2.7b
Gemma2BSupportSupportollama run gemma:2b
Gemma7BNot supportSupportollama run gemma:7b
LLaVA7BNot supportSupportollama run llava:7b
WizardLM-27BNot supportSupportollama run wizardlm2:7b
DeepSeek Coder1.3BSupportSupportollama run deepseek-coder:1.3b
DeepSeek Coder6.7BNot supportSupportollama run deepseek-coder:6.7b
Yi6BNot supportSupportollama run yi:6b

Reference material

Ollama

Website:https://ollama.com/

GitHub:https://github.com/ollama/ollama