微调后加载模型和checkpoint 出现如下提示: Some weights of ChatGLMForConditionalGeneration were not initialized from the model checkpoint at D:\glm\chatglm_webui\chatglm-6b and are newly initialized: ['transformer.prefix_encoder.embedding.weight'] You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. 这是一个警告信息,表明ChatGLMForConditionalGeneration模型中的某些权重没有从提供的检查点初始化,而是被随机初始化。它建议在该模型用于预测或推理之前,应该对其进行下游任务的训练。
Environment- OS:win11
- Python:
- Transformers:
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :