8.StarCoder2 model

Demo Environment

Development boards:Jetson Nano

SD(TF)card:64G

Model scale

ModelParameter
StarCoder23B
StarCoder27B
StarCoder215B

Got StarCoder2

Using the pull command will automatically pull the model from the TinyLlama model library.

image-20240704202203381

Use StarCoder2

Run StarCoder2

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

Have a conversation

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

image-20240704202358564

End the conversation

Use the Ctrl+d shortcut or /bye to end the conversation.

image-20240704202445722

References

Ollama

Website:https://ollama.com/

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

StarCoder2

GitHub:https://ollama.com/library/starcoder2

Ollama corresponding model:https://ollama.com/library/starcoder2