Skip to content

haileypark-kr/a-polite-raccoon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

a-polite-raccoon

대신 예의차려주는 너구리


Deep-Learning

pytorch 0.4.1 && python 3.6

1. Environment Setup Guide ( AWS T2 instance )

  1. Download "Nuguri.pem" https://drive.google.com/open?id=1yMMtW_pSSSIkgzYmfHPn8q-OumGGlxCH
  2. Move folder which has "Nuguri.pem" , if your "Nuguri.pem" file located in Downloads folder,
 cd Downloads 
  1. Try ssh connection
 ssh -i "Nuguri.pem" [email protected] 
  1. If 1~3 finished, you can access AWS T2 instance.
  2. Check a-polite-raccoon folder.

2. Making Data-base ( Use Google's Spread-Sheet )

  1. Download Google spread sheet and excute makeNuguriDB.py
 python3 makeNuguriDB.py [filename] 
  1. Example
 python3 makeNuguriDB.py data/nuguri_dataset.csv 
  1. Check your data folder, then you can find user-nuguri.txt.(need to train)

3. Training

  1. Excute train.py
 python3 train.py 
  1. Check your model folder, then you can find seq2seq model.pkl (need to test)

4. Test

  1. Excute test.py
 python3 test.py [input sentence]
  1. Example
 python3 test.py 이런 XX야 XXXX 

About

대신 예의차려주는 너구리

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.2%
  • CSS 7.8%
  • HTML 6.3%
  • JavaScript 2.7%