cail2019_track2 icon indicating copy to clipboard operation
cail2019_track2 copied to clipboard

请问如果想使用roberta的话,有哪些地方的代码需要改呢

Open lpl22-github opened this issue 4 years ago • 2 comments

lpl22-github avatar Aug 10 '20 04:08 lpl22-github

如果你用的是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.

HuiResearch avatar Aug 11 '20 03:08 HuiResearch

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

lpl22-github avatar Aug 11 '20 05:08 lpl22-github