You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mindnlp里的示例代码mindnlp/llm/peft/prompt_tuning/roberta_sequence_classification.ipynb报错AttributeError: 'RobertaForSequenceClassification' object has no attribute 'modules_and_names' #1876
Describe the bug/ 问题描述 (Mandatory / 必填)
在华为云使用mindnlp自带的示例代码mindnlp/llm/peft/prompt_tuning/roberta_sequence_classification.ipynb,在没改动代码的前提下,无法跑通,报错:AttributeError: 'RobertaForSequenceClassification' object has no attribute 'modules_and_names'