TinyLlama

TinyLlamaModel sizePull TinyLlamaUse TinyLlamaRun TinyLlamaHave a conversationEnd the conversationReferences

Demo Environment

Development board: Jetson Orin series motherboard

SSD: 128G

Tutorial application scope: Whether the motherboard can run is related to the available memory of the system. The user's own environment and the programs running in the background may cause the model to fail to run

Motherboard modelOllamaOpen WebUI
Jetson Orin NX 16GB
Jetson Orin NX 8GB
Jetson Orin Nano 8GB
Jetson Orin Nano 4GB

Model size

ModelParameters
TinyLlama1.1B

Pull TinyLlama

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

image-20240708193715696

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 time to reply to the question depends on the hardware configuration, please be patient!

image-20240708193946280

End the conversation

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

image-20240708194023998

References

Ollama

Official 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