1.Environments deployment
Development Boards:Jetson Nano
SD(TF)card:64G
xIt is recommended to run the 4B and below parameter models
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 (LLMs) are a type of advanced text generation system based on artificial intelligence technology. Their main features are the ability to learn and understand human language through large-scale training data and to generate natural and fluent text.
This course mainly demonstrates how to install Ollama on Jetson nano using scripts.
xxxxxxxxxx
sudo apt install curl
curl -fsSL https://ollama.com/install.sh | sh
The entire installation process takes a long time, so be patient.
xThe message curl: (22) The requested URL returned error: 404 appears. You can ignore it!
Enter ollama in the terminal to see the prompt:
Command | Effect |
---|---|
ollama serve | Start ollama |
ollama create | Creating a model from a model file |
ollama show | Display model information |
ollama run | Run the model |
ollama pull | Pulling models from the registry |
ollama push | Pushing the model to the registry |
ollama list | List models |
ollama ps | List the models run |
ollama cp | Copy model |
ollama rm | Delete 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
Website:https://ollama.com/