Demo environment
Development boards:Jetson nano
SD(TF)card:64G
xIt is recommended to run the 4B and below parameter models
Gemma is a new open model developed by Google and its DeepMind team.
Model | Parameter |
---|---|
Gemma | 2B |
Gemma | 7B |
xGemma: Gemma model test using 7B parameters.
Using the pull command will automatically pull the model from the Ollama model library.
xxxxxxxxxx
ollama pull gemma:2b
If the system does not have a running model, the system will automatically pull the Gemma 2B model and run it.
xxxxxxxxxx
ollama run gemma:2b
xxxxxxxxxx
print HelloWorld in C
The response time is related to the hardware configuration, please be patient.
Use the Ctrl+d
shortcut or /bye
to end the conversation.
Ollama
Website:https://ollama.com/
GitHub:https://github.com/ollama/ollama
Gemma
GitHub:https://github.com/google-deepmind/gemma
Ollama corresponding model:https://ollama.com/library/gemma