Sentiment analysis model based on bert.
- Python@3.6
- scikit-learn@0.20.3
- numpy@1.15.4
- torch@1.1.0
- pytorch-pretrained-bert@0.6.2
Please read README.md
under bert
directory before you run the scripts.
Just run python main.py
.
Alter configurations in config.py
.
Currently consists BERT SPC
and BERT AEN
models.