Skip to content

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

Description

@wzh1994

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions