Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rerank 3.5 #267

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Rerank 3.5 #267

wants to merge 9 commits into from

Conversation

trentfowlercohere
Copy link
Contributor

@trentfowlercohere trentfowlercohere commented Nov 26, 2024

This PR introduces a new model, rerank-english-v3.5, which offers state-of-the-art performance in English and non-English languages. The model supports the same languages as embed-multilingual-v3.0 and has a context length of 4096 tokens.

Summary of Changes

  • The rerank-english-v3.5 model is added to the list of latest models, with a description highlighting its capabilities and context length.
  • The rerank-v3.5 section is introduced, providing details about the model's constraints, including the number of documents, maximum number of chunks, and tokens per document and query.
  • The document chunking process is updated to include rerank-v3.5, specifying that both rerank-v3.0 and rerank-v3.5 models break documents into 4096 token chunks.
  • The error handling for rerank-v3.0 models is clarified, stating that the endpoint will throw an error if the user attempts to pass more than 1000 documents at a time.
  • The context length and query truncation for rerank-v3.0 and rerank-v3.5 models are specified, ensuring that both models have a context length of 4096 tokens and that queries larger than 2048 tokens are truncated.

@trentfowlercohere trentfowlercohere requested a review from a team as a code owner November 26, 2024 19:57
Copy link

Copy link

Copy link

Copy link

github-actions bot commented Dec 1, 2024

Copy link

github-actions bot commented Dec 1, 2024

Copy link

github-actions bot commented Dec 1, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant