from llama_index.core.postprocessor import SentenceTransformerRerank rerank = SentenceTransformerRerank( model="cross-encoder/ms-marco-MiniLM-L-2-v2", top_n=3 )
pip install torch sentence-transformers
')from sentence_transformers import CrossEncoder
from sentence_transformers import CrossEncoder
ImportError: libcufft.so.11: failed to map segment from shared object