MiniCPM icon indicating copy to clipboard operation
MiniCPM copied to clipboard

[Bad Case]: 添加finetune后的模型转换

Open R0k1e opened this issue 1 year ago • 0 comments

Description / 描述

使用sft_finentune.sh之后生成的ckpt无法直接使用inference处的模型转换,不存在pytorch_model.bin导致无法直接加载,不存在tokenizer.model导致无法直接复制。同时根据 #9 配置的transformers版本无法直接使用AutoModel,需要至少将transformers版本升级为4.36。

Case Explaination / 案例解释

No response

R0k1e avatar Mar 26 '24 08:03 R0k1e