# ποΈ Amharic E-commerce Data Extractor & Vendor Scorecard
it is on a mission to become the unified platform for all Telegram-based e-commerce in Ethiopia. This project leverages the power of NLP and large language models (LLMs) to extract structured data (Product, Price, Location) from unstructured Amharic Telegram messages. It also evaluates vendorsβ performance for micro-lending through a data-driven vendor scorecard.
---
## π Project Goals
- Consolidate product data from multiple Telegram e-commerce channels into one searchable database.
- Fine-tune transformer-based models for Amharic Named Entity Recognition (NER).
- Evaluate and compare different NER models.
- Build vendor profiles and generate a data-backed **FinTech Lending Scorecard**.
## π§± Project Structure
- amharic-ecom-data-extractor/
- βββ data/
- β βββ raw/ # Raw scraped messages
- β βββ labeled/ # CoNLL-labeled dataset
- β βββ processed/ # Extracted entities (CSV/JSON)
- βββ media/ # Product images from Telegram
- βββ scripts/
- β βββ scraper.py # Telegram data ingestion
- β βββ preprocess.py # Amharic text cleaning
- β βββ extract_entities.py # Inference using fine-tuned NER
- β βββ evaluate_models.py # Model comparison
- β βββ interpretability.py # SHAP/LIME explanation
- β βββ vendor_scorecard.py # Vendor analytics engine
- βββ notebooks/
- β βββ ner_finetuning.ipynb # HuggingFace fine-tuning notebook
- βββ models/ # Saved fine-tuned model(s)
- βββ requirements.txt
- βββ README.md
- βββ .gitignore
π Tasks Overview
β
Task 1: Data Ingestion & Preprocessing
Scrape text and images from 5+ Telegram e-commerce channels using telethon.
Preprocess Amharic messages: normalize, clean, tokenize.
Store with metadata (timestamp, sender, media_type).
β
Task 2: NER Data Labeling (CoNLL Format)
Label 30β50 Amharic messages manually with:
B-Product, B-PRICE, B-LOC, optional: β¦