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="TheCosmicStage/sansara-gemma4-e4b-gguf",
	filename="sansara-gemma4-e4b-Q4_K_M.gguf",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

SANSARA Gemma 4 E4B (Q4_K_M GGUF)

Fine-tuned google/gemma-4-E4B-it for the SANSARA on-device AI journaling app.

Training

Use

Designed for inference via llama.cpp / llama.rn / Ollama on mobile and desktop.

from llama_cpp import Llama
llm = Llama(model_path="sansara-gemma4-e4b-Q4_K_M.gguf", n_ctx=2048)
Downloads last month
18
GGUF
Model size
8B 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 TheCosmicStage/sansara-gemma4-e4b-gguf

Quantized
(179)
this model