├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── dataset ├── normalized │ ├── restaurants_test.csv │ └── restaurants_train.csv └── prepared │ ├── restaurants_test.csv │ └── restaurants_train.csv ├── install.sh ├── requirements.txt └── src ├── absa.py ├── abte.py ├── imgs ├── adapter_architecture.png ├── ate.png ├── f1absa.png └── fine_tuning.png ├── main.ipynb ├── results_ABSA ├── CMatrix_test.pdf ├── CMatrix_test.png ├── adapter_negative_wordcloud.pdf ├── adapter_positive_wordcloud.pdf └── loss_lr0.00001_epochs5_batch8.pdf ├── results_ABTE ├── adapter_extracted_terms_wordcloud.pdf ├── adapter_extracted_terms_wordcloud.png ├── log_loss_lr0.00003_epochs5_batch8.pdf ├── loss_lr0.00001_epochs5_batch8.pdf └── loss_lr0.00003_epochs5_batch8.pdf ├── train_ABSA.py ├── train_ABTE.py └── utils.py /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/README.md -------------------------------------------------------------------------------- /dataset/normalized/restaurants_test.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/dataset/normalized/restaurants_test.csv -------------------------------------------------------------------------------- /dataset/normalized/restaurants_train.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/dataset/normalized/restaurants_train.csv -------------------------------------------------------------------------------- /dataset/prepared/restaurants_test.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/dataset/prepared/restaurants_test.csv -------------------------------------------------------------------------------- /dataset/prepared/restaurants_train.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/dataset/prepared/restaurants_train.csv -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/install.sh -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/absa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/absa.py -------------------------------------------------------------------------------- /src/abte.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/abte.py -------------------------------------------------------------------------------- /src/imgs/adapter_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/imgs/adapter_architecture.png -------------------------------------------------------------------------------- /src/imgs/ate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/imgs/ate.png -------------------------------------------------------------------------------- /src/imgs/f1absa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/imgs/f1absa.png -------------------------------------------------------------------------------- /src/imgs/fine_tuning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/imgs/fine_tuning.png -------------------------------------------------------------------------------- /src/main.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/main.ipynb -------------------------------------------------------------------------------- /src/results_ABSA/CMatrix_test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/results_ABSA/CMatrix_test.pdf -------------------------------------------------------------------------------- /src/results_ABSA/CMatrix_test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/results_ABSA/CMatrix_test.png -------------------------------------------------------------------------------- /src/results_ABSA/adapter_negative_wordcloud.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/results_ABSA/adapter_negative_wordcloud.pdf -------------------------------------------------------------------------------- /src/results_ABSA/adapter_positive_wordcloud.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/results_ABSA/adapter_positive_wordcloud.pdf -------------------------------------------------------------------------------- /src/results_ABSA/loss_lr0.00001_epochs5_batch8.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/results_ABSA/loss_lr0.00001_epochs5_batch8.pdf -------------------------------------------------------------------------------- /src/results_ABTE/adapter_extracted_terms_wordcloud.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/results_ABTE/adapter_extracted_terms_wordcloud.pdf -------------------------------------------------------------------------------- /src/results_ABTE/adapter_extracted_terms_wordcloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/results_ABTE/adapter_extracted_terms_wordcloud.png -------------------------------------------------------------------------------- /src/results_ABTE/log_loss_lr0.00003_epochs5_batch8.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/results_ABTE/log_loss_lr0.00003_epochs5_batch8.pdf -------------------------------------------------------------------------------- /src/results_ABTE/loss_lr0.00001_epochs5_batch8.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/results_ABTE/loss_lr0.00001_epochs5_batch8.pdf -------------------------------------------------------------------------------- /src/results_ABTE/loss_lr0.00003_epochs5_batch8.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/results_ABTE/loss_lr0.00003_epochs5_batch8.pdf -------------------------------------------------------------------------------- /src/train_ABSA.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/train_ABSA.py -------------------------------------------------------------------------------- /src/train_ABTE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/train_ABTE.py -------------------------------------------------------------------------------- /src/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicolezattarin/BERT-Aspect-Based-Sentiment-Analysis/HEAD/src/utils.py --------------------------------------------------------------------------------