How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="R910/my-gemma-gguf",
	filename="gemma-2-2b-it-Q5_K_M.gguf",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

Gemma 2 2B IT GGUF

Quantized GGUF version of Gemma 2 2B IT.

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

Quant source: https://huggingface.co/bartowski/gemma-2-2b-it-GGUF

Quant: Q4_K_M

Downloads last month
89
GGUF
Model size
3B params
Architecture
gemma2
Hardware compatibility
Log In to add your hardware

5-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support