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_v1
by 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')
?