From 4275fabd8c3ff55990a00af06d2e1d903e112edc Mon Sep 17 00:00:00 2001 From: Satarupa Deb <84276219+Satarupa22-SD@users.noreply.github.com> Date: Sun, 21 Jan 2024 20:02:14 +0530 Subject: [PATCH 1/2] Update README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 85153ec..afd8ac0 100644 --- a/README.md +++ b/README.md @@ -56,14 +56,25 @@ The target language is English(en). * The **models** directory consists of trained models for the respective language pairs and also follows the same structure of subdirectories as **data** directory. For example, **models/de-en** will contains trained models for the **German-English** language pair. + ### Creating Virtual Enviroment +* **Note** that the virtual environment(myenv) created using virtualenv command mentioned above, should be of **Python2** . * The following commands were used to install dependencies for the project: + #### macOS ```bash $ git clone https://github.com/RedHenLab/Neural-Machine-Translation.git $ virtualenv myenv $ source myenv/bin/activate $ pip install -r Neural-Machine-Translation/requirements.txt + + ``` + #### Windows + ```bat + git clone https://github.com/RedHenLab/Neural-Machine-Translation.git + conda create --name myenv python=2.7 + conda activate myenv + pip install -r Neural-Machine-Translation/requirements.txt + ``` -* **Note** that the virtual environment(myenv) created using virtualenv command mentioned above, should be of **Python2** . ## Data Preparation and Preprocessing From ee5d9114b519c5b10b030f5993c873fe3ce37ee1 Mon Sep 17 00:00:00 2001 From: Satarupa Deb <84276219+Satarupa22-SD@users.noreply.github.com> Date: Sun, 21 Jan 2024 20:07:59 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index afd8ac0..7298e50 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ The target language is English(en). ``` #### Windows - ```bat + ``` git clone https://github.com/RedHenLab/Neural-Machine-Translation.git conda create --name myenv python=2.7 conda activate myenv