DeepSeek Coder model

Demonstration environment

Development board : Raspberry Pi 5B (8G RAM)

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

DeepSeek Coder is an open-source Large Language Model (LLM) designed by DeepSeek for understanding and generating code.

Model scale

ModelParameter
DeepSeek Coder1.3B
DeepSeek Coder6.7B
DeepSeek Coder33B

Got DeepSeek Coder

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

Raspberry Pi 5B(8G RAM)

image-20240628181419062

Raspberry Pi 5B(4G RAM)

image-20240628180003089

Use DeepSeek Coder

Run DeepSeek Coder

Raspberry Pi 5B(8G RAM)

If the system does not have a running model, the system will automatically got DeepSeek Coder 6.7B model and run it:The factory image does not provide this image, you need to download it yourself!

Raspberry Pi 5B(4G RAM)

If the system does not have a running model, the system will automatically got DeepSeek Coder 1.3B model and run it.

Dialogue

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

Raspberry Pi 5B(8G RAM)

image-20240628182220808

Raspberry Pi 5B(4G RAM)

image-20240628182626265

End conversation

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

Raspberry Pi 5B(8G RAM)

image-20240628182444725

Raspberry Pi 5B(4G RAM)

image-20240628182716977

Reference material

Ollama

Website:https://ollama.com/

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

DeepSeek Coder

Ollama model:https://ollama.com/library/deepseek-coder

GitHub:https://github.com/deepseek-ai/DeepSeek-Coder