亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

A Text Classification Model Based on BERT and Attention

计算机科学 人工智能 自然语言处理
作者
Binglin Zhu,Pan Wei
标识
DOI:10.1109/cait59945.2023.10469363
摘要

Text classification, as an important task in the field of natural language processing, aims to classify text data into specified categories in order to mine valuable information from the huge amount of text data. To address the problems that the current deep neural network-based text classification methods have inadequate feature extraction, poor semantic representation, and sensitivity to sentence length, this paper proposes a text classification model based on BERT and attention mechanism. The model is based on BERT, which automatically learns the feature vector representation of text data, and then further fits the semantic features by a neural network with residual connections. Finally, the attention mechanism is used to learn the importance of different features adaptively and weight the representation to improve the performance of text classification. It is shown through experiments that the model can effectively mine the deep feature information of the text and can adapt well to the problem of sentence length differences and uneven sample distribution. The accuracy and F1-score s on the publicly available SST-2 dataset reach 92.66% and 92.92%, respectively, with excellent classification results.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
13秒前
13秒前
清新的雨文完成签到,获得积分10
17秒前
20秒前
cc发布了新的文献求助150
23秒前
chenying完成签到 ,获得积分0
32秒前
39秒前
天真的音完成签到,获得积分10
40秒前
梦明完成签到 ,获得积分10
42秒前
淡然雅彤完成签到,获得积分10
43秒前
51秒前
1分钟前
1分钟前
哈哈完成签到,获得积分10
1分钟前
zhujh完成签到,获得积分10
1分钟前
彩色口红完成签到,获得积分10
1分钟前
刻苦绿蕊完成签到,获得积分10
1分钟前
1分钟前
null的应助被科研通管家采纳,获得10
2分钟前
2分钟前
沉静的愫完成签到,获得积分10
2分钟前
坚定的白云完成签到,获得积分10
2分钟前
2分钟前
大方定帮完成签到,获得积分10
3分钟前
俭朴映寒完成签到,获得积分10
3分钟前
3分钟前
3分钟前
3分钟前
3分钟前
渡人舟发布了新的文献求助30
3分钟前
3分钟前
激情的汲完成签到,获得积分10
3分钟前
4分钟前
4分钟前
朴实水云完成签到,获得积分10
4分钟前
4分钟前
null的应助被科研通管家采纳,获得10
4分钟前
4分钟前
4分钟前
4分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Research Methodology: Best Practices for Rigorous, Credible, and Impactful Research 1000
自動車の空力技術 800
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7782695
求助须知:如何正确求助?哪些是违规求助? 9322185
关于积分的说明 20387338
捐赠科研通 7371155
什么是DOI,文献DOI怎么找? 3320443
关于科研通互助平台的介绍 2468361
邀请新用户注册赠送积分活动 2336533