{
  "id": "sentence-transformers-cross-encoder-table",
  "kind": "table",
  "slug": "sentence-transformers-cross-encoder",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/sentence-transformers-cross-encoder/",
  "title": "Rerank pairs with a Sentence Transformers CrossEncoder",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "CrossEncoder",
      "source": "Sentence Transformers",
      "detail": "Load a pre-trained reranker model"
    },
    {
      "name": "predict",
      "source": "Sentence Transformers",
      "detail": "Predict scores for sentence pairs"
    },
    {
      "name": "rank",
      "source": "Sentence Transformers",
      "detail": "Rank passages for a query"
    },
    {
      "name": "corpus_id",
      "source": "Sentence Transformers",
      "detail": "A score and a corpus_id"
    },
    {
      "name": "activation_fn",
      "source": "Sentence Transformers",
      "detail": "Optional sigmoid for MS Marco logits"
    }
  ],
  "related_slugs": [
    "sentence-transformers-encode",
    "1908-10084-sentence-bert",
    "genai-rag-embeddings-vector-search"
  ],
  "license": "CC-BY-4.0",
  "source_license": "Apache-2.0 (Sentence Transformers); Apache-2.0 (huggingface/sentence-transformers (GitHub)); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}