920232796 / bert_seq2seq

pytorch实现 Bert 做seq2seq任务,使用unilm方案,现在也可以做自动摘要,文本分类,情感分析,NER,词性标注等任务,支持t5模型,支持GPT2进行文章续写。
Apache License 2.0
1.28k stars 208 forks source link

关于分词示例roberta_participle_CRF_train.py #71

Open Turskey opened 10 months ago

Turskey commented 10 months ago

请问一下作者,roberta_participle_CRF_train.py里面的target = [0, 1, 2, 3]是什么意思呀,是roberta模型里面有这个标签吗