How to use webis/monoelectra-large with Lightning IR:
#install from https://github.com/webis-de/lightning-ir from lightning_ir import CrossEncoderModule model = CrossEncoderModule("webis/monoelectra-large") model.score("query", ["doc1", "doc2", "doc3"])
It seems this model (and the other one) aren't compatible with the Transformers library. Hence this PR updates the library_name.
library_name
thanks niels!
· Sign up or log in to comment