Skip to content

Commit

Permalink
Update qdrant-landing/content/articles/cross-encoder-integration-gsoc.md
Browse files Browse the repository at this point in the history
Co-authored-by: George <[email protected]>
  • Loading branch information
sabrinaaquino and joein authored Oct 14, 2024
1 parent b512a97 commit 7b7cff6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Below is a diagram that represents the overall workflow for this project, detail

### 1. Building a New Input-Output Scheme

FastEmbed already had support for embeddings, but re-ranking with cross-encoders meant building a completely new family of classes. These models accept a query and a set of documents, then return a list of relevance scores. For that, I created the base classes like TextCrossEncoderBase and OnnxCrossEncoder, taking inspiration from existing text embedding models.
FastEmbed already had support for embeddings, but re-ranking with cross-encoders meant building a completely new family of classes. These models accept a query and a set of documents, then return a list of relevance scores. For that, I created the base classes like `TextCrossEncoderBase` and `OnnxCrossEncoder`, taking inspiration from existing text embedding models.

One thing I had to ensure was that the new class hierarchy was user-friendly. Users should be able to work with cross-encoders without needing to know the complexities of the underlying models. For instance, they should be able to just write:

Expand Down

0 comments on commit 7b7cff6

Please sign in to comment.