How to use webis/set-encoder-large with Lightning IR:
#install from https://github.com/webis-de/lightning-ir from lightning_ir import CrossEncoderModule model = CrossEncoderModule("webis/set-encoder-large") model.score("query", ["doc1", "doc2", "doc3"])
As this model doesn't appear to be compatible with Transformers, this PR updates the library name.
Thank you Niels!
· Sign up or log in to comment