spacemeerkat:

Please note that I am explicitly trying to load the model from it’s repository files rather than use the recommended way of loading these models which is to simply pass the model name e.g. model = CrossEncoder('ms-marco-TinyBERT-L-6'), which triggers an automatic http download of the model I believe.


This sounds as if you are digging into the internal loading used by HuggingFace, so I think you would get a better answer in their discussion board 23.