thuiar / TEXTOIR

TEXTOIR is the first opensource toolkit for text open intent recognition. (ACL 2021)
https://github.com/thuiar/TEXTOIR
MIT License
185 stars 30 forks source link

intent_discovery的运行问题 #42

Closed leachee99 closed 1 year ago

leachee99 commented 1 year ago

你好,抱歉打扰,我想询问一下open_intent_discovery部分是否能运行,我在运行的时候出现AttributeError: 'NoneType' object has no attribute 'tokenize'的问题, 发现在读取bert时有使用一个参数args.bert_model,但arg中并没有,在我添加了此参数后依旧无法正常运行,想请教一下~

谢谢~

leachee99 commented 1 year ago

更新: 将代码中的BertTokenizer.from_pretrained路径更改后成功运行