Skip to content

Code-Kaki/nlp-traininglabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nlp-traininglabs

Environment Setup Guides

There are few important steps in setting up your environment:

Step 1: Install Anaconda

  1. Go to Anaconda Official Website and download the latest Anaconda Individual Edition installer with Python 3.x. Anaconda Website

  2. Open the installer and follow all the setup instruction. Anaconda Setup

  3. For more setup information, please refer to Anaconda Setup Guideline. Anaconda Install


Step 2: Clone nlp-traininglabs Repository

  • If you have git installed:
  1. Navigate to the folder where you want to keep the traininglabs.

  2. Press shift + right click and select Git Bash here. Git Bash

  3. Enter the following command to clone nlp-traininglabs to your local drive.

    git clone https://github.com/skymind-talent/nlp-traininglabs.git


  • If you do not have git installed
  1. Go the nlp-traininglabs github repository. Github Repository

  2. Download the repository as zip file. Download Repository

  3. Unzip the file to the folder where you want to keep the traininglabs.


Step 3: Install NLP-Labs Dependencies

  1. Open Anaconda Prompt. Anaconda Prompt

  2. Navigate to your NLP-Labs root folder, e.g: Navigate to root folder

    cd {enter your path here}\nlp-traininglabs

  3. Run the following command to create new conda environment: Insall Environment

    conda env create -f environment.yml

  4. Press y to confirm installation.

  5. Your installation should be completed.

  6. Activate nlp-labs environment: Activate Environment

    conda activate nlp-labs


Step 4: Install Python Packages

  1. Open Anaconda Prompt and activate nlp-labs environment.

  2. Navigate to NLP-Labs root folder.

  3. Run the following command to install required modules for this training lab: Install requirement.txt

    pip install -r requirement.txt

  4. Wait for the download and installation to complete. pip Install Success


Step 5: Install Spacy Language Models

Spacy Model Install

Throughout this training labs, we will mainly using these language models:

  • en_core_web_sm

  • de_core_news_sm

  • en_core_web_lg

  • fr_core_news_lg

To install these modules, run the following commands:

> python -m spacy download en_core_web_sm

> python -m spacy download de_core_news_sm

> python -m spacy download en_core_web_lg

> python -m spacy download fr_core_news_lg

For more SpaCy language models installation guidelines, please refer to SpaCy Models & Languages.


Step 6: Download NLP-training Labs Resources

  1. Go to the resources folder located at Google Drive. Google Drive Resources Folder

  2. Download the whole folder as zip and save it into your local drive (make sure you know the file location). Download resources

  3. Use WinRAR or any other tools to unzip the resources.zip to your nlp-traininglabs root folder.

  4. After finish the all the steps, your root folder should looks similar to this: Root Folder

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published