Instructions to use Calandracas/gemma-4-E2B-it-qat-heretic-LiteRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use Calandracas/gemma-4-E2B-it-qat-heretic-LiteRT with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
gemma-4-E2B-it-qat-heretic-LiteRT
Model details
Format: LiteRT-LM
.litertlm(weights + tokenizer + graph in one file)Runtime: LiteRT-LM (XNNPACK CPU / OpenCL GPU)
Source checkpoint:
coder3101/gemma-4-E2B-it-qat-q4_0-unquantized-hereticBase model(s):
coder3101/gemma-4-E2B-it-qat-q4_0-unquantized-hereticQuantization:
mixed48(Google gemma4 mixed 4/8-bit mobile scheme (INT4 weights + INT8 projections))License:
apache-2.0 AND agpl-3.0
How it was produced
Converted with convert_gemma4.py, which runs the same three stages described in the Google ai-edge-quantizer docs:
- Export β HF checkpoint (PyTorch/safetensors) β float TFLite flatbuffer (via
litert-torchexport_hf) - Quantize β float TFLite β quantized TFLite (via
ai-edge-quantizerrecipemixed48) - Package β quantized TFLite β
.litertlmbundle (vialitert-torchlitert_lm_builder)
No weights were modified, retrained, or merged β only reformatted and quantized.
Usage
Load model.litertlm with any LiteRT-LM runtime or client. Place it under your
app's models folder and the runtime loads it automatically.
Model tree for Calandracas/gemma-4-E2B-it-qat-heretic-LiteRT
Base model
google/gemma-4-E2B