Welcome to RDK X5 Board repository
5.Microsoft-Phi-4-mini-Model
Phi4-mini
Phi4-mini1. Model Scale2. Performance3. Using Phi4-mini3.1 Running Phi4-mini3.2 Having a Conversation3.3 Ending the Conversation3.4 Chinese ConversationReferences
Phi-4-mini-instruct is a lightweight open model built on synthetic data and curated public websites, focusing on high-quality, inference-intensive data.
1. Model Scale
| Model | Size |
|---|---|
| phi4-mini:3.8b | 2.5GB |
2. Performance

3. Using Phi4-mini
3.1 Running Phi4-mini
Use the run command to start the model. If you have not downloaded this model before, it will be automatically pulled from the Ollama model library:
ollama run phi4-mini:3.8b

3.2 Having a Conversation
xxxxxxxxxxHow many minutes is a quarter of an hour?
The response time depends on the hardware configuration, please be patient!

3.3 Ending the Conversation
Use the Ctrl+d shortcut or /bye to end the conversation!
3.4 Chinese Conversation
If you don't have a Chinese input method, you can refer to the tutorial on switching Chinese input methods.
Chinese conversation:

References
Ollama
Official Website: https://ollama.com/
GitHub: https://github.com/ollama/ollama
Phi4-mini
Ollama Corresponding Model: https://ollama.com/library/phi4-mini