Skip to content

MaseratiD/Sentiment_Analysis

Repository files navigation

Sentiment_Analysis

中文文本情感分析,可使用多种模型

使用bert模型进行训练测试,执行命令如下

python main.py --model bert

基于训练好的bert模型预测新数据,执行命令如下

python predict.py --model bert --predict "your sentence"

使用ERNIE模型进行训练测试,执行命令如下

python main.py --model ERNIE

基于训练好的ERNIE模型预测新数据,执行命令如下

python predict.py --model ERNIE --predict "your sentence"

About

基于bert的文本情感分析

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages