Gemma

Demo environment

Development boards:Jetson nano

SD(TF)card:64G

Gemma is a new open model developed by Google and its DeepMind team.

Model scale

ModelParameter
Gemma2B
Gemma7B

Got Gemma

Using the pull command will automatically pull the model from the Ollama model library.

image-20240704190829693

Use Gemma

If the system does not have a running model, the system will automatically pull the Gemma 2B model and run it.

Have a conversation

The response time is related to the hardware configuration, please be patient.

image-20240704191128884

End the conversation

Use the Ctrl+d shortcut or /bye to end the conversation.

image-20240704191329241

References

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