@ -9,7 +9,7 @@ from openmind import AutoModel
|
||||
|
||||
model = AutoModel.from_pretrained("PyTorch-NPU/bert_base_cased")
|
||||
|
||||
# 目前MindSpore仅支持Glm2,Llama系列模型,如果使用Mindspore,请替换为支持的模型类型
|
||||
# 如果使用Mindspore,请替换为支持的模型类型
|
||||
```
|
||||
|
||||
将创建一个模型,该模型是BertModel的一个实例。
|
||||
|
Reference in New Issue
Block a user