songyouwei / ABSA-PyTorch

Aspect Based Sentiment Analysis, PyTorch Implementations. 基于方面的情感分析,使用PyTorch实现。
MIT License
2.02k stars 526 forks source link

Prediction example for bert models. #89

Closed rmarcacini closed 5 years ago

rmarcacini commented 5 years ago

The 'infer_example.py' does not work for bert models because different preparation of input data (tokenization) is required. Here, I wrote a prediction example for bert models and tested for bert_spc.

songyouwei commented 5 years ago

resolve #55

songyouwei commented 4 years ago

@all-contributors please add @rmarcacini for code

allcontributors[bot] commented 4 years ago

@songyouwei

I've put up a pull request to add @rmarcacini! :tada: