# π° Amharic News Classification using AfriBERTa
Welcome to the **Amharic News Classification using AfriBERTa** project repository!
This project focuses on building an intelligent Natural Language Processing (NLP) system capable of automatically classifying Amharic news articles using the powerful **AfriBERTa transformer model**.
The repository contains datasets, preprocessing scripts, model training pipelines, evaluation results, and research implementations developed collaboratively by our project team members.
---
# π₯ Group Members
| Group Member | Student UGR ID |
| :--- | :---: |
| **Shalom Mesfin** | `UGR/25453/14` |
| **Benjamin Endale** | `UGR/25484/14` |
| **Salem Mesfin** | `UGR/25407/14` |
| **Yaikob Wasihun** | `UGR/25556/14` |
| **Bereket Daniel** | `UGR/25430/14` |
---
# π Project Overview
This project applies **Deep Learning** and **Transformer-based NLP techniques** to classify Amharic news articles into 6 different categories automatically:
1. **ααα α αα αα** (National News)
2. **α΅ααα΅** (Sports)
3. **ααα²α«** (Politics)
4. **ααα α αα αα** (International News)
5. **α’ααα΅** (Business)
6. **αααα** (Entertainment)
Using **AfriBERTa**, a multilingual transformer language model pre-trained specifically on 11 African languages (including Amharic), the system achieves state-of-the-art accuracy for sequence classification tasks on low-resource Amharic text.
---
# π Project Structure
```
/home/yaikob-wasihun/Desktop/NLP/
βββ Amharic_News_Dataset.csv # Dataset file containing 51,483 news articles
βββ requirements.txt # Package dependencies
βββ main.py # Main pipeline executor (training + evaluation + sample prediction)
βββ predict.py # CLI inference utility for predictions on new Amharic texts
βββ src/
βββ __init__.py # Module entrypoint exposing modules
βββ data_loader.py # CSV loader with inspection functions
βββ preprocessing.py # Cleaning text, encoding labels, and PyTorch datase β¦