taishan1994 / pytorch_bert_intent_classification_and_slot_filling

基于pytorch的中文意图识别和槽位填充
139 stars 23 forks source link

modify predict token output bug #9

Closed wuhaitao93 closed 4 months ago

wuhaitao93 commented 5 months ago

considering [CLS] [SEP], len(token) = len(text) + 2