Closed wangq326 closed 2 weeks ago
Can you post what errors you have encountered during the loading?
import os
os.environ["CUDA_VISIBLE_DEVICES"] = "0"
import llm_blender
blender = llm_blender.Blender()
# Load Ranker
blender.loadranker("llm-blender/PairRM") # load ranker checkpoint
For me, the above code, and the codes in the readme works fine for me. It will be good if you can provide more error information so I can help you solve it.
About the local files, of course it's possible. simply replace the model_name to your local checkpoint path.
Hello, your work is exceptional, and I am very interested in it. However, I am unable to load models from Hugging Face. Is it possible for me to download the checkpoints you have released and load them from local files?
Looking forward to your reply. Best regards!