File size: 1,277 Bytes
f241b58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6263e7f
f241b58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
base_model: litert-community/gemma-4-E2B-it-litert-lm
language:
- en
- hi
- ta
- te
- bn
- mr
- gu
- kn
- ml
- or
- pa
- ur
license: gemma
tags:
- gemma
- litert
- android
- on-device
- offline
- education
---

# Gemma 4 E2B — LiteRT-LM (EdSparkAI)

INT4-quantized `.litertlm` model file used by **EdSparkAI**, a fully offline Android AI tutor.

Based on [litert-community/gemma-4-E2B-it-litert-lm](https://huggingface.co/litert-community/gemma-4-E2B-it-litert-lm).

## File

| | |
|---|---|
| **Filename** | `model.litertlm` |
| **Format** | LiteRT-LM (MediaPipe) |
| **Quantization** | INT4 |
| **Size** | ~2.4 GB |

## Usage

This model runs on Android via **MediaPipe LiteRT 0.10.14** on the CPU backend. Used in [EdSparkAI](https://github.com/Destroyer1543/EdSparkAI) — an offline bilingual classroom assistant that explains textbook pages in 12 Indian languages.

```kotlin
val cfg = EngineConfig(
    modelPath = "/path/to/model.litertlm",
    backend = Backend.CPU(),
    maxNumTokens = 2048,
)
val engine = Engine(cfg)
engine.initialize()
```

### Device requirements
- Android 8.0+ (API 26+)
- 4 GB RAM minimum
- 3 GB free storage

## License

Gemma is a trademark of Google LLC. Use is subject to the [Gemma Terms of Use](https://ai.google.dev/gemma/terms).