cail2019_track2
cail2019_track2 copied to clipboard
请问如果想使用roberta的话,有哪些地方的代码需要改呢
如果你用的是Roberta或Roberta wwm系列的,这些模型其实还是Bert结构,可以直接加载。
| | m13021933043 邮箱:[email protected] |
Signature is customized by Netease Mail Master
在2020年08月10日 12:41,lpl22-github 写道:
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
emmmm我用的是roberta-large,本来报的错是
NotFoundError: /home/w301/data/lpl/roberta/bert_config.json; No such file or directory
把模型的文件名改了后是:
NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home/w301/data/lpl/roberta/bert_model.ckpt