How to use safetensors?

#3
by prathi1729 - opened

Hey I have downloaded.safetensors and .json files. Now I want a python code to load this . safetensors file and run pixtral model. Can anyone say how to load . safetensors in python? I want to give a prompt to this model. I have downloaded these files in local. I want to load these files in python and then use it.

You can use the example code in the model card and just replace the "model_id" with the path to your local folder!

Sign up or log in to comment