Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Summarization pipeline - Couldn't reach server at 'https://s3.amazonaws.com/models.huggingface.co/bert/facebook/bart-large-cnn/modelcard.json' #3639

Closed
3 tasks
metahgva opened this issue Apr 5, 2020 · 4 comments
Assignees

Comments

@metahgva
Copy link

metahgva commented Apr 5, 2020

🐛 Bug

Information

Loading the summarization pipeline will result in below assertion:

Couldn't reach server at 'https://s3.amazonaws.com/models.huggingface.co/bert/facebook/bart-large-cnn/modelcard.json' to download model card file.
Creating an empty model card.

The problem arises when using:

  • [V] the official example scripts: (give details below)
  • my own modified scripts: (give details below)

The tasks I am working on is:

  • an official GLUE/SQUaD task: (give the name)
  • my own task or dataset: (give details below)

To reproduce

Steps to reproduce the behavior:
!pip install -q transformers --upgrade from transformers import pipeline summarizer = pipeline(task="summarization")

  1. Execute above code

Expected behavior

Environment info

  • transformers version:
  • Platform:
  • Python version:
  • PyTorch version (GPU?):
  • Tensorflow version (GPU?):
  • Using GPU in script?:
  • Using distributed or parallel set-up in script?:
@julien-c julien-c self-assigned this Apr 6, 2020
@alessandrobessi
Copy link

alessandrobessi commented Apr 9, 2020

@julien-c This is issue has been closed, but I continue to get the same exact error. Can you reopen it? Or do I have to open a new issue?

@julien-c
Copy link
Member

julien-c commented Apr 9, 2020

Did you update from master.

Can you paste the output of transformers-cli env

@alessandrobessi
Copy link

I just upgraded to the latest version:

- `transformers` version: 2.8.0
- Platform: Linux-5.3.0-46-generic-x86_64-with-Ubuntu-19.10-eoan
- Python version: 3.7.5
- PyTorch version (GPU?): 1.1.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No

@julien-c
Copy link
Member

julien-c commented Apr 9, 2020

The fix is not in a released version yet so you need to install from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants