上传者: 42128015
|
上传时间: 2022-02-28 16:56:21
|
文件大小: 1.7MB
|
文件类型: -
Aspect Based Sentiment Analysis, PyTorch Implementations. 基于方面的情感分析,使用PyTorch实现。
ABSA-PyTorch
Aspect Based Sentiment Analysis, PyTorch Implementations.
基于方面的情感分析,使用PyTorch实现。
Requirement
pytorch >= 0.4.0
numpy >= 1.13.3
sklearn
python 3.6 / 3.7
transformers
To install requirements, run pip install -r requirements.txt.
For non-BERT-based models, GloVe pre-trained word vectors are required, please refer to data_utils.py for more detail.
Usage
Training
python train.py --model_nam