Logo Lanfrica

Omballa/dholuo-pos-tagger-finetuned

Domain:

natural language processing

Record type:

modelsoftware
Creator:
Omb
Host:
# πŸ‡°πŸ‡ͺ Dholuo POS Tagger β€” AfroXLM-R (KenCorpus Fine-tuning) This repository contains the **training code, preprocessing pipeline, and documentation** for a **Dholuo (Luo) Part-of-Speech (POS) tagging model**, fine-tuned from **AfroXLM-R** using **KenCorpus** data. The final trained model is published on Hugging Face: πŸ‘‰ **Hugging Face Model:** Omballa/dholuo-pos-afroxlmr… This work follows **Masakhane-aligned practices** for low-resource African NLP. --- ## ✨ Overview - **Task:** POS tagging (token classification) - **Language:** Dholuo (Luo) - **Base Model:** `masakhane/luo-pos-tagger-afroxlmr` - **Architecture:** AfroXLM-R - **Training Data:** KenCorpus (Dholuo) - **Framework:** Hugging Face Transformers - **Output:** UPOS / Masakhane-aligned POS tags --- ## πŸ“‚ Repository Structure ```text . β”œβ”€β”€ data/ β”‚ β”œβ”€β”€ data_upos.csv β”‚ └── README.md # Detailed data documentation & preprocessing β”œβ”€β”€ training/ β”‚ β”œβ”€β”€ train.py # Training script β”‚ β”œβ”€β”€ evaluate.py # Evaluation utilities β”‚ └── utils.py β”œβ”€β”€ notebooks/ β”‚ └── exploration.ipynb β”œβ”€β”€ README.md # This file └── LICENSE ```` > πŸ“Œ **Important:** > See `data/README.md` for full details on **KenCorpus cleaning**, **POS tag alignment**, and **data limitations**. --- ## πŸ“š Dataset ### KenCorpus (Dholuo) The training data originates from **KenCorpus**, a Kenyan language corpus designed to support NLP research for low-resource languages. * **Language:** Dholuo * **Annotations:** POS tags * **Characteristics:** * Fine-grained and composite POS tags * Corpus-specific labels * Token-level annotation To ensure compatibility with transformer-based models and Masakhane tooling, the data was **cleaned and normalized** into a **Masakhane / Universal POS (UPOS)** label set. πŸ“„ Full details are documented in: ➑️ `data/README.md` --- ## 🧹 Preprocessing Summary The preprocessing pipeline includes: * Token and tag normalization * Removal of malfor …