대신 예의차려주는 너구리
pytorch 0.4.1 && python 3.6
- Download "Nuguri.pem" https://drive.google.com/open?id=1yMMtW_pSSSIkgzYmfHPn8q-OumGGlxCH
- Move folder which has "Nuguri.pem" , if your "Nuguri.pem" file located in Downloads folder,
cd Downloads
- Try ssh connection
ssh -i "Nuguri.pem" [email protected]
- If 1~3 finished, you can access AWS T2 instance.
- Check a-polite-raccoon folder.
- Download Google spread sheet and excute makeNuguriDB.py
python3 makeNuguriDB.py [filename]
- Example
python3 makeNuguriDB.py data/nuguri_dataset.csv
- Check your data folder, then you can find user-nuguri.txt.(need to train)
- Excute train.py
python3 train.py
- Check your model folder, then you can find seq2seq model.pkl (need to test)
- Excute test.py
python3 test.py [input sentence]
- Example
python3 test.py 이런 XX야 XXXX