Hzfinfdu / Diffusion-BERT

ACL'2023: DiffusionBERT: Improving Generative Masked Language Models with Diffusion Models
Apache License 2.0
292 stars 25 forks source link

RuntimeError: Error(s) in loading state_dict for RobertaForMaskedLM: #29

Closed xiang-xiang-zhu closed 11 months ago

xiang-xiang-zhu commented 11 months ago

I encountered this error after the model was trained and ready for testing. I found it to be the same as #17, you mentioned under that issue that certain parameters need to be changed, what exactly should I do?