Skip to content

shangong/NLP_Deployment

Repository files navigation

NLP Deployment for AI Space

Google Slides

NYP - https://drive.google.com/file/d/1Slcp48-SvsXXxOullTy5axomL-ArCx3F/view?usp=sharing

Installing

  • Install pip first - sudo apt-get install python3-pip
  • Then install virtualenv using pip3 - sudo pip3 install virtualenv
  • Now create a virtual environment - virtualenv <name e.g. .venv>
  • Activate the virtual environment - source venv/bin/activate
  • Install the dependency libraries needed - pip3 -r requirements.txt

Start service

Training

Could use the Jupyter Notebook with worksheets.ipynb.

Flask App

After running worksheets.ipynb and creation if the .pkl file, start Flask with python -m flask run.

Docker - Image

docker pull selenophileish/image
docker run -p 5000:5000 selenophileish/image

Notes

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages