TogoLM v1.0 — First open-source AI infrastructure for Togo
What is TogoLM?
TogoLM is the first open-source AI knowledge layer dedicated to Togo — a complete
pipeline from raw web scraping to a fine-tuned LLM and public REST API that developers,
startups, and institutions can build upon.
What's included in v1.0
Corpus — 62 168 documents, 30 sources
- Government: jo.gouv.tg, finances.gouv.tg, education.gouv.tg, agriculture.gouv.tg,
commerce.gouv.tg, justice.gouv.tg, otr.tg, inseed.tg, cnss.tg, service-public.gouv.tg,
presidenceduconseil.gouv.tg, legitogo.gouv.tg, and more - Press: icilome.com, togoactualite.com, togofirst.com, lomeinfos.com,
letogolais.com, savoirnews.net, republicoftogo.com - Encyclopedic / international: fr.wikipedia.org, europa.eu, unicef.org
Fine-tuned model — published on Hugging Face
- togolm/togolm-7b-instruct-v1
— Mistral 7B Instruct v0.3 fine-tuned with QLoRA on the Togolese corpus - togolm/togolm-corpus-v1 — Q&A dataset used for fine-tuning
REST API — live at api.togolm.kofcorporation.com
POST /v1/query— RAG question answeringPOST /v1/query/stream— SSE streamingGET /v1/search— Full-text searchGET /v1/stats— Corpus statistics
Showcase — live at togolm.kofcorporation.com
- Corpus browser, full-text search, streaming RAG chat, developer docs
Quick start
git clone https://github.com/omarfarouk228/togolm.git
cd togolm && cp .env.example .env
uv sync
uvicorn api.app.main:app --reload --port 8000
---
Project lead: Omar Farouk KOUGBADA · KOF CORPORATION · Lomé, Togo