πŸ“‹ Model Description


base_model: google/gemma-2b-it inference: false library_name: transformers license: other license_name: gemma-terms-of-use license_link: https://ai.google.dev/gemma/terms model_creator: Google model_name: gemma 2b it quantized_by: Second State Inc.








Gemma-2b-it

Original Model

google/gemma-2b-it

Run with LlamaEdge

  • LlamaEdge version: v0.3.2
  • Prompt template

- Prompt type: gemma-instruct

- Prompt string

<startofturn>user
    {usermessage}<endof_turn>
    <startofturn>model
    {modelmessage}<endof_turn>model
  • Context size: 2048
  • Run as LlamaEdge service
wasmedge --dir .:. --nn-preload default:GGML:AUTO:gemma-2b-it-Q5KM.gguf llama-api-server.wasm -p gemma-instruct -c 4096
  • Run as LlamaEdge command app
wasmedge --dir .:. --nn-preload default:GGML:AUTO:gemma-2b-it-Q5KM.gguf llama-chat.wasm -p gemma-instruct -c 4096

Quantized GGUF Models

NameQuant methodBitsSizeUse case
gemma-2b-it-Q2K.ggufQ2K2900 MBsmallest, significant quality loss - not recommended for most purposes
gemma-2b-it-Q3KL.ggufQ3K_L31.26 GBsmall, substantial quality loss
gemma-2b-it-Q3KM.ggufQ3K_M31.18 GBvery small, high quality loss
gemma-2b-it-Q3KS.ggufQ3K_S31.08 GBvery small, high quality loss
gemma-2b-it-Q40.ggufQ4041.42 GBlegacy; small, very high quality loss - prefer using Q3KM
gemma-2b-it-Q4KM.ggufQ4K_M41.5 GBmedium, balanced quality - recommended
gemma-2b-it-Q4KS.ggufQ4K_S41.42 GBsmall, greater quality loss
gemma-2b-it-Q50.ggufQ5051.73 GBlegacy; medium, balanced quality - prefer using Q4KM
gemma-2b-it-Q5KM.ggufQ5K_M51.77 GBlarge, very low quality loss - recommended
gemma-2b-it-Q5KS.ggufQ5K_S51.73 GBlarge, low quality loss - recommended
gemma-2b-it-Q6K.ggufQ6K62.06 GBvery large, extremely low quality loss
gemma-2b-it-Q80.ggufQ8082.67 GBvery large, extremely low quality loss - not recommended
Quantized with llama.cpp b2230

πŸ“‚ GGUF File List

πŸ“ Filename πŸ“¦ Size ⚑ Download
gemma-2b-it-Q2_K.gguf
LFS Q2
858.19 MB Download
gemma-2b-it-Q3_K_L.gguf
LFS Q3
1.17 GB Download
gemma-2b-it-Q3_K_M.gguf
LFS Q3
1.1 GB Download
gemma-2b-it-Q3_K_S.gguf
LFS Q3
1.01 GB Download
gemma-2b-it-Q4_0.gguf
Recommended LFS Q4
1.32 GB Download
gemma-2b-it-Q4_K_M.gguf
LFS Q4
1.39 GB Download
gemma-2b-it-Q4_K_S.gguf
LFS Q4
1.33 GB Download
gemma-2b-it-Q5_0.gguf
LFS Q5
1.61 GB Download
gemma-2b-it-Q5_K_M.gguf
LFS Q5
1.65 GB Download
gemma-2b-it-Q5_K_S.gguf
LFS Q5
1.61 GB Download
gemma-2b-it-Q6_K.gguf
LFS Q6
1.92 GB Download
gemma-2b-it-Q8_0.gguf
LFS Q8
2.49 GB Download