def get_finetuned_model(
        self, model_name: str, top_n: int = 3
    ) -> SentenceTransformerRerank:
        """Gets fine-tuned Cross-Encoder model as re-ranker."""
Gets fine-tuned Cross-Encoder model as re-ranker.
llama-index-finetuning/llama_index/finetuning/types.py