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="nirajandhakal/gemma-2b-base",
	filename="gemma-2b.gguf",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)
README.md exists but content is empty.
Downloads last month
43
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW

Model tree for nirajandhakal/gemma-2b-base

Quantizations
1 model