-
Notifications
You must be signed in to change notification settings - Fork 31k
Closed
Labels
Core: PipelineInternals of the library; Pipeline.Internals of the library; Pipeline.Version mismatch
Description
🐛 Bug
Information
This may be an easy question, but it has been bothering me all day.
When I run the code:
nlp = pipeline("question-answering")
It always tells me:
Couldn't reach server at 'https://s3.amazonaws.com/models.huggingface.co/bert/distilbert-base-cased-distilled-squad-modelcard.json' to download model card file.
Creating an empty model card.
If I ignore it and continue to run the rest of the code:
nlp({
'question': 'What is the name of the repository ?',
'context': 'Pipeline have been included in the huggingface/transformers repository'
})
The error will appear:
KeyError: 'token_type_ids'
Metadata
Metadata
Assignees
Labels
Core: PipelineInternals of the library; Pipeline.Internals of the library; Pipeline.Version mismatch