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
Describe the bug/ 问题描述 (Mandatory / 必填)
A clear and concise description of what the bug is.
Hardware Environment(Ascend/GPU/CPU) / 硬件环境:
Please delete the backend not involved / 请删除不涉及的后端:
/device ascend/GPU/CPU/kirin/等其他芯片 ascend
Software Environment / 软件环境 (Mandatory / 必填):
-- MindSpore version (e.g., 1.7.0.Bxxx) : 2.3.1
-- Python version (e.g., Python 3.7.5) : 3.9
-- OS platform and distribution (e.g., Linux Ubuntu 16.04):
-- GCC/Compiler version (if compiled from source):
Expected behavior / 预期结果 (Mandatory / 必填)
A clear and concise description of what you expected to happen.
Screenshots/ 日志 / 截图 (Mandatory / 必填)
If applicable, add screenshots to help explain your problem.
在mindnlp >mindnlp >transformers > models > auto > configuration_auto.py>CONFIG_MAPPING_NAMES 增加了("mobilebert", "MobileBertConfig")配置之后报
在如下文件中修改后
达到替换 AutoTokenizer直接使用MobileBertTokenizer加载google/mobilebert-uncased相同的报错 Additional context / 备注 (Optional / 选填)
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug/ 问题描述 (Mandatory / 必填)
A clear and concise description of what the bug is.
Ascend
/GPU
/CPU
) / 硬件环境:Software Environment / 软件环境 (Mandatory / 必填):
-- MindSpore version (e.g., 1.7.0.Bxxx) : 2.3.1
-- Python version (e.g., Python 3.7.5) : 3.9
-- OS platform and distribution (e.g., Linux Ubuntu 16.04):
-- GCC/Compiler version (if compiled from source):
Excute Mode / 执行模式 (Mandatory / 必填)(
PyNative
/Graph
):To Reproduce / 重现步骤 (Mandatory / 必填)
使用mindnlp/benchmark/GLUE-QNLI/model_QNLI.py加载google/mobilebert-uncased模型报错
tokenizer = AutoTokenizer.from_pretrained("google/mobilebert-uncased") model=AutoModelForSequenceClassification.from_pretrained("gokuls/mobilebert_sa_GLUE_Experiment_qnli_128", num_labels=2)
Expected behavior / 预期结果 (Mandatory / 必填)
A clear and concise description of what you expected to happen.
Screenshots/ 日志 / 截图 (Mandatory / 必填)



If applicable, add screenshots to help explain your problem.
在mindnlp >mindnlp >transformers > models > auto > configuration_auto.py>CONFIG_MAPPING_NAMES 增加了("mobilebert", "MobileBertConfig")配置之后报
在如下文件中修改后
达到替换 AutoTokenizer直接使用MobileBertTokenizer加载google/mobilebert-uncased相同的报错
Additional context / 备注 (Optional / 选填)
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: