当我运行代码 vl_gpt: MultiModalityCausalLM = AutoModelForCausalLM.from_pretrained(model_path, trust_remote_code=True) 时会报错 TypeError: Object of type AlignerConfig is not JSON serializable 我的模型文件是huggingface上的1.3B-chat版本
when I run code vl_gpt: MultiModalityCausalLM = AutoModelForCausalLM.from_pretrained(model_path, trust_remote_code=True) it show error like TypeError: Object of type AlignerConfig is not JSON serializable my model is 1.3B-chat version download from huggingface
当我运行代码
vl_gpt: MultiModalityCausalLM = AutoModelForCausalLM.from_pretrained(model_path, trust_remote_code=True)
时会报错TypeError: Object of type AlignerConfig is not JSON serializable
我的模型文件是huggingface上的1.3B-chat版本when I run code
vl_gpt: MultiModalityCausalLM = AutoModelForCausalLM.from_pretrained(model_path, trust_remote_code=True)
it show error likeTypeError: Object of type AlignerConfig is not JSON serializable
my model is 1.3B-chat version download from huggingface