You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to load the layoutlmv2-base-uncased model using PaddleNLP with the following code:
from paddlenlp.transformers import AutoModel
model = AutoModel.from_pretrained("layoutlmv2-base-uncased")
However, I get the following error:
OSError: Can't load the model for 'layoutlmv2-base-uncased'. If you were trying to load it from 'https://paddlenlp.bj.bcebos.com'
But when I access it directly, I receive this response:
{"code":"NoSuchKey","message":"The specified key does not exist.","requestId":"09e81b26-52b8-4863-acc1-925b5bea24c8"}
Could someone please advise on:
Whether this is a known issue,
How to correctly download the model,
Or if there's an alternative URL/resource for the layoutlmv2-base-uncased model?
The text was updated successfully, but these errors were encountered:
请提出你的问题
I'm trying to load the layoutlmv2-base-uncased model using PaddleNLP with the following code:
from paddlenlp.transformers import AutoModel
model = AutoModel.from_pretrained("layoutlmv2-base-uncased")
However, I get the following error:
OSError: Can't load the model for 'layoutlmv2-base-uncased'. If you were trying to load it from 'https://paddlenlp.bj.bcebos.com'
I checked the URL specified in the source code:
https://bj.bcebos.com/paddlenlp/models/transformers/layoutlmv2/layoutlmv2-base-uncased/model_state.pdparams
But when I access it directly, I receive this response:
{"code":"NoSuchKey","message":"The specified key does not exist.","requestId":"09e81b26-52b8-4863-acc1-925b5bea24c8"}
Could someone please advise on:
Whether this is a known issue,
How to correctly download the model,
Or if there's an alternative URL/resource for the layoutlmv2-base-uncased model?
The text was updated successfully, but these errors were encountered: