I have been trying to load ‘ms-marco-TinyBERT-L-4’ CrossEncoder in my code as follows:
from sentence_transformers import CrossEncoder
model = CrossEncoder(‘ms-marco-TinyBERT-L-4’)
However I am getting following error:
OSError: Model name ‘ms-marco-TinyBERT-L-4’ was not found in model name list. We assumed ‘https://s3.amazonaws.com/models.huggingface.co/bert/ms-marco-TinyBERT-L-4/config.json’ was a path, a model identifier, or url to a configuration file named config.json or a directory containing such a file but couldn’t find any such file at this path or url.
This was working fine until yesterday. The CrossEncoder was getting loaded properly until yesterday. However now it does not anymore.
Any idea what could be the issue ?