Meta AI Codellama model

Meta AI Codellama modelModel scaleGot Code LlamaUse Code LlamaRun Code LlamaDialogueReference material

Demonstration environment

Development Board : Raspberry Pi 5B

SD(TF)card:64G(Above 16G, the larger the capacity, the more models can be experienced)

Code Llama is an open-source Large Language Model (LLM) specifically designed by the Meta AI department for understanding and generating code.

Model scale

ModelParameter
Code Llama7B
Code Llama13B
Code Llama34B
Code Llama70B

Got Code Llama

Using the pull command will automatically pull the models from the Ollama model library.

image-20240628174815833

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.

Dialogue

The time to reply to the question is related to the hardware configuration, please be patient.

image-20240628175542184

 

End conversation

You can end the conversation by using the shortcut key 'Ctrl+d' or '/bye'.

image-20240628175627192

Reference material

Ollama

Website:https://ollama.com/

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

Code Llama

Ollama Model:https://ollama.com/library/codellama

GitHub:https://github.com/meta-llama/codellama