Coder Social home page Coder Social logo

nlp-traininglabs's Introduction

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

nlp-traininglabs's People

Contributors

cheelam0409 avatar seg-talent avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.