Downloads · 30 days
19
3% of all-time downloads
alifalhasan/arabic2english
arabic2english is a translation model from alifalhasan. Use it when you need text moved from one language to another. It is set up for transformers. The card lists the license as mit.
- Model name: Arabic2English Translation - Model description: Translates between Arabic and English. - Authors: Alif Al Hasan - Repository link: https://huggingface.co/spaces/alifalhasan/arabic2english/tree/main - Lic…
Downloads · 30 days
19
3% of all-time downloads
All-time downloads
626
Public
Repo size
468 MB
Likes
1
Public
Click a slice to open those files.
.bin93.6 MB · 100%
From the Hugging Face model README
A simple and well designed web app to translate between Arabic and English.
A simple and well designed web app to translate between Arabic and English.
├── data
│ └── arabic2english.txt - text dataset.
│
│
├── docs
│ └── arabic2english.pdf - paper of the related research.
│
│
├── models
│ └── arabic2english.pt - generated model.
│
│
├── src
│ └── data_processing
│ └── data_processing.py - this module preprocesses the input data.
│ └── train
│ └── train.py - this module trains and saves the model.
│ └── transformer.py - model file.
│ └── translation
│ └── translate.py - this module translates the input sentence.
│
│
├── app.py - this module starts the app interface.
│
│
├── LICENSE - license file of this project.
│
│
├── README.md - readme file of this project.
│
│
├── requirements.txt - list of required packages.
# clone project
git clone https://huggingface.co/spaces/alifalhasan/arabic2english
# go inside the project directory
cd arabic2english
# install the required packages
pip install -r requirements.txt
# train & save the model
python src/train/trainer.py
# run the gradio app
python app.py
Distributed under the MIT License. See LICENSE for more information.
Alif Al Hasan - @alifalhasan - [email protected]
Project Link: https://huggingface.co/spaces/alifalhasan/arabic2english