Skip to content

模型转hf的部分,没有把inv_freq写进pytorch_model.bin.index.json #9

@wzh1994

Description

@wzh1994

https://github.com/OpenLMLab/OpenChineseLLaMA/blob/main/tools/llama_colossalai.py#L1111C6-L1111C6
这里附近,需要加上对inv_freq的映射,否则转出的模型会出现如下错误:
image

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