Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

tarikuamisganaw/amharic-news-summerizer

Domain:

natural language processing

Record type:

modelsoftware
Creator:
tar
Host:
# 🇪🇹 Amharic News Summarization (ByT5) An NLP pipeline for abstractive news summarization in **Amharic**, fine-tuned on the MasakhaNEWS dataset. This project leverages Google's **ByT5** (Byte-level Text-to-Text Transfer Transformer), which is highly effective for low-resource and morphologically rich languages like Amharic because it operates directly on UTF-8 bytes, eliminating the need for language-specific tokenizers. ## 🎯 Project Goals - Build a foundational multilingual AI capability for Ethiopian local languages. - Enable automated summarization for frontline health and news contexts. - Provide a baseline model that can be integrated into larger RAG (Retrieval-Augmented Generation) or Voice-to-Voice pipelines for low-bandwidth environments. ## 🛠️ Tech Stack - **Framework:** PyTorch, Hugging Face `transformers` - **Model:** `google/byt5-small` - **Dataset:** `masakhane/masakhanews` (Amharic subset) - **Evaluation:** ROUGE metrics via `evaluate` library - **Language:** Python ## 📊 Dataset & Preprocessing - **Source:** MasakhaNEWS (Amharic `amh` subset). - **Task:** Headline generation (using the article `text` as input and `headline` as the target summary). - **Preprocessing:** Inputs are prefixed with `"summarize: "` and truncated/padded to 512 tokens. Targets are padded to 128 tokens. ## 🚀 Training Configuration The model was trained using the Hugging Face `Seq2SeqTrainer` with the following optimizations: - **Batch Size:** 4 (per device) - **Epochs:** 3 - **Learning Rate:** 3e-4 - **Mixed Precision:** FP16 enabled for CUDA devices to optimize GPU memory. - **Evaluation:** Evaluated every 200 steps using ROUGE scores. ## 💻 Usage ### 1. Installation ```bash pip install transformers datasets evaluate torch sentencepiece ``` ### 2. Inference Once the model is trained and saved locally (or downloaded from the Hugging Face Hub), you can run inference: ```python from transformers import ByT5Tokenizer, ByT5ForConditionalGeneration # Load model and tokenizer …

Visit

github.com

Tasks

natural language generationsummarization

Languages

Amharic

Similar

Amharic News CorpusMube2021/afaan-oromo-nlp-summerizerakiseid/Amharic-News-Classificationrasyosef/amharic-news-classificationNardosk30/classify-Amharic-Newseden82/Amharic-News-Classification-

Amharic News Corpus

Amharic news text/category csv, stop words. Scraped/compiled from other sources.

Mube2021/afaan-oromo-nlp-summerizer

akiseid/Amharic-News-Classification

rasyosef/amharic-news-classification

Deep Neural Network that classifies Amharic language news articles into 4 categories ('Business', 'I

Nardosk30/classify-Amharic-News

it is used to classify Amharic news based on their category # 📘 Amharic News Classification System

eden82/Amharic-News-Classification-

# 📰 Amharic News Classification using AfriBERTa Welcome to the **Amharic News Classification using