|
--- |
|
title: English2French |
|
colorFrom: blue |
|
colorTo: purple |
|
sdk: gradio |
|
license: apache-2.0 |
|
language: |
|
- en |
|
- fr |
|
pipeline_tag: translation |
|
metrics: |
|
- accuracy |
|
library_name: transformers |
|
emoji: π |
|
--- |
|
# Model Card |
|
|
|
## Overview |
|
|
|
- **Model name:** English2French Translation |
|
- **Model description:** Translates between English and French. |
|
- **Authors:** Pallabi Biswas |
|
- **Repository link:** https://huggingface.co/spaces/pallabi/Translator/tree/main |
|
- **License:** Apache license 2.0 |
|
- **Contact information:** pallabi.stu2017@juniv.edu |
|
|
|
|
|
--- |
|
|
|
|
|
# English2Spanish Translation |
|
A simple and well designed web app to translate between **English** and **French**. |
|
|
|
|
|
### Requirements |
|
- gradio |
|
- torch>=2.2 |
|
- transformers |
|
|
|
|
|
### Table Of Contents |
|
- [Introduction](#introduction) |
|
- [Project Architecture](#project-architecture) |
|
- [How To Run](#how-to-run) |
|
- [License](#license) |
|
- [Contributor](#contributor) |
|
|
|
|
|
### Introduction |
|
A simple and well designed web app to translate between **English** and **French**. |
|
|
|
|
|
### Prject Architecture |
|
``` |
|
βββ data |
|
β βββ english2French.txt - text dataset. |
|
β |
|
β |
|
βββ docs |
|
β βββ english2French.pdf - paper of the related research. |
|
β |
|
β |
|
βββ models |
|
β βββ translation_en_to_fr - generated model. |
|
β |
|
β |
|
βββ 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. |
|
``` |
|
|
|
### How To Run |
|
```bash |
|
# clone project |
|
git clone https://huggingface.co/spaces/pallabi/Translator |
|
# go inside the project directory |
|
cd Translator |
|
# install the required packages |
|
pip install -r requirements.txt |
|
# run the gradio app |
|
python app.py |
|
``` |
|
|
|
### License |
|
Distributed under the Apache License 2.0. See `LICENSE` for more information. |
|
|
|
|
|
### Contributor |
|
Pallabi Biswas - [@pallabi](https://huggingface.co/pallabi) - pallabi.stu2017@juniv.edu |
|
|
|
Project Link: [https://huggingface.co/spaces/pallabi/Translator](https://huggingface.co/spaces/pallabi/Translator) |