This is a comprehensive and multi-stage machine learning project focused on Amharic NER for e-commerce Telegram data, with the goal of building EthioMart as a centralized platform
# EthioMart: Amharic Named Entity Recognition for Telegram E-Commerce
## š Project Overview
EthioMart transforms Ethiopia's decentralized Telegram e-commerce into a unified marketplace by extracting business entities (products, prices, locations) from Amharic messages. This end-to-end solution features:
- **Automated data pipeline** from Telegram channels
- **Custom Amharic NER dataset** with 50 labeled messages
- **State-of-the-art multilingual models** fine-tuned for Amharic
- **Vendor analytics engine** for micro-lending decisions
## š Key Achievements
ā
**Data Pipeline**
- Collected 1,000+ messages from 5 Telegram channels
- Developed preprocessing for Amharic text normalization
ā
**NER Implementation**
- Manually labeled 50 messages (600+ tokens) in CoNLL format
- Fine-tuned 3 transformer models (F1 scores 0.83-0.88)
ā
**Advanced Features**
- Model interpretability with SHAP/LIME
- Vendor scoring system for lending decisions
## š Repository Structure
```
EthioMart-NER/
āāā data/
ā āāā raw/ # JSON/CSV from Telegram
ā āāā processed/ # Cleaned messages
ā āāā labeled/ # amharic_ner.conll
ā
āāā models/
ā āāā xlm-roberta/ # Best model (F1=0.88)
ā āāā distilbert/ # Fastest model
ā āāā mbert/ # Balanced option
ā
āāā notebooks/
ā āāā 1_data_collection.ipynb
ā āāā 2_data_preprocessing.ipynb
ā āāā 3_data_labeling.ipynb # CoNLL creation
ā āāā 4_model_training.ipynb # Fine-tuning
ā āāā 5_model_comparison.ipynb # Benchmarking
ā āāā 6_model_interpretability.ipynb
ā āāā 7_vendor_scorecard.ipynb
ā
āāā scripts/
ā āāā telegram_scraper.py # Data collection
ā āāā data_preprocessor.py # Cleaning pipeline
ā āāā vendor_analyzer.py # Lending scores
ā
āāā .env.example # API configuration
āāā requirements.txt # Dependencies
āāā EthioMart_NER_Report.pdf # 15-page final report
```
```markdown
## š ļø Installation Guide ā¦