Skip to content

unable to find llama-export-lora - has it been renamed? #8594

Answered by compilade
markat1 asked this question in Q&A
Discussion options

You must be logged in to vote

can you give a full example?

You need the base model as well as the LoRA adapter directories.

For example, I'm going to convert https://huggingface.co/grimjim/Llama-3-Instruct-abliteration-LoRA-8B, which uses https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct as a base model.

To make this easier to follow, here are the file listings of the model directories:

$ cd models
$ tree Llama-3-Instruct-abliteration-LoRA-8B/
Llama-3-Instruct-abliteration-LoRA-8B/
├── adapter_config.json
├── adapter_model.safetensors
└── README.md

1 directory, 3 files

$ tree Meta-Llama-3-8B-Instruct/
Meta-Llama-3-8B-Instruct/
├── config.json
├── generation_config.json
├── LICENSE
├── model-00001-of-00004…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@compilade
Comment options

Answer selected by markat1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants