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="hardcoremoore/gemma-3-270m-GGUF",
	filename="gemma-3-270m-Q8_0.gguf",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

gemma-3-270m GGUF

Recommended way to run this model:

llama-cli -hf ggml-org/gemma-3-270m-GGUF -c 0 -fa -p "hello"

Then, access http://localhost:8080

Downloads last month
6
GGUF
Model size
0.3B params
Architecture
gemma3
Hardware compatibility
Log In to add your hardware

8-bit

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

Model tree for hardcoremoore/gemma-3-270m-GGUF

Quantized
(41)
this model