Skip to content

加载模型警告: Some weights of the model checkpoint at /model_path were not used when initializing Glm4MoeForCausalLM #106

@Minami-su

Description

@Minami-su

你用原始模型加载也一样有这个报错的

给transformers/GLM4.5提个issue吧

from transformers import AutoModelForCausalLM

from modelscope import snapshot_download

model_dir = snapshot_download('ZhipuAI/GLM-4.5-Air')
model = AutoModelForCausalLM.from_pretrained(model_dir)
Image

Originally posted by @Jintao-Huang in #6447

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions