Ollama

OllamaLarge Language Models (LLM)Ollama InstallationScript InstallationOllama usageReferences

Demo Environment

Development board: Jetson Orin series motherboard

SSD: 128G

Tutorial Scope

Motherboard modelSupport
Jetson Orin NX 16GB
Jetson Orin NX 8GB
Jetson Orin Nano 8GB
Jetson Orin Nano 4GB

Ollama is an open source tool that aims to simplify the deployment and operation of large language models, allowing users to use high-quality language models in local environments.

Large Language Models (LLM)

Large Language Models (LLM) are a type of advanced text generation system based on artificial intelligence technology. Its main feature is that it can learn and understand human language through large-scale training data and can generate natural and fluent text.

Ollama Installation

The tutorial demonstrates the use of scripts to install Ollama on Jetson Orin series motherboards.

Script Installation

image-20240708145853030

image-20240708150713025

The entire installation process takes a long time, please be patient!

Ollama usage

Type ollama in the terminal and you will see the prompt:

image-20240708150727776

CommandPurpose
ollama serveStart ollama
ollama createCreate a model from a model file
ollama showShow model information
ollama runRun a model
ollama pullPull a model from a registry
ollama pushPush a model to a registry
ollama listList models
ollama psList running models
ollama cpCopy a model
ollama rmDelete a model
ollama helpGet help information about any command

##

References

Ollama

Official website: https://ollama.com/

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