Skip to content

stanleylsx/bert_nlu_joint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bert-NLU-Joint

一个使用tensorflow2.3开发的基于Bert的意图识别的自然语言理解任务Demo,基于torch的可以看我的另外一个项目nlu_torch,除了使用了torch这个区别以外,还使用了指针网络抽取的方法替换了这个项目使用CRF的方法,更加优雅。

环境

  • python 3.6.7
  • transformers==3.2.0
  • tensorflow==2.3.0
  • tensorflow-addons==0.11.2
  • transformers==3.2.0
  • sklearn==0.0

其他环境见requirements.txt

数据集

SMP2019比赛数据集

  • json格式

data

原理

model

训练

在system.config中配置好参数然后运行main.py文件

  • 训练中的结果

results

参考

About

一个使用tensorflow2.3开发的基于Bert的意图识别的自然语言理解任务Demo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages