Welcome to ROSMASTER X3 Plus repository
6.Codellama model
Code Llama
Code LlamaModel sizePull Code LlamaUse Code LlamaRun Code LlamaHave 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 model | Ollama | Open WebUI |
|---|---|---|
| Jetson Orin NX 16GB | √ | √ |
| Jetson Orin NX 8GB | √ | √ |
| Jetson Orin Nano 8GB | √ | √ |
| Jetson Orin Nano 4GB | × | × |
Code Llama is an open source Large Language Model (LLM) designed by Meta AI specifically for understanding and generating code.
Model size
| Model | Parameters |
|---|---|
| Code Llama | 7B |
| Code Llama | 13B |
| Code Llama | 34B |
| Code Llama | 70B |
Pull Code Llama
Using the pull command will automatically pull the model from the Ollama model library:
xxxxxxxxxxollama pull codellama:7b

Use Code Llama
Run Code Llama
If the system does not have a running model, the system will automatically pull the Code Llama 7B model and run it:
xxxxxxxxxxollama run codellama:7b
Have a conversation
xxxxxxxxxxWrite me a function that outputs the fibonacci sequence
The time to reply to the question depends on the hardware configuration, please be patient!

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

References
Ollama
Official website: https://ollama.com/
GitHub: https://github.com/ollama/ollama
Code Llama
Ollama corresponding model: https://ollama.com/library/codellama