Closed xf05888 closed 4 years ago
@mxnet-label-bot add [bug]
Ah, sorry about that. I made a last minute change and missed it. Can you try
model, vocab = nlp.model.get_model('roberta_12_768_12', dataset_name='openwebtext_ccnews_stories_books_cased', use_decoder=False);
instead? The use_decoder
flag loads the weight for mask language model decoder and expected mask indices. I'll update the doc also
@eric-haibin-lin Thanks, the problem is solved :smile:
Description
I want to import RoBERTa in GluonNLP
Error message for the last command
Command I ran from http://gluon-nlp.mxnet.io/model_zoo/bert/index.html