1.Environments deployment

1.Environments deployment

Development Boards:Jetson Nano

SD(TF)card:64G

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.

LLM

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.

Install Ollama

This course mainly demonstrates how to install Ollama on Jetson nano using scripts.

Install scripts

image-20240704175818270

image-20240704180009521

The entire installation process takes a long time, so be patient.

Using Ollama

Enter ollama in the terminal to see the prompt:

image-20240704180140432

Command Effect
ollama serveStart ollama
ollama createCreating a model from a model file
ollama showDisplay model information
ollama runRun the model
ollama pullPulling models from the registry
ollama pushPushing the model to the registry
ollama listList models
ollama psList the models run
ollama cpCopy model
ollama rmDelete model
ollama helpGet help information about any command

Uninstall Ollama

References

Ollama

Website:https://ollama.com/

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