# Amharic Telegram E-commerce NER
π **Amharic Telegram E-commerce NER** is a complete end-to-end NLP pipeline for extracting structured product data from Amharic-language Telegram-based e-commerce channels. It powers the EthioMart platform by fine-tuning transformer-based models to recognize key business entities like **Product Names**, **Prices**, and **Locations** in unstructured messages.
---
## π Project Goals
- π₯ Ingest real-time text and image data from multiple Amharic Telegram e-commerce channels.
- π§Ό Preprocess and structure raw Amharic text data for downstream NLP tasks.
- π§ Fine-tune multilingual transformer models (e.g., XLM-R, mBERT) for **Named Entity Recognition (NER)** in Amharic.
- π§ͺ Compare model performance using F1-score, precision, recall.
- π Interpret predictions with SHAP and LIME to ensure transparency.
- π Score vendors using engagement metrics + extracted business info for micro-lending insights.
---
## π οΈ Tech Stack
| Layer | Tools / Libraries |
|-------------|------------------------------------------------|
| Data Ingestion | `telethon`, `tdlib` for Telegram scraping |
| NLP & NER | `transformers`, `datasets`, `seqeval`, `XLM-R` |
| Tracking | `MLflow`, `DVC` |
| Annotation | `CoNLL`, manual labeling, `doccano` (optional) |
| Explainability | `SHAP`, `LIME` |
| Deployment | Google Colab, local, or cloud |
---
## π¦ Features
- π¦ **Real-time Telegram data extraction**
- π **Amharic text normalization & tokenization**
- π·οΈ **Custom NER dataset in CoNLL format**
- π€ **Fine-tuned transformer models for NER**
- π **Evaluation & model comparison dashboards**
- π‘ **Interpretable outputs using SHAP/LIME**
- π° **Vendor scorecard engine for micro-lending insights**
---
## π Project Structure
amharic-telegram-ecommerce-ner/
βββ data/
β βββ raw/
β βββ processed/
βββ src/
β βββ ingestion/ # Telegram scraping logi β¦