text: 
  
  TITLE
  Can't load weights for
  
  COMMENTS
  0
  
  REACTIONS
  +1: 0
  -1: 0
  laugh: 0
  hooray: 0
  heart: 0
  rocket: 0
  eyes: 0
  
  BODY
  # 🌟 New model addition
  
  **Getting the following error after training a question answering problem using ALBERT.**
  
  404 Client Error: Not Found for url: https://huggingface.co/saburbutt/albert_xxlarge_tweetqa_v2/resolve/main/tf_model.h5
  ---------------------------------------------------------------------------
  RuntimeError                              Traceback (most recent call last)
  /usr/local/lib/python3.6/dist-packages/transformers/modeling_utils.py in from_pretrained(cls, pretrained_model_name_or_path, *model_args, **kwargs)
      950             try:
  --> 951                 state_dict = torch.load(resolved_archive_file, map_location="cpu")
      952             except Exception:
  
  13 frames
  RuntimeError: [enforce fail at inline_container.cc:145] . PytorchStreamReader failed reading zip archive: failed finding central directory
  
  During handling of the above exception, another exception occurred:
  
  OSError                                   Traceback (most recent call last)
  OSError: Unable to load weights from pytorch checkpoint file for 'saburbutt/albert_xxlarge_tweetqa_v2' at '/root/.cache/torch/transformers/280e3f03092e3b52d227bc27519ff98aff017abcc160fc5138df7ce1bddcff1e.b5346cd8c01b1d2591b342ede0146ce26b68ad0a84ff87e5dc8f9d5a03a79910'If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True. 
  
  During handling of the above exception, another exception occurred:
  
  HTTPError                                 Traceback (most recent call last)
  HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/saburbutt/albert_xxlarge_tweetqa_v2/resolve/main/tf_model.h5
  
  During handling of the above exception, another exception occurred:
  
  OSError                                   Traceback (most recent call last)
  /usr/local/lib/python3.6/dist-packages/transformers/modeling_tf_utils.py in from_pretrained(cls, pretrained_model_name_or_path, *model_args, **kwargs)
      683                     f"- or '{pretrained_model_name_or_path}' is the correct path to a directory containing a file named one of {TF2_WEIGHTS_NAME}, {WEIGHTS_NAME}.\n\n"
      684                 )
  --> 685                 raise EnvironmentError(msg)
      686             if resolved_archive_file == archive_file:
      687                 logger.info("loading weights file {}".format(archive_file))
  
  OSError: Can't load weights for 'saburbutt/albert_xxlarge_tweetqa_v2'. Make sure that:
  
  - 'saburbutt/albert_xxlarge_tweetqa_v2' is a correct model identifier listed on 'https://huggingface.co/models'
  
  - or 'saburbutt/albert_xxlarge_tweetqa_v2' is the correct path to a directory containing a file named one of tf_model.h5, pytorch_model.bin.
  
  It was working for all the previous models I have tried.
  
  