Bronsn commited on
Commit
0dfe582
·
verified ·
1 Parent(s): 886250c

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +99 -0
README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: CraneAILabs/EduGanda-Gemma-3-1B
3
+ language:
4
+ - lug
5
+ - en
6
+ license: apache-2.0
7
+ pipeline_tag: text-generation
8
+ tags:
9
+ - litert
10
+ - tflite
11
+ - luganda
12
+ - education
13
+ - pedagogy
14
+ - foundational-literacy
15
+ - primary-education
16
+ - uganda
17
+ - bilingual
18
+ - teacher-training
19
+ - gemma
20
+ - gemma3
21
+ - fine-tuned
22
+ - mobile
23
+ - android
24
+ - ios
25
+ - mediapipe
26
+ - edge
27
+ - on-device
28
+ ---
29
+
30
+ # EduGanda Gemma 3 1B — LiteRT
31
+
32
+ LiteRT (TFLite) versions of [CraneAILabs/EduGanda-Gemma-3-1B](https://huggingface.co/CraneAILabs/EduGanda-Gemma-3-1B) for on-device deployment via Google AI Edge / MediaPipe.
33
+
34
+ ## Model Description
35
+
36
+ This is a Gemma 3 1B model fine-tuned for **Ugandan primary education** (P1-P3 Foundational Literacy and Numeracy curriculum). It generates culturally relevant educational content using Ugandan names, places, foods, and cultural references.
37
+
38
+ **Use case:** On-device AI assistant for Ugandan primary school teachers — lesson plans, phonics exercises, math word problems, reading comprehension activities.
39
+
40
+ ## Files
41
+
42
+ | File | Quantization | Size | Notes |
43
+ |---|---|---|---|
44
+ | `ganda-gemma-eduganda-int8.task` | INT8 (dynamic) | 978 MB | Recommended for mobile deployment |
45
+ | `ganda-gemma-eduganda-fp16.task` | FP16 | 1.9 GB | Higher quality, larger size |
46
+
47
+ ## Usage
48
+
49
+ ### Google AI Edge Gallery (Android)
50
+
51
+ Load the `.task` file in the [Google AI Edge Gallery](https://github.com/nicholasgasior/ai-edge-gallery) app.
52
+
53
+ ### MediaPipe LLM Inference (Python)
54
+
55
+ ```python
56
+ from mediapipe.tasks.python.genai.llm_inference_api import LlmInference, LlmInferenceOptions
57
+
58
+ options = LlmInferenceOptions(
59
+ model_path="ganda-gemma-eduganda-int8.task",
60
+ max_tokens=512,
61
+ )
62
+ inference = LlmInference(options)
63
+ response = inference.generate("Create a P1 phonics exercise using Luganda syllables.")
64
+ print(response)
65
+ ```
66
+
67
+ ### Recommended System Prompt
68
+
69
+ ```
70
+ You are a helpful AI assistant for Ugandan primary school teachers. Generate culturally relevant educational content aligned to the Ugandan P1-P3 curriculum (Foundational Literacy and Numeracy). Use Ugandan names (e.g., Nakato, Ssemakula, Apio), places (Kampala, Jinja, Gulu), foods (matooke, posho, groundnuts), and cultural references that Ugandan children would recognize.
71
+ ```
72
+
73
+ ## Training
74
+
75
+ The base model was created by merging a Luganda-specialized Gemma 3 1B with education-specific fine-tuning data including:
76
+ - Ugandan curriculum content (P1-P3 FLN)
77
+ - Luganda pedagogical content knowledge (PCK)
78
+ - Bilingual (English-Luganda) educational materials
79
+
80
+ See the [base model card](https://huggingface.co/CraneAILabs/EduGanda-Gemma-3-1B) for full training details.
81
+
82
+ ## Quantization
83
+
84
+ Converted using `litert-torch` 0.8.0 with `litert_torch.generative.utilities.converter` and bundled with `mediapipe.tasks.python.genai.bundler`.
85
+
86
+ ## License
87
+
88
+ Apache 2.0 — same as the base model.
89
+
90
+ ## Citation
91
+
92
+ ```bibtex
93
+ @misc{craneailabs2026gandagemmafln,
94
+ title={EduGanda Gemma 3 1B: On-Device AI for Ugandan Primary Education},
95
+ author={Crane AI Labs},
96
+ year={2026},
97
+ url={https://huggingface.co/CraneAILabs/EduGanda-Gemma-3-1B-litert}
98
+ }
99
+ ```