pytorch / text

Models, data loaders and abstractions for language processing, powered by PyTorch
https://pytorch.org/text
BSD 3-Clause "New" or "Revised" License
3.49k stars 813 forks source link

FLAN_T5_XXL_GENERATION model is inaccessible #2192

Open rohan-mehta opened 1 year ago

rohan-mehta commented 1 year ago

πŸ› Bug

Describe the bug The FLAN T5 XXL model is not downloadable: it throws a 403 error. Likely either needs to be uploaded to the bucket, or just made publicly downloadable.

To Reproduce Steps to reproduce the behavior:

import torch, torchtext
torchtext.models.FLAN_T5_XXL_GENERATION.get_model()

Error:

Downloading: "https://download.pytorch.org/models/text/t5.flan.xxl.generation.pt" to /home/ubuntu/.cache/torch/hub/checkpoints/t5.flan.xxl.generation.pt
...

  File "/home/ubuntu/.conda/envs/max_t5/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

Expected behavior Model should be downloaded and run.

Environment