Posted on:

05 Mar 2025

0

Model import error using transformer package

I am getting the below error when loading the model:-

OSError: There was a specific connection error when trying to load bert-large-uncased-whole-word-masking-finetuned-squad:
401 Client Error: Unauthorized for url: https://huggingface.co/bert-large-uncased-whole-word-masking-finetuned-squad/resolve/main/config.json (Request ID: Root=1-67c834b6-31916a664a49712a1c4545d0;7c859976-ca81-4528-97fa-c772a207c0c6)

Invalid credentials in Authorization header
0 answers ( 0 marked as helpful)

Submit an answer