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="ianro04/PentaGemma",
	filename="",
)
llm.create_chat_completion(
	messages = "\"The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building, and the tallest structure in Paris. Its base is square, measuring 125 metres (410 ft) on each side. During its construction, the Eiffel Tower surpassed the Washington Monument to become the tallest man-made structure in the world, a title it held for 41 years until the Chrysler Building in New York City was finished in 1930. It was the first structure to reach a height of 300 metres. Due to the addition of a broadcasting aerial at the top of the tower in 1957, it is now taller than the Chrysler Building by 5.2 metres (17 ft). Excluding transmitters, the Eiffel Tower is the second tallest free-standing structure in France after the Millau Viaduct.\""
)

PentaGemma: 5-Sentence Summarizer

PentaGemma is a fine-tuned version of Gemma 4 E2B IT, but for 5-sentence text summarization and general obsession with the number 5. This was done as an amateur hobby project. Intended to be used in its dedicated Space, but can be very slow for large documents as it's only running on CPU there.

This project is licensed under Apache-2.0.

(Kaggle Notebook | GitHub)

This model was finetuned and converted to GGUF format using Unsloth.

Example usage:

  • llama-cli -hf ianro04/PentaGemma --jinja

Available Model files:

  • gemma-4-e2b-it.Q4_K_S.gguf (Primary purpose)
  • gemma-4-e2b-it.F16-mmproj.gguf (If you want multimodal for whatever reason)

This was trained 2x faster with Unsloth

Downloads last month
71
GGUF
Model size
5B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for ianro04/PentaGemma

Quantized
(280)
this model

Dataset used to train ianro04/PentaGemma

Space using ianro04/PentaGemma 1