Skip to content

question about Pretrained LLAMA applicable to Llama_adapter model. thanks #134

Open

Description

@jzssz
  1. I noticed that the pretrained llama model in the code is in .pth format. So if I have a pretrained llama model in .bin format, can I use it as a Llama base model to train llama-adapter v2 (put it in "--llama_path") ?

  2. If I have a llama (7B) pre-trained with LORA (get a light-weight model like"adapter_model.bin"), can I use it as a Llama base model to train llama-adapter v2 (put it in "--llama_path") ?

thanks a lot

Activity

  1. changed the title [-]question about pretrained llama(with LORA),thanks[/-] [+]question about pretrained llama,thanks[/+] on Nov 24, 2023
  2. changed the title [-]question about pretrained llama,thanks[/-] [+]question about Pretrained LLAMA applicable to Llama_adapter model. thanks[/+] on Nov 24, 2023
  3. csuhan commented on Nov 30, 2023

    @csuhan
    Collaborator

    I guess your checkpoint is transformers-based, while our code only support the original llama format (https://github.com/facebookresearch/llama). So you need to download the original llama weights instead of transformers format.

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