Skip to content

lora微调后合并模型出错 #1356

@GuoDragon

Description

@GuoDragon

在进行lora微调合并模型时,使用
CUDA_VISIBLE_DEVICES=0 llamafactory-cli export
--model_name_or_path ......../chatglm3-6b
--adapter_name_or_path ....../lora/sft
--template chatglm3
--trust_remote_code
--finetuning_type lora
--export_dir ......../lora/merged_model
--export_size 1
--export_device cpu
--export_legacy_format true
报错ValueError: Dict is not supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions