Phi-3 model

Demo environment

Development boards:Jetson Nano

SD (TF) card:64G

Phi-3 is a powerful, cost-effective Small Language Model (SLM) from Microsoft that outperforms models of the same and larger size on a variety of language, reasoning, encoding, and math benchmarks.

Model scale

ModelParameter
Phi-3(Mini)3.8B
Phi-3(Medium)14B

Performance

image-20240624233649583

Got Phi-3

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

image-20240704191220095

Use Phi-3

Run Phi-3

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

Have a conversation

The response time is related to the hardware configuration, please wait patiently.

image-20240704192728182

End the conversation

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

image-20240704195647005

References

Ollama

Website:https://ollama.com/

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

Phi-3

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