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.

rashiniyasp/English-to-Swahili-translation-Using-multi-head-attention-Transformer

Domain:

natural language processing

Record type:

dataset
Creator:
ras
Host:
# English-to-Swahili-translation-Using-multi-head-attention-Transformer This repository contains notebooks and datasets for building an English-Swahili machine translation model. It includes steps for data collection, cleaning, and model training. ## Repository Contents ### Data Collection - `data_collection.ipynb`: Notebook for collecting raw data. - `english_swahili_sentence_pairs.csv`: Raw dataset containing English-Swahili sentence pairs. - `english_swahili_sentence_pairs_cleaned.csv`: Cleaned version of the sentence pairs. ### Data Cleaning - `data_cleaning.ipynb`: Notebook for cleaning and preprocessing the raw dataset. - Additional test files: These include test CSV files for both the original and cleaned English-Swahili sentence pairs. ### Model Training - `eng_swahili_mt_5.9.ipynb`: Notebook that contains the code for training the translation model. - This notebook imports the cleaned dataset as a DataFrame: ```python import pandas as pd df = pd.read_csv("english_swahili_sentence_pairs_cleaned.csv") ``` ## How to Run the Model ### 1. Environment Setup - Ensure you have Python 3.x and Jupyter Notebook installed. - Install the necessary Python libraries: ```bash pip install pandas numpy tensorflow torch ``` ### 2. Data Cleaning - Open `data_cleaning.ipynb` in Jupyter Notebook. - Run the cells sequentially to preprocess and clean the raw dataset. - Once the cleaning process is complete, ensure that the `english_swahili_sentence_pairs_cleaned.csv` file is available in your working directory. ### 3. Model Training - Open `eng_swahili_mt_5.9.ipynb` in Jupyter Notebook. - The notebook is pre-configured to import and use the cleaned dataset: ```python import pandas as pd df = pd.read_csv("english_swahili_sentence_pairs_cleaned.csv") ``` - Execute the notebook cells to train and evaluate the machine translation model. - For model training, the process was run using Kaggle’s GPU (P100). It is recommended to use a similar GPU environment for optimal performan …

Visit

github.com

Tasks

machine translation

Languages

Swahili

Licenses

Apache-2.0

Similar

Kreol Morisien to English and English to Kreol Morisien Translation System using Attention and Transformer ModelDirect English-to-Yoruba speech Translation model using Transformer with Augmented Attention MechanismA Multi-Head Attention-Based Transformer Model for Predicting Causes in Aviation IncidentAutomatic translation from English to Amazigh using transformer learningBilingual Neural Machine Translation From English To Yoruba Using A Transformer Modelrashidkisejjere0784/luganda-to-English-translation-with-attention-

Kreol Morisien to English and English to Kreol Morisien Translation System using Attention and Transformer Model

Direct English-to-Yoruba speech Translation model using Transformer with Augmented Attention Mechanism

A Multi-Head Attention-Based Transformer Model for Predicting Causes in Aviation Incident

The timely identification of probable causes in aviation incidents is crucial for averting future tr

Automatic translation from English to Amazigh using transformer learning

Due to the lack of parallel data, to our knowledge, no study has been conducted on the Amazigh-Engli

Bilingual Neural Machine Translation From English To Yoruba Using A Transformer Model

The necessity for language translation in Nigeria arises from its linguistic diversity, facilitating

rashidkisejjere0784/luganda-to-English-translation-with-attention-

Using the same idea if attention, I was able to create a model capable of translating luganda senten