whatmodel.sh / Phi-3-mini-4k-instruct (Apr 2024)
Phi-3-mini-4k-instruct (Apr 2024)
↗ share
+ contribute
Phi-3-mini-4k-instruct (Apr 2024) is an open-weights language model from Microsoft, released April 2024. Its published size is 3.82B parameters. Licence: mit.
Catalogue identity notes
Comparison-only. Arena entry 'phi-3-mini-4k-instruct' (text). LMArena's leaderboard table (arena-leaderboard space @6f2eeeb) labels 'phi-3-mini-4k-instruct' as 'Phi-3-Mini-4k-Instruct' (Microsoft, MIT), linking https://huggingface.co/microsoft/Phi-3-mini-4k-instruct. Maker repo microsoft/Phi-3-mini-4k-instruct @f39ac1d: licence tag mit. 3,821,079,552 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-04: month the maker's Hugging Face repo was created (createdAt 2024-04-22). Original April 2024 release. The same HF repo now holds the 'June 2024 Update' (a separate Arena entry, phi-3-mini-4k-instruct-june-2024), so no run option is given for this checkpoint.
$ how it compares
The LLMs ranked either side of Phi-3-mini-4k-instruct (Apr 2024), out of 828 with a score, then more from Microsoft.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 652 | 38±1 | local | |||
| 653 | 38±2 | local | |||
| 654 | 38±2 | local | |||
| 655 | 38±4 | local | |||
| 656 | 38±1 | comparison only | |||
| more from Microsoft | |||||
| 252 | 59±1 | local | |||
| 261 | 58±1 | api $0.22/M +local | |||
| 365 | 53±1 | api $0.087/M +local | |||
$ what it's good at
chat & writing▁▁▁▃▅▄▅█▆▆▇▃ #365 of 393 * · 48% of its score · 2 tests
Beats Gemma 4 E2B, Code Llama 70B Instruct, Phi-2 (2.7B) here, though they rank higher overall. Trails Gemma 3 270M IT, SmolLM2 360M Instruct, Granite 4.0 350M here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024) | 1068.0 ✎ | ▂▁▂▁▃▇█▆▇▄▂▂ beats 32/95 | 24% |
| LMArena (text) | 1128.1 ✎ | ▁▁▁▃▃▃▃▆▆▇█▃ beats 26/379 | 24% |
other tests3 not in a task · 51% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| MMLU-Pro | 41.5% ✎ | ▃▂▅█▃·█▃▅··▂ beats 7/23 | 33% |
| Polish EQ-Bench v2 (SpeakLeash) | 28.1% ✎ | ▁··▁▁▃▂▆▅▆█▆ beats 7/70 | 13% |
| Open PT-LLM Leaderboard average (9 Portuguese tasks) | 66.4% ✎ | ▃▁▁▁▁▁▁▁▂█▅▁ beats 125/276 | 4.9% |
$ where to run it
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run Phi-3-mini-4k-instruct (Apr 2024) · needs ~2.39 GB · from huggingface.co/microsoft (official)chat in the terminal
llama cli -hf microsoft/Phi-3-mini-4k-instruct-gguf - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf microsoft/Phi-3-mini-4k-instruct-gguf
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Phi-3-mini-4k-instruct (Apr 2024) · needs ~2.39 GB · from huggingface.co/microsoft (official)
- Or download it in the terminal
lms get https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-gguf -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Phi-3-mini-4k-instruct (Apr 2024) · needs ~2.39 GB · from huggingface.co/microsoft (official)chat in the terminal
ollama run hf.co/microsoft/Phi-3-mini-4k-instruct-gguf
Official weights and documentation: huggingface.co/microsoft ↗
$ how the score was worked out · MMLU-Pro author-released eval… 33%, Polyrating: A Cost-Effective… 24%, LMArena leaderboard dataset 24% and 2 more
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 1 | 33% | |
| 1 | 24% | |
| 1 | 24% | |
| 1 | 13% | |
| 1 | 5% | |
| prior · pull toward the middle | 1% | |
| weighted average | = 38.1 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json