Hi,
I uploaded a pretrained model into a web server. When loading a transformer pretrained model via URL as described in this API documentation:

  
      

      huggingface.co
  

  
    

Models 4

  The base classes PreTrainedModel, TFPreTrainedModel, and FlaxPreTrainedModel implement the common methods for loading/saving a model either from a local file...


  

  
    
    
  

  


I still get invalid model telling me that the parameter must be a valid file path or a huggingface model id. How to properly load a pretrained model using a URL from a web server?
Thank you!