Thanks! But what happened to cross-encoder organization?

#1
by mike-ravkine - opened

Like the title says - appreciate the mirror so I can use the model again, but what happened here?

Thank you for re-uploading the model, but when i run it, i get this error: AttributeError: 'SentenceTransformer' object has no attribute 'predict' I am using the same code as you provided (shown below)

`from sentence_transformers import SentenceTransformer

model = SentenceTransformer("navteca/ms-marco-MiniLM-L-6-v2")
scores = model.predict([('Query', 'Paragraph1'), ('Query', 'Paragraph2')])

Error:
/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1614, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'SentenceTransformer' object has no attribute 'predict'`

Seems like the original is back now...

Sign up or log in to comment