Ollama1. Large Language Model (LLM)2. Ollama InstallationScript Installation3. Use Ollama4. Ollama UninstallReferences
Demo Environment
Development board: Jetson Orin series motherboard
SSD: 128G
Tutorial Scope
Motherboard Model | Supported |
---|---|
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) 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.
The tutorial demonstrates the use of scripts to install Ollama on the Jetson Orin series motherboard.
sudo apt install curl -y
sudo curl -fsSL https://ollama.com/install.sh | sh
The entire installation process takes a long time, please wait patiently!
Type ollama in the terminal and you will see the prompt:
Command | Purpose |
---|---|
ollama serve | Start ollama |
ollama create | Create a model from a model file |
ollama show | Show model information |
ollama run | Run a model |
ollama pull | Pull a model from a registry |
ollama push | Push a model to a registry |
ollama list | List models |
ollama ps | List running models |
ollama cp | Copy a model |
ollama rm | Delete a model |
ollama help | Get help information about any command |
xxxxxxxxxx
sudo systemctl stop ollama
sudo systemctl disable ollama
sudo rm /etc/systemd/system/ollama.service
xxxxxxxxxx
sudo rm $(which ollama)
xxxxxxxxxx
sudo rm -r /usr/share/ollama
sudo userdel ollama
sudo groupdel ollama
Ollama
Official website: https://ollama.com/
GitHub: https://github.com/ollama/ollama