whatmodel.sh / Phi-3-small-8k-instruct

Phi-3-small-8k-instruct is an open-weights language model from Microsoft, released May 2024. Its published size is 7.39B parameters. Licence: mit.

Catalogue identity notes

Comparison-only. Arena entry 'phi-3-small-8k-instruct' (text). LMArena's leaderboard table (arena-leaderboard space @6f2eeeb) labels 'phi-3-small-8k-instruct' as 'Phi-3-Small-8k-Instruct' (Microsoft, MIT), linking https://huggingface.co/microsoft/Phi-3-small-8k-instruct. Maker repo microsoft/Phi-3-small-8k-instruct @188b876: licence tag mit. 7,392,274,432 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2024-05: card: 'The model weight is released on May 21, 2024'.

44.0±1.6#505 of 743 LLMsfrom 4 benchmark results across 4 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Phi-3-small-8k-instruct, out of 897 with a score, then more from Microsoft.

#modelscorewhereRAMreleased
608Tulu 2 DPO 70B Ai244±1local~32GB2023-11
609CogVLM2 Llama3 Chat 19B Zhipu AI (THUDM)44±3local~12GB2024-05
610Phi-3-small-8k-instruct Microsoft44±2local~17GB2024-05
611MiniCPM-V 2.6 OpenBMB44±2local~6.8GB2024-08
612Yi-1.5 9B (base) 01.AI44±2local~6.7GB2024-05
more from Microsoft
273Phi-4-reasoning-plus 14B Microsoft58±1local~11GB2025-04
289Phi-4-reasoning 14B Microsoft57±1api $0.22/M +local~10GB2025-04
391Phi-4 14B Microsoft53±1api $0.087/M +local~11GB2024-12

see all LLMs · find the ones that fit your machine

$ what it's good at

chat & writing▁▁▁▃▅▄▆█▇▇▇▃ #336 of 405 · 93% of its score · 3 tests

Beats OpenThinker3 7B, Code Llama 70B Instruct, Gemma 4 E2B here, though they rank higher overall. Trails LFM2 350M, Gemma 3 1B, Qwen3 0.6B here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
Arena-Hard (v0.1, GPT-4-1106 judge)29.8% ✎▂▁▁▅█▅▄▃▃▅▃▁ beats 25/60medium · avg 47%▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 45%sharp
LMArena (text)1171.2 ✎▁▁▁▂▃▂▃▆▆▇█▃ beats 51/388avg 1262▇▇▇▇▇▇▇▇▇▇ 24%blunt
Polyrating rating (bias-aware re-fit of Chatbot Arena votes, mid-2024)1103.0 ✎▂▁▂▁▃▇█▆▇▄▂▂ beats 48/95avg 1189▇▇▇▇▇▇▇▇▇ 23%typical
other tests1 not in a task · 6.1% of its score
testresultvs the others in its rundifficultycountswhy
Open PT-LLM Leaderboard average (9 Portuguese tasks)70.8% ✎▃▁▁▁▁▁▁▁▂█▅▁ beats 172/276medium · avg 72%▇▇ 6.1%at its level · noisy

$ where to run it

Memory is what a version takes in GPU memory (or a Mac's unified memory) with an 8k-token conversation. With less, it runs partly from system RAM, more slowly. Enter your machine to see what runs at full speed.

Other ways to run it

  1. Run it as published · needs 17 GB memory, 14.8 GB download, NVIDIA only · from huggingface.co/microsoft (official)
    pip install tiktoken==0.6.0 triton==2.3.0 transformers==4.40.2 torch && python -c "import torch; from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline; r='microsoft/Phi-3-small-8k-instruct'; d=torch.cuda.current_device(); m=AutoModelForCausalLM.from_pretrained(r, torch_dtype='auto', trust_remote_code=True).to(d); t=AutoTokenizer.from_pretrained(r, trust_remote_code=True); print(pipeline('text-generation', model=m, tokenizer=t, device=d)([{'role': 'user', 'content': 'What about solving an 2x + 3 = 7 equation?'}], max_new_tokens=500, return_full_text=False, do_sample=False)[0]['generated_text'])"

Model repository and documentation: huggingface.co/microsoft ↗

$ how the score was worked out · Arena-Hard-Auto v0.1 leaderbo… 45%, LMArena leaderboard dataset 24%, Polyrating: A Cost-Effective… 23% and 1 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

sourceresultsshare of the scorelicence
Arena-Hard-Auto v0.1 leaderboard (repository README, pre-v2)1Apache-2.0
LMArena leaderboard dataset1CC BY 4.0
Polyrating: A Cost-Effective and Bias-Aware Rating System for LLM Evaluation (arXiv:2409.00696v3)1CC-BY-4.0
Open Portuguese LLM Leaderboard (archived)1Apache-2.0
prior · pull toward the middle
weighted average= 44.0

$ 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