JengaAI - Tujenge ai yetu na JengaAI
Collection
A framework purpose-built for Kenya's national security and governnce . It supports evrythng frm pretranng simple trnsformrs to complex fusion models β’ 9 items β’ Updated β’ 2
Multi-task NLP model for the Child Protection Information Management System (CPIMS) Kenya.
| Task | Accuracy | F1 |
|---|---|---|
| Intent (63 classes) | 74.5% | 70.5% |
| Urgency (3 classes) | 85.0% | 84.8% |
from jenga_ai.inference.pipeline import InferencePipeline
pipeline = InferencePipeline.from_checkpoint(
model_dir="Rogendo/cpims-nlp-intent-urgency",
config_path="experiment_config.yaml",
)
result = pipeline.predict("Nimesahau password, tafadhali nisaidie")
# intent: passwords (0.999), urgency: medium (0.997)
Handles English, Swahili, and Kenyan code-switching (Sheng/Kiswanglish).
Rogendo/afribert-kenya-adaptedBase model
castorini/afriberta_large