File is not found due to extension
Hi, 

In the configuration where the internet is not available the system searches the cache directory. However url_to_filename(url, etag) returns filename with extension in Windows. Thus this line is not able to find the file locations. One remedy could be  using filename.split('.')[0] instead of filename
      

https://github.com/huggingface/transformers/blob/466aa57a45bfb9fc47d4b75d22c02c34b4b4b0fc/src/transformers/file_utils.py#L404
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
