GGUF
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="lm-kit/gemma-2-2b-gguf",
	filename="",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

Model Summary

This repository hosts quantized versions of the Google Gemma 2 2B Instruct model.

Format: GGUF
Converter: llama.cpp 398ede5efeb07b9adf9fbda7ea63f630d476a792
Quantizer: LM-Kit.NET 2024.7.10

For more detailed information on the base model, please visit the following link:

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

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

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