pytorch로 네이버 영화평 (nsmc data)를 감성분류 하는 법을 알아봅니다. 전체 코드는 아래의 주소에서 보시면 더 편하게 보실 수 있습니다.
(star 많이 눌러주세요~) HyejinWon/pytorch-nsmc-classification pytorch sentiment classification example used NSMC data - HyejinWon/pytorch-nsmc-classification github.com Dependency - pytorch - torchtext (0.9.0) - pandas - konlpy - sklearn 모델 layer는 lstm만 사용했지만, gru나 rnn으로 변경해도 큰 무리없이 작동 될거에요. import torch import torch.nn as nn import torch.optim as optim import pandas as pd from sklearn.model_selection import train_test...
#
classification
#
네이버영화평
#
감성분류
#
sentiment
#
RNN
#
pytorch
#
nsmc
#
LSTM
#
konpy
#
파이토치