Skip to content

一个基于bert系模型的情感分类器(金融类新闻)

Notifications You must be signed in to change notification settings

yuand23/sentiment_cls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment classifier for financial news based on bert series pre-trained models

Training data

The training data is from https://xueqiu.com and is in Chinese language. 正样本(pos):6873条,负样本(neg):3591条;

一些测试实验

模型结构为:原始预训练语言模型后接两层dense;

  • 使用albert_chinese_small,参数全调,epoch=10, lr=0.001, 准确率97%;
  • 使用albert_chinese_small,只调节原始模型的后面的一层dense层与后接的两层dense,epoch=30, lr=0.004, 准确率92%;

About

一个基于bert系模型的情感分类器(金融类新闻)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages