Logo Lanfrica

mikiyasegaye/Amharic-E-commerce-Data-Extractor

Domain:

natural language processing

Record type:

project
Creator:
mik
Host:
B5W4: Building an Amharic E-commerce Data Extractor --- # EthioMart Amharic E-commerce NER System A complete machine learning pipeline to extract structured informationβ€”like product names, prices, and locationsβ€”from Amharic e-commerce Telegram messages. This helps EthioMart assess vendors, track pricing, and identify business opportunities from unstructured chat data. --- ## πŸš€ Project Goal To build a full pipeline that: - Collects Telegram posts from e-commerce channels - Preprocesses Amharic text - Labels key entities manually - Trains and compares NER models - Explains predictions (Model Interpretability) - Scores vendors for micro-lending (FinTech use case) --- ## πŸ”§ Tools and Technologies - Python 3.11+ - Telethon for Telegram scraping - Transformers (HuggingFace) - pandas, numpy - Jupyter Notebooks - SHAP, LIME for interpretability - scikit-learn for scoring - tqdm, evaluate, datasets - PyTorch with MPS for Apple Silicon --- ## πŸ—‚οΈ Directory Structure ```bash . β”œβ”€β”€ config/ # YAML config files β”œβ”€β”€ data/ β”‚ β”œβ”€β”€ raw/ # Raw Telegram messages β”‚ └── processed/ # Cleaned and labeled data (CoNLL format) β”œβ”€β”€ notebooks/ # All development notebooks β”‚ β”œβ”€β”€ fine_tune_ner_model.ipynb # Training NER model β”‚ β”œβ”€β”€ compare_models.ipynb # Model benchmarking β”‚ β”œβ”€β”€ interpret_ner_model.ipynb # SHAP & LIME explanation β”‚ β”œβ”€β”€ vendor_scorecard.ipynb # Vendor analytics β”‚ └── exploration.ipynb # Text cleaning demo β”œβ”€β”€ preprocessing/ β”‚ β”œβ”€β”€ amharic_text_cleaner.py β”‚ └── preprocess_pipeline.py β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ data_ingestion/ # Scraper logic β”‚ β”œβ”€β”€ labeling/ # CoNLL formatting β”‚ β”œβ”€β”€ modeling/ # Training, evaluation helpers β”‚ └── vendor_analysis/ # Lending score logic β”œβ”€β”€ utils/ # Reusable I/O, logging helpers β”œβ”€β”€ tests/ # Unit tests β”œβ”€β”€ requirements.txt └── README.md ``` --- ## βœ… How to Run the …