bert pytorch 序列标注_基于BERT的OpenKP序列标注 (Pytorch)

BERT for Keyphrase Extraction (Pytorch)

In this paper, we conduct an empirical study of 5 keyphrase extraction models with 3 BERT variants, and then propose a multi-task model BERT-JointKPE. Experiments on two KPE benchmarks, OpenKP with Bing web pages and KP20K demonstrate JointKPE’s state-of-the-art and robust effectiveness. Our further analyses also show that JointKPE has advantages in predicting long keyphrases and non-entity keyphrases, which were challenging for previous KPE techniques.

Please cite our paper if our experimental results, analysis conclusions or the code are helpful to you ~ :)

@misc{sun2020joint,

title={Joint Keyphrase Chunking and Salience Ranking with BERT},

author={Si Sun and Chenyan Xiong and Zhenghao Liu and Zhiyuan Liu and Jie Bao},

year={2020},

eprint={2004.13639},

archivePrefix={arXiv},

primaryClass={cs.CL}

}

* Model Classes

Index

Model

Descriptions

1

BERT-JointKPE (Bert2Joint)

A multi-task model is trained jointly on the chunking task and the ranking task, balancing the estimation of keyphrase quality and salience.

2

BERT-RankKPE (Bert2Rank)

Learn the salience phrases in the documents using a ranking network.

3

BERT-ChunkKPE (Bert2Chunk)

Classify high quality keyphrases using a chunking network.

4

BERT-TagKPE (Bert2Tag)

We modified the sequence tagging model to generate enough candidate keyphrases for a document.

5

BERT-SpanKPE (Bert2Span)

We modified the span extraction model to extract multiple keyphrases from a document.

* BERT Variants

QUICKSTART

python 3.5

Pytorch 1.3.0

Tensorflow (tested on 1.14.0, only for tensorboardX)

1/ Download

First download and decompress our d

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值