Skip to content

How to convert the weights of pyllama 7B into lit-llama? #26

Description

@mmdrahmani

Hi. Thanks for the great work.
You provided this instruction below:
For using the LLaMa model weight, follow [pyllama](https://github.com/juncongmoo/pyllama) to download the original LLaMA model, and then follow [Lit-LLaMA](https://github.com/Lightning-AI/lit-llama) to convert the weights to the Lit-LLaMA format. After this process, please move the lit-llama/ directory under the checkpoints/ directory.
However, when I check the Lit-LLaMA repository, I cannot find any explanation for how to convert the weights of pyllama 7B (consolidated.00.pth) into lit-llama format. Could you share the link/instructions?
Thank you
Mohammad

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions