Demonstration environment
Development board : Raspberry Pi 5B (8G RAM)
SD(TF)card:64G(Above 16G, the larger the capacity, the more models can be experienced)
xRaspberry Pi 5B (16G RAM): Run 14B and below parameter models
Raspberry Pi 5B (8G RAM): Run 8B and below parameter models
Raspberry Pi 5B (4G RAM): Run 3B and below parameter models
Raspberry Pi 5B (2G RAM): Run 3B and below parameter models,can't run Gemma
model
Gemma is a new open model developed by Google and its DeepMind team.
Model | Parameter |
---|---|
Gemma | 2B |
Gemma | 7B |
xxxxxxxxxx
Raspberry Pi 5B (8G RAM): Test Gemma model with 7B parameters!
Raspberry Pi 5B (4G RAM): Test Gemma Model with 2B Parameters!
Using the pull command will automatically retrieve the models from the Ollama model library.
Raspberry Pi 5B(8G RAM)
xxxxxxxxxx
ollama pull gemma:7b
Raspberry Pi 5B(4G RAM)
xxxxxxxxxx
ollama pull gemma:2b
Raspberry Pi 5B(8G RAM)
If the system does not have a running model, the system will automatically pull the Gemma 7B model and run it:The factory image does not provide this image, you need to download it yourself!
xxxxxxxxxx
ollama run gemma:7b
Raspberry Pi 5B(4G RAM)
If the system does not have a running model, the system will automatically obtain the Gemma 2B model and run it.
xxxxxxxxxx
ollama run gemma:2b
Raspberry Pi 5B(8G RAM)
xxxxxxxxxx
Introduce yourself in Chinese
xxxxxxxxxx
print HelloWorld in C
xxxxxxxxxx
print HelloWorld in python
The time to reply to the question is related to the hardware configuration, please be patient.
Raspberry Pi 5B(4G RAM)
xxxxxxxxxx
print HelloWorld in C
The time to reply to the question is related to the hardware configuration, please be patient.
You can end the conversation by using the shortcut key 'Ctrl+d' or '/bye'.
Raspberry Pi 5B(8G RAM)
Raspberry Pi 5B(4G RAM)
Ollama
Website:https://ollama.com/
GitHub:https://github.com/ollama/ollama
Gemma
GitHub:https://github.com/google-deepmind/gemma
Ollama model:https://ollama.com/library/gemma