Logo Lanfrica

OpenAst/yorubaai

Domain:

natural language processing

Record type:

software
Creator:
Ope
Host:
yoruba conversational AI # Yoruba AI Chatbot A text-based AI chatbot that responds fluently in the Yoruba language. Built with Next.js, FastAPI, and fine-tuned transformer models. **Status:** βœ… Production Ready - Using real fine-tuned models (no mock data) ## πŸš€ Quick Start ### One-Command Setup (Recommended) ```bash cd /home/alien/yorubaai bash train_and_deploy.sh all ``` This automatically: 1. Sets up Python environment 2. Collects Yoruba training data from public sources 3. Fine-tunes a model on Yoruba text 4. Tests the complete system 5. Starts backend & frontend servers ### Manual Setup **Terminal 1 - Backend:** ```bash cd backend source env/bin/activate pip install -r requirements.txt python main.py ``` **Terminal 2 - Frontend:** ```bash cd frontend npm install npm run dev ``` Then open **http://localhost:3000** ## πŸ“‹ Features βœ… **Real Yoruba AI** - Fine-tuned on actual Yoruba text (not mock) βœ… **Text Chat Interface** - Beautiful, responsive UI βœ… **Conversation History** - Maintains context βœ… **GPU Support** - Auto-detects CUDA βœ… **Production Ready** - Fully tested and documented βœ… **Easy Deployment** - Multiple hosting options ## πŸ—οΈ Architecture ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Next.js Frontend (React) β”‚ localhost:3000 β”‚ - Chat interface β”‚ β”‚ - Real-time messaging β”‚ β”‚ - Error handling β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ HTTP/REST β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ FastAPI Backend β”‚ localhost:8000 β”‚ - /chat endpoint β”‚ β”‚ - /health check β”‚ β”‚ - CORS enabled β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Fine-Tuned Yoruba Model (GPT-2) β”‚ β”‚ - Trained on real Yoruba texts β”‚ β”‚ - Bio: Collects from multiple sources β”‚ β”‚ - Uses LoRA for efficiency β”‚ └───────────────────────────────────────── …

Languages