Skip to main content
Ollama ExplorerBeta
local

phi

Phi-2: a 2.7B language model by Microsoft Research that demonstrates outstanding reasoning and language understanding capabilities.

1.6M pulls18 tagsSource updated Jan 6, 20242K max context

Quick start

ollama run phi:latest

Runnable variants

Memory is a rough file-size estimate; context length, runtime and GPU offload change it.

12 of 18 matching variants shown.

2.7bTypelocalInputstextDigeste2fd6321a5feDownload1.6 GBParameters2.7bQuantizationUnknownContext2KEst. memory≈ 3 GB
ollama run phi:2.7b
2.7b-chat-v2-fp16TypelocalInputstextDigest6b283248a801Download5.6 GBParameters2.7bQuantizationFP16Context2KEst. memory≈ 7.5 GB
ollama run phi:2.7b-chat-v2-fp16
2.7b-chat-v2-q2_KTypelocalInputstextDigestc5f597fa19b3Download1.2 GBParameters2.7bQuantizationQ2_KContext2KEst. memory≈ 2.5 GB
ollama run phi:2.7b-chat-v2-q2_K
2.7b-chat-v2-q3_K_LTypelocalInputstextDigestf260bda13b81Download1.6 GBParameters2.7bQuantizationQ3_K_LContext2KEst. memory≈ 3 GB
ollama run phi:2.7b-chat-v2-q3_K_L
2.7b-chat-v2-q3_K_MTypelocalInputstextDigest76bbe442aabeDownload1.5 GBParameters2.7bQuantizationQ3_K_MContext2KEst. memory≈ 3 GB
ollama run phi:2.7b-chat-v2-q3_K_M
2.7b-chat-v2-q3_K_STypelocalInputstextDigest4ceb511ce989Download1.3 GBParameters2.7bQuantizationQ3_K_SContext2KEst. memory≈ 2.5 GB
ollama run phi:2.7b-chat-v2-q3_K_S
2.7b-chat-v2-q4_0TypelocalInputstextDigeste2fd6321a5feDownload1.6 GBParameters2.7bQuantizationQ4_0Context2KEst. memory≈ 3 GB
ollama run phi:2.7b-chat-v2-q4_0
2.7b-chat-v2-q4_1TypelocalInputstextDigest012265cbf343Download1.8 GBParameters2.7bQuantizationQ4_1Context2KEst. memory≈ 3.5 GB
ollama run phi:2.7b-chat-v2-q4_1
2.7b-chat-v2-q4_K_MTypelocalInputstextDigest79d7065d8c0fDownload1.8 GBParameters2.7bQuantizationQ4_K_MContext2KEst. memory≈ 3.5 GB
ollama run phi:2.7b-chat-v2-q4_K_M
2.7b-chat-v2-q4_K_STypelocalInputstextDigestf018d657187cDownload1.6 GBParameters2.7bQuantizationQ4_K_SContext2KEst. memory≈ 3 GB
ollama run phi:2.7b-chat-v2-q4_K_S
2.7b-chat-v2-q5_0TypelocalInputstextDigestccb07c724975Download1.9 GBParameters2.7bQuantizationQ5_0Context2KEst. memory≈ 3.5 GB
ollama run phi:2.7b-chat-v2-q5_0
2.7b-chat-v2-q5_1TypelocalInputstextDigestf322ed62bd81Download2.1 GBParameters2.7bQuantizationQ5_1Context2KEst. memory≈ 3.5 GB
ollama run phi:2.7b-chat-v2-q5_1

Related models