# π¦ **EthioMart Amharic NER System**
**EthioMart** aims to become the central hub for Telegram-based e-commerce in Ethiopia by aggregating business data such as **product names**, **prices**, and **locations** from multiple independent vendor channels.
This project builds an **Amharic Named Entity Recognition (NER)** system to extract and structure such data for downstream analytics and business decision-making.
---
## π **Project Overview**
With the growing use of **Telegram for commerce in Ethiopia**, vendors are scattered across isolated channels. This project solves the **fragmentation problem** by:
- π **Scraping** real-time messages and media from Telegram vendor channels
- π§Ή **Preprocessing** Amharic text using custom tokenization and normalization
- π·οΈ **Labeling** key entities in Amharic: `Product`, `Price`, `Location`
- π€ **Fine-tuning transformer-based models**: `XLM-RoBERTa`, `mBERT`, `AfroXLMR`
- π **Generating vendor analytics** to support micro-lending decisions
---
## π **Project Structure**
```bash
ethiomart-amharic-ner/
β
βββ data/
β βββ raw/ # Raw scraped data
β βββ processed/ # Cleaned and labeled datasets
β βββ amharic_ner_data.conll
β
βββ notebooks/
β βββ 01_data_ingestion.ipynb # Telegram scraping logic
β βββ Task-3NERmodel.ipynb
β βββ task-4a.ipynb
β βββTask-5a.ipynb
β βββTask-6a.ipynb
β
βββ scripts/
β βββ 01_text_preprocessing.py # Cleaning, normalization, tokenization
β
βββ README.md
βββ requirements.txt
βββ .gitignore
```
# From Tasks 3β6
This repository contains the implementation of Tasks 3 through 6 of the **B5W4 Challenge β Amharic E-Commerce Data Extractor**, which focuses on fine-tuning transformer models for Amharic Named Entity Recognition (NER), comparing models, interpreting predictions, and building a FinTech-ready vendor analytics engine.
---
## β
Task 3: Fine-Tune NER Model (Amharic)
### Goal:
Train a transformer-based model (AfroXLMR) on annotated Amha β¦