Skip to content

Latest commit

 

History

History
79 lines (60 loc) · 1.71 KB

File metadata and controls

79 lines (60 loc) · 1.71 KB

NLPApps

This is a repository for NLP applications with examples. 4장 강의 슬라이드는 PyTorch로 시작하는 딥러닝 입문 CAMP (2017.7~2017.12) 강의자료를 참고하세요!

Dependencies

This is the list of packages that required to run the codes.

  • Anaconda
  • Python 3.7 interpreter
  • Pytorch 1.0.1

Install dependencies

Install Anaconda

  • MacOS, Linux
  wget https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh
  sh Anaconda3-5.2.0-Linux-x86_64.sh

Create a virtual environment

Get to your console or command window and type belows:

 conda create -n NLPApps python=3.7 anaconda
 conda activate NLPApps

Install Pytorch

  • Windows, Linux
 conda install pytorch-cpu torchvision-cpu -c pytorch
  • MacOS
 conda install pytorch torchvision -c pytorch

Install Visdom

  • Windows, Linux
 pip install visdom

Download codes

 git clone https://github.com/jujbob/NLPApps.git

Run Jupyter notebook

 jupyter notebook

Run Visdom for visualizing graphs

 conda activate NLPApps
 python -m visdom.server

How to convert .ipynb to .py

 jupyter nbconvert --to=python [file_name.ipynb]

Contact

If you have any questions or suggestions, please send an email jujbob@gmail.com