Downloads · 30 days
0
SuperPauly/Gemmasutra_LiteRT-LM
Gemmasutra_LiteRT-LM is a text generation model from SuperPauly. Use it when you need the model to write or continue text. It is set up for litert. The card lists the license as gemma.
This model is a converted version of TheDrummer/Gemmasutra-Mini-2B-v1 optimized for on-device inference using LiteRT (formerly TensorFlow Lite). It has been quantized to 8-bit to reduce size and memory usage while mai…
Downloads · 30 days
0
Access
Public
Updated Feb 1, 2026
Repo size
2.6 GB
Likes
7
Public
Click a slice to open those files.
.litertlm2.6 GB · 100%
From the Hugging Face model README
This model is a converted version of TheDrummer/Gemmasutra-Mini-2B-v1 optimized for on-device inference using LiteRT (formerly TensorFlow Lite). It has been quantized to 8-bit to reduce size and memory usage while maintaining performance suitable for mobile and edge devices.
This model is intended for local, on-device text generation on Android, iOS, or Web environments that support the LiteRT (TensorFlow Lite) LLM inference runtime. For example Edge Gallery from the Google Play Store or download it directly from its GH Repo here: https://github.com/google-ai-edge/gallery
The compiled APK can be found in the Releases section here: https://github.com/google-ai-edge/gallery/releases
WARNING: Not for all audiences.
This model inherits the behaviors of the original Gemmasutra-Mini-2B-v1. It:
To use this model, you will need the MediaPipe LLM Inference API.
from mediapipe.tasks import python
from mediapipe.tasks.python import text
base_options = python.BaseOptions(model_asset_path='model.tflite')
options = text.LlmInferenceOptions(base_options=base_options)
llm_inference = text.LlmInference.create_from_options(options)
response = llm_inference.generate_response("Write a story about...")
print(response)
.litert-lm