SautiLM-Jua-STEM
an offline Gemma 3-based STEM model for Android
2 min readupdated
SautiLM-Jua-STEM is an ultra-compact language model from LosingTek Research built to solve math, physics, chemistry, and biology problems completely offline. Based on Google Gemma 3 (270M-IT), it is compiled into a 272.36 MB .litertlm file that runs directly on smartphones via the LiteRT-LM runtime. Unlike heavy cloud models, it targets budget hardware and was trained on 750 verified instructions in French (60%) and English (40%), with Swahili support in its metadata. It is a solid fit for developers building offline educational apps and mobile tutors for low-end devices.
Key features
- Minimal hardware requirements: runs on smartphones with Android 8.0+ and 2 GB of RAM on ARM Cortex-A53/A55 CPUs or a mobile GPU.
- Ultra-compact footprint: the final
sautilm-jua-stem.litertlmfile weighs just 272.36 MB thanks todynamic_wi8_afp32quantization vialitert-torch. - Targeted fine-tuning: adapted using LoRA (a lightweight adapter on top of the base model,
r=32, alpha=64) with loss masking applied strictly to responses. - Modular ecosystem: part of the specialized SautiLM-Jua model family, where each module handles a dedicated subject domain.
What you can do
- Integrate it into a Flutter mobile app using the
flutter_edge_aiandflutter_edge_ai_litertlmplugins to build an offline school study assistant. - Deploy it as a local solver and explainer for math, physics, chemistry, and biology in regions without reliable internet access.
- Benchmark the speed and generation quality of compact Gemma 3 models inside the LiteRT-LM runtime on entry-level Android devices.
Example
From the model card: drop the sautilm-jua-stem.litertlm file into a Flutter app via the flutter_edge_ai + flutter_edge_ai_litertlm stack to answer high-school and college questions across math, physics, chemistry, and biology in French and English, completely offline.
Read more
DetailsArchitecture: Gemma3ForCausalLM (18 layers, hidden_size=640, context length cache_length=2048).
Training: 230 SFT steps (LoRA r=32, alpha=64) on 750 instructions, final loss — 0.0548.
Export & verification: litert-torch (dynamic_wi8_afp32, TFLite FlatBuffer + HF Tokenizer), LiteRT-LM Runtime check — 10/10.
Minimum hardware: Android 8.0+ (API 26+), 2 GB RAM, ARM Cortex-A53/A55 or mobile GPU.










Comments