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

gemma-2b - GGUF

Description

This repo contains GGUF format model files for gemma-2b.

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

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for leliuga/gemma-2b-GGUF

Base model

google/gemma-2b
Quantized
(35)
this model

Collection including leliuga/gemma-2b-GGUF