Skip to main content
Ollama ExplorerBeta
local

codegemma

CodeGemma is a collection of powerful, lightweight models that can perform a variety of coding tasks like fill-in-the-middle code completion, code generation, natural language understanding, mathematical reasoning, and instruction following.

3.3M pulls85 tagsSource updated Jul 18, 20248K max context

Quick start

ollama run codegemma:latest

Runnable variants

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

12 of 85 matching variants shown.

2bTypelocalInputstextDigest926331004170Download1.6 GBParameters2bQuantizationUnknownContext8KEst. memory≈ 3 GB
ollama run codegemma:2b
2b-codeTypelocalInputstextDigest926331004170Download1.6 GBParameters2bQuantizationUnknownContext8KEst. memory≈ 3 GB
ollama run codegemma:2b-code
2b-code-fp16TypelocalInputstextDigestcb6daa72179aDownload5.0 GBParameters2bQuantizationFP16Context8KEst. memory≈ 7 GB
ollama run codegemma:2b-code-fp16
2b-code-q2_KTypelocalInputstextDigestac67535c1552Download1.2 GBParameters2bQuantizationQ2_KContext8KEst. memory≈ 2.5 GB
ollama run codegemma:2b-code-q2_K
2b-code-q3_K_LTypelocalInputstextDigestc6a3ccbac1d9Download1.5 GBParameters2bQuantizationQ3_K_LContext8KEst. memory≈ 3 GB
ollama run codegemma:2b-code-q3_K_L
2b-code-q3_K_MTypelocalInputstextDigestf0346e149522Download1.4 GBParameters2bQuantizationQ3_K_MContext8KEst. memory≈ 3 GB
ollama run codegemma:2b-code-q3_K_M
2b-code-q3_K_STypelocalInputstextDigest6b80287fa068Download1.3 GBParameters2bQuantizationQ3_K_SContext8KEst. memory≈ 2.5 GB
ollama run codegemma:2b-code-q3_K_S
2b-code-q4_0TypelocalInputstextDigestd90011175ac4Download1.6 GBParameters2bQuantizationQ4_0Context8KEst. memory≈ 3 GB
ollama run codegemma:2b-code-q4_0
2b-code-q4_1TypelocalInputstextDigest801d0eb569e7Download1.7 GBParameters2bQuantizationQ4_1Context8KEst. memory≈ 3 GB
ollama run codegemma:2b-code-q4_1
2b-code-q4_K_MTypelocalInputstextDigestb593bb191655Download1.6 GBParameters2bQuantizationQ4_K_MContext8KEst. memory≈ 3 GB
ollama run codegemma:2b-code-q4_K_M
2b-code-q4_K_STypelocalInputstextDigest259e48057973Download1.6 GBParameters2bQuantizationQ4_K_SContext8KEst. memory≈ 3 GB
ollama run codegemma:2b-code-q4_K_S
2b-code-q5_0TypelocalInputstextDigestbecd697505baDownload1.8 GBParameters2bQuantizationQ5_0Context8KEst. memory≈ 3.5 GB
ollama run codegemma:2b-code-q5_0

Related models