Qwen2 model

Demonstration environment

**Development Board * *: Raspberry Pi 5B

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

Model scale

Model参数
Qwen20.5B
Qwen21.5B
Qwen27B
Qwen272B

Performance performance

image-20240624105005329

Got Qwen2

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

Raspberry Pi 5B(8G RAM)

image-20240625141704803

Raspberry Pi 5B(4G RAM)

image-20240626161824045

Use Qwen2

Run Qwen2

Raspberry Pi 5B(8G RAM)

If the system does not have a running model, the system will automatically pull the Qwen2 7B model and run it.

Raspberry Pi 5B(4G RAM)

If the system does not have a running model, the system will automatically pull the Qwen2 1.5B model and run it.

Dialogue

Raspberry Pi 5B(8G RAM)

The response time to the question is related to the hardware configuration, please be patient and wait.

image-20240625142634989

Raspberry Pi 5B(4G RAM)

The response time to the question is related to the hardware configuration, please be patient and wait.

image-20240626162202468

End conversation

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

Raspberry Pi 5B(8G RAM)

image-20240625142732184

Raspberry Pi 5B(4G RAM)

image-20240626163123330

Reference material

Ollama

Website:https://ollama.com/

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

Qwen2

GitHub:https://github.com/QwenLM/Qwen2

Ollama model:https://ollama.com/library/qwen2