Need help with bert_textMatching?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

pengming617
155 Stars 50 Forks 4 Commits 4 Opened issues

Description

利用预训练的中文模型实现基于bert的语义匹配模型 数据集为LCQMC官方数据

Services available

!
?

Need anything else?

Contributors list

# 164,891
Python
Shell
4 commits

利用bert预训练的中文语言模型进行文本匹配

训练脚本 train.sh

批量测试脚本 predict.sh

利用模型进行单条语句测试 intent.py

chineseL-12H-768_A-12为预训练的相关模型和词典

data文件夹中为训练语料,验证语料,测试语料 数据集为LCQMC官方数据

参数说明: maxseqlength sentence的最大长度(字) trainbatchsize batch_size的大小

maxseqlength = 50 evalaccuracy = 0.87207 testaccuracy = 0.86272

maxseqlength = 40 evalaccuracy = 0.88093615 testaccuracy = 0.86256

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.