Skip to content

Releases: AnswerDotAI/rerankers

0.5.2post1

19 Aug 10:13
Compare
Choose a tag to compare

ColBERT bug fixes & better support for answerdotai/answerai-colbert-small-v1

0.5.1

16 Aug 10:51
Compare
Choose a tag to compare

Minor Changes

  • RankedResults is now subscribable

0.5.0

16 Aug 10:43
Compare
Choose a tag to compare

Changes

  • Added support for the current state-of-the-art rerankers, BAAI's series of BGE layerwise LLM rerankers, based on Gemma and MiniCPM. These are different from RankGPT, as they're not listwise: the models are repurposed as "cross-encoders", and do output logit scores.

0.4.0

30 Jul 11:34
dd61524
Compare
Choose a tag to compare

Release bundling up both the 0.3.1 minor release and the 0.4.0 release.

Changes

  • ColBERT performance improvement! It should now be faster and result in stronger results following implementation of the JaColBERTv2.5 dynamic query length method.
  • HuggingFace's Text-Embedding-Server (TEI) inference introduced as an API reranker option, thanks to @srisudarsan
  • T5 bugfix for certain models, where the labels were incorrectly set. Thanks to @marcospiau
  • Native default support for new Portuguese T5 rerankers introduced by @marcospiau

0.3.0

17 May 14:17
Compare
Choose a tag to compare

0.3.0 is here! It brings a lot of oft-requested features:

  • A new transparent Document has been added. You may construct Documents yourself, or keep using the library exactly as-is. This object now allows for metadata support! You can pass a list of metadata (or add them to your Document objects) to rank() calls, and get the metadata back. Thanks to @Anmol6 for starting the work on this!
  • RankLLM is now supported 🥳 RankZephyr and RankVicuna are implemented, but untested at the moment, while RankLLM + GPT models are fully supported. In version 0.5.0, this will become the default way of using GPT models for reranking purposes.
  • Some QoL improvements, the most notable of which is that it is now possible to iterate directly on RankedResults objects rather than having to use the wordy for result in results.results.

0.2.0

12 Apr 15:37
Compare
Choose a tag to compare
  • Introduce FlashRank support as suggested in #8
  • Basic async methods by @tarunamasa #6
  • Support the newly introduced MixedBread ranking API

0.1.1

19 Mar 21:02
Compare
Choose a tag to compare

Fixes issues with the langchain integration.

0.0.1post1

15 Mar 11:02
Compare
Choose a tag to compare

Initial release of rerankers, with the post1 minor dependency fix! (removing colbert-ai from [all] installs)

Features:

  • Unified RankedResults and Result output format for all reranker types
  • T5-based Seq2Seq pointwise rerankers (both MonoT5 and Inranker families)
  • All sentencetransformers-friendly cross-encoders
  • RankGPT
  • ColBERT
  • API-based rankers (Cohere, Jina)