4.TinyLlama model

Demo environment

Development Boards:Jetson Nano

SD (TF) card:64G

Model scale

ModelParameter
TinyLlama1.1B

Got TinyLlama

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

image-20240704182257888

Use TinyLlama

Run TinyLlama

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

Have a conversation

The response time is related to the hardware configuration, please wait patiently.

image-20240704182536395

End the conversation

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

image-20240704182640970

References

Ollama

Website:https://ollama.com/

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

TinyLlama

GitHub:https://github.com/jzhang38/TinyLlama

Ollama corresponding model:https://ollama.com/library/tinyllama