itsazza commited on
Commit
b24bf95
·
verified ·
1 Parent(s): fbe7e55

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -3
README.md CHANGED
@@ -1,3 +1,32 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+
5
+ ---
6
+ pipeline_tag: automatic-speech-recognition
7
+ tags:
8
+ - offline
9
+ - edge-device
10
+ - gradio
11
+ - education
12
+ ---
13
+
14
+ # 🧠 Edge-Optimized Math Tutor Orchestrator
15
+
16
+ ## Model Description
17
+ This repository contains the orchestration and adaptive logic layer for an offline, CPU-bound AI Math Tutor. Rather than acting as a standalone monolithic weight file, this pipeline links extreme-edge open-source models with Bayesian logic to meet a strict < 75MB operating footprint constraint.
18
+
19
+ ### Core Architecture
20
+ 1. **ASR Component:** `openai/whisper-tiny` (39M parameters). Handles primary transcription and number extraction.
21
+ 2. **Adaptive Brain:** A bespoke Bayesian Knowledge Tracing (BKT) engine. Evaluates real-time P(mastery) against 5 distinct mathematical sub-skills to dynamically filter question difficulty.
22
+ 3. **Visual Grounding:** Procedural geometry generation (`Pillow`) entirely replacing traditional object-detection (e.g., OwlViT) to maintain the disk footprint and guarantee < 2.5s inference latency.
23
+
24
+ ### Code-Switching Capability
25
+ The orchestrator includes custom logic layered over the ASR to detect and gracefully handle language code-switching (e.g., a child being prompted in Kinyarwanda but answering in English).
26
+
27
+ ## Evaluation
28
+ Tested against an Elo-style baseline on a held-out replay of 100 historical simulated student interactions.
29
+ * **BKT Model AUC:** Consistently outperforms standard Elo algorithms in predicting next-response correctness due to faster adaptation to early-learner "slip" and "guess" parameters. *(See `kt_eval.py` in the linked GitHub repo for exact metrics).*
30
+
31
+ ## Limitations
32
+ Due to the strict 75 MB footprint constraint, this pipeline does not utilize quantized LLM adapters (QLoRA) for language generation, relying instead on high-quality, pre-generated localized stems and rule-based regex extraction.