Closed xtrycatchx closed 4 months ago
If you want to use the Huggingface format of the checkpoint, please download our model in HF format. Note that the model downloaded using https://llama.meta.com/llama-downloads is not in HF format.
Thanks. I confirm the HF models works as expected
So, basically I managed to download the model
Meta-Llama-Guard-2-8B
following the instructions described at https://llama.meta.com/llama-downloadsDo I need to run a script to convert these into a model that I can load directly with Huggingface transformers?
I just blindly tried the snippets from Meta's repo in Huggingface and replacing the
model_id
with the directory containing the above downloaded files and thedevice
configured ascpu
like this below:But I got these errors ( looking for a config.json file, etc.. )