github tobiaswuerth/sift v0.4.0

latest releases: v2.3.0, v2.2.1, v2.2.0...
one month ago

Added

  • PDF, Word, PowerPoint and Excel files, OpenDocument text, presentations and spreadsheets, RTF, EPUB and HTML,
    converted to Markdown by Xberg, a new dependency. Their properties (title,
    authors, dates, ...) become metadata. Damaged files and scans without text are skipped and reported.
  • Each kind of file has a reader, chosen by extension, so a new format needs only a new reader.

Changed

  • The default reranker is cross-encoder/ettin-reranker-150m-v1 (Apache-2.0), replacing
    Alibaba-NLP/gte-reranker-modernbert-base: the same size and speed, better in Hugging Face's published comparison
    (MTEB English retrieval and NanoBEIR, reranking six embedders' results, EmbeddingGemma's among them), and it
    improves on the first-stage ranking of the scientific sets SciFact, NFCorpus and SCIDOCS. It downloads on first
    use; nothing needs re-indexing or re-embedding. SIFT_RERANK_MODEL=Alibaba-NLP/gte-reranker-modernbert-base keeps the old one.

Fixed

  • A chunk's line range no longer includes the blank lines around its text, such as the one after front matter.
    Chunks already indexed keep their line numbers until their file changes.

Don't miss a new sift release

NewReleases is sending notifications on new releases.