gemma-2-9b-GGUF / README.md
fedric95's picture
Update README.md
979ff14 verified
|
raw
history blame
3.26 kB
metadata
base_model: google/gemma-2-9b
library_name: transformers
license: gemma
pipeline_tag: text-generation
tags:
  - conversational
quantized_by: fedric95
extra_gated_heading: Access Gemma on Hugging Face
extra_gated_prompt: >-
  To access Gemma on Hugging Face, you’re required to review and agree to
  Google’s usage license. To do this, please ensure you’re logged in to Hugging
  Face and click below. Requests are processed immediately.
extra_gated_button_content: Acknowledge license

Llamacpp Quantizations of Meta-Llama-3.1-8B

Using llama.cpp release b3583 for quantization.

Original model: https://huggingface.co/google/gemma-2-9b

Download a file (not the whole branch) from below:

Filename Quant type File Size Perplexity (wikitext-2-raw-v1.test)
gemma-2-9b.FP32.gguf FP32 37.00GB coming_soon
gemma-2-9b-Q8_0.gguf Q8_0 9.83GB coming_soon
gemma-2-9b-Q6_K.gguf Q6_K 7.59GB coming_soon
gemma-2-9b-Q5_K_M.gguf Q5_K_M 6.65GB coming_soon
gemma-2-9b-Q5_K_S.gguf Q5_K_S 6.48GB coming_soon
gemma-2-9b-Q4_K_M.gguf Q4_K_M 5.76GB coming_soon
gemma-2-9b-Q4_K_S.gguf Q4_K_S 5.48GB coming_soon
gemma-2-9b-Q3_K_L.gguf Q3_K_L 5.13GB coming_soon
gemma-2-9b-Q3_K_M.gguf Q3_K_M 4.76GB coming_soon
gemma-2-9b-Q3_K_S.gguf Q3_K_S 4.34GB coming_soon
gemma-2-9b-Q2_K.gguf Q2_K 3.81GB coming_soon

Downloading using huggingface-cli

First, make sure you have hugginface-cli installed:

pip install -U "huggingface_hub[cli]"

Then, you can target the specific file you want:

huggingface-cli download fedric95/gemma-2-9b-GGUF --include "gemma-2-9b-Q4_K_M.gguf" --local-dir ./

If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:

huggingface-cli download fedric95/gemma-2-9b-GGUF --include "gemma-2-9b-Q8_0.gguf/*" --local-dir gemma-2-9b-Q8_0

You can either specify a new local-dir (gemma-2-9b-Q8_0) or download them all in place (./)

Reproducibility

https://github.com/ggerganov/llama.cpp/discussions/9020#discussioncomment-10335638