Error running it with chatpdf
#3
by
protoivan
- opened
How can i solve this?
Make sure to request access at https://huggingface.co/maidalun1020/bce-reranker-base_v1 and pass a token having permission to this repo either by logging in with huggingface-cli login or by passing token=<your_token>.
Yes,
- make sure your access token from https://huggingface.co/settings/tokens, readable or writable token.
- if you can not load model from
maidalun1020/bce-reranker-base_v1by BCEmbedding.RerankerModel ortransformers, you can trygit clone https://huggingface.co/maidalun1020/bce-reranker-base_v1(you need access token), and then load from local path.
load like:
model = RerankerModel(model_name_or_path="maidalun1020/bce-reranker-base_v1", token='hf_LYNjy***t')
?