Skip to content

基于Bert的文本情感分析模型(含semeval14数据集)

Notifications You must be signed in to change notification settings

Riroaki/Sentiment-Bert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment-Bert

Sentiment analysis model based on bert.

Requirements

Python

  • Python@3.6
  • scikit-learn@0.20.3
  • numpy@1.15.4
  • torch@1.1.0
  • pytorch-pretrained-bert@0.6.2

Pretrained model

Please read README.md under bert directory before you run the scripts.

Run

Just run python main.py.

Alter configurations in config.py.

Currently consists BERT SPC and BERT AEN models.

About

基于Bert的文本情感分析模型(含semeval14数据集)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages