liuwei1206 / LEBERT

Code for the ACL2021 paper "Lexicon Enhanced Chinese Sequence Labelling Using BERT Adapter"
336 stars 60 forks source link

ontonote4 的labels.txt #27

Closed founting closed 3 years ago

founting commented 3 years ago

你好,我想跑一下你提供的在ontonote4上训练好的模型,但不知道labels的id,可否提供一下labels.txt 文件?

liuwei1206 commented 3 years ago

Hi,

You can recall the function "get_all_labels_from_corpus", which is in function/preprocess.py, on your corpus. Then you will get the labels.txt file.