KameliaZaman
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -14,11 +14,37 @@ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-
|
|
14 |
|
15 |
# French to English Machine Translation
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
## 1. Introduction
|
18 |
This project aims to develop a machine translation system for translating French text into English. The system utilizes state-of-the-art neural network architectures and techniques in natural language processing (NLP) to accurately translate French sentences into their corresponding English equivalents.
|
19 |
|
20 |
## 2. Model Architecture
|
21 |
The machine translation model employs a sequence-to-sequence architecture, specifically utilizing a recurrent neural network (RNN) with an attention mechanism. The model is trained on a parallel corpus consisting of aligned French and English sentences. Key components of the model include encoder and decoder networks, attention mechanism, and tokenization for text processing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
## 3. How-to Guide
|
24 |
### 3.1. Data Preparation
|
@@ -37,8 +63,22 @@ The machine translation model employs a sequence-to-sequence architecture, speci
|
|
37 |
- Gradio is utilized for deploying the trained model.
|
38 |
- Users can input a French text, and the model will translate it to English.
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
## 4. License
|
41 |
This project is licensed under the [MIT License](LICENSE).
|
42 |
|
43 |
## 5. Contributors
|
44 |
-
- Kamelia Zaman Moon
|
|
|
14 |
|
15 |
# French to English Machine Translation
|
16 |
|
17 |
+
- **Author:** Kamelia Zaman Moon
|
18 |
+
- **Project link:** https://huggingface.co/spaces/KameliaZaman/French-to-English-Translation
|
19 |
+
- **Language(s):** Python
|
20 |
+
- **License:** MIT
|
21 |
+
- **Contact:** kamelia.stu2017@juniv.edu
|
22 |
+
|
23 |
+
## Table of Contents
|
24 |
+
- [Introduction](#introduction)
|
25 |
+
- [Model Architecture](#model-architecture)
|
26 |
+
- [How-to Guide](#how-to-guide)
|
27 |
+
- [License](#license)
|
28 |
+
- [Contributors](#contributors)
|
29 |
+
|
30 |
## 1. Introduction
|
31 |
This project aims to develop a machine translation system for translating French text into English. The system utilizes state-of-the-art neural network architectures and techniques in natural language processing (NLP) to accurately translate French sentences into their corresponding English equivalents.
|
32 |
|
33 |
## 2. Model Architecture
|
34 |
The machine translation model employs a sequence-to-sequence architecture, specifically utilizing a recurrent neural network (RNN) with an attention mechanism. The model is trained on a parallel corpus consisting of aligned French and English sentences. Key components of the model include encoder and decoder networks, attention mechanism, and tokenization for text processing.
|
35 |
+
```
|
36 |
+
ββ eng_-french.csv - text dataset.
|
37 |
+
|
38 |
+
ββ french_to_english_translator.h5 - generated model.
|
39 |
+
|
40 |
+
ββ french_to_english_translation_using_seq2seq.ipynb - preprocesses input, trains, saves and evaluates the model.
|
41 |
+
|
42 |
+
ββ app.py - this module starts the app interface.
|
43 |
+
|
44 |
+
ββ README.md - readme file of this project.
|
45 |
+
|
46 |
+
ββ requirements.txt - list of required packages.
|
47 |
+
```
|
48 |
|
49 |
## 3. How-to Guide
|
50 |
### 3.1. Data Preparation
|
|
|
63 |
- Gradio is utilized for deploying the trained model.
|
64 |
- Users can input a French text, and the model will translate it to English.
|
65 |
|
66 |
+
```bash
|
67 |
+
# clone project
|
68 |
+
git clone https://huggingface.co/spaces/KameliaZaman/French-to-English-Translation/tree/main
|
69 |
+
|
70 |
+
# go inside the project directory
|
71 |
+
cd French-to-English-Translation
|
72 |
+
|
73 |
+
# install the required packages
|
74 |
+
pip install -r requirements.txt
|
75 |
+
|
76 |
+
# run the gradio app
|
77 |
+
python app.py
|
78 |
+
```
|
79 |
+
|
80 |
## 4. License
|
81 |
This project is licensed under the [MIT License](LICENSE).
|
82 |
|
83 |
## 5. Contributors
|
84 |
+
- Kamelia Zaman Moon - kamelia.stu2017@juniv.edu
|