songyingxin / Bert-TextClassification

Implemention some Baseline Model upon Bert for Text Classification
Other
677 stars 148 forks source link

'bert-vocab-file'is not defined #23

Open duxiao01 opened 3 years ago

duxiao01 commented 3 years ago

我在复现代码的时候,总是报错'bert-vocab-file'is not defined ,想请教一下,该怎么解决

songyingxin commented 3 years ago

你这不贴代码我咋知道咋解决阿,兄弟

duxiao01 commented 3 years ago

哇,大佬您终于回复我了,我调试成功了,我在您BertRCNN的基础上,在池化层前加了attention,然后又尝试在池化层后加了attention,结果是94.656%反而降低了,不知道为啥。链接:https://pan.baidu.com/s/1fqPecE3ZG6WI_7RrsUMuPg  提取码:seda  我的代码在这里,有时间的话麻烦您帮我看一下该怎么调试一下,感谢您!万分感谢!可以加您的微信吗,我的是13001118355. 还想知道,我想尝试着把最大池化改成K-max-pooling,但是一直有错误,想知道如果想改成K-max-pooling,需要怎么在BertRCNN上做改动呢。

------------------ 原始邮件 ------------------ 发件人: "songyingxin/Bert-TextClassification" @.>; 发送时间: 2021年4月14日(星期三) 下午5:39 @.>; @.**@.>; 主题: Re: [songyingxin/Bert-TextClassification] 'bert-vocab-file'is not defined (#23)

你这不贴代码我咋知道咋解决阿,兄弟

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.