Listing Thumbnail

    rerank-2 Reranker

     Info
    Sold by: Voyage AI 
    Deployed on AWS
    Free Trial
    General-purpose reranker optimized for quality with multilingual support. Context length: 16K for queries & documents (4K for queries).

    Overview

    Rerankers are neural networks that predict the relevancy scores between a query and documents and rank them based on the scores. They are used to refine search results in semantic search/retrieval systems and retrieval-augmented generation (RAG). rerank-2 is a cutting-edge reranker optimized for quality, improving accuracy atop OpenAI v3 large by an average of 13.89%—2.3x the improvement attained by the latest Cohere reranker (English v3). rerank-2 is also natively multilingual, beating Cohere multilingual v3 by 8.83% on 51 datasets across 31 languages. It supports a 16K-token combined context length for a query-document pair, with up to 4K tokens for the query. Latency is 1.5 s for 25K tokens, and throughput is 60M tokens per hour at $0.05 per 1M tokens on an ml.g6.xlarge. Learn more about rerank-2 here: https://blog.voyageai.com/2024/09/30/rerank-2/ 

    Highlights

    • Optimized for quality, improving accuracy atop OpenAI v3 large by an average of 13.89% —2.3x the improvement attained by the latest Cohere reranker (English v3).
    • Natively multilingual, beating Cohere multilingual v3 by 8.83% on 51 datasets across 31 languages.
    • 16K token context length for queries and documents, with up to 4K token context length for queries; well-suited for applications on long documents. Latencies are 1.5 s (1 GPU), 415 ms (4 GPUs), and 245 ms (8 GPUs) for 25K tokens. We recommend using multiple GPUs to reduce latency. The supported 12xlarge and 24xlarge instances come with 4 GPUs each, while the 48xlarge instances are equipped with 8 GPUs. 60M tokens per hour at $0.05 per 1M tokens on an ml.g6.xlarge

    Details

    Delivery method

    Latest version

    Deployed on AWS

    Unlock automation with AI agent solutions

    Fast-track AI initiatives with agents, tools, and solutions from AWS Partners.
    AI Agents

    Features and programs

    Financing for AWS Marketplace purchases

    AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
    Financing for AWS Marketplace purchases

    Pricing

    Free trial

    Try this product free for 7 days according to the free trial terms set by the vendor.

    rerank-2 Reranker

     Info
    Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.

    Usage costs (9)

     Info
    Dimension
    Description
    Cost/host/hour
    ml.g5.12xlarge Inference (Batch)
    Recommended
    Model inference on the ml.g5.12xlarge instance type, batch mode
    $0.00
    ml.g6.xlarge Inference (Real-Time)
    Recommended
    Model inference on the ml.g6.xlarge instance type, real-time mode
    $1.69005
    ml.g6.12xlarge Inference (Real-Time)
    Model inference on the ml.g6.12xlarge instance type, real-time mode
    $5.752
    ml.g6.24xlarge Inference (Real-Time)
    Model inference on the ml.g6.24xlarge instance type, real-time mode
    $8.344
    ml.g5.xlarge Inference (Real-Time)
    Model inference on the ml.g5.xlarge instance type, real-time mode
    $2.112
    ml.g6.48xlarge Inference (Real-Time)
    Model inference on the ml.g6.48xlarge instance type, real-time mode
    $16.688
    ml.g5.12xlarge Inference (Real-Time)
    Model inference on the ml.g5.12xlarge instance type, real-time mode
    $7.09
    ml.g5.48xlarge Inference (Real-Time)
    Model inference on the ml.g5.48xlarge instance type, real-time mode
    $20.36
    ml.g5.24xlarge Inference (Real-Time)
    Model inference on the ml.g5.24xlarge instance type, real-time mode
    $10.18

    Vendor refund policy

    Refunds to be processed under the conditions specified in EULA. Please contact contact@voyageai.com  for further assistance.

    How can we make this page better?

    We'd like to hear your feedback and ideas on how to improve this page.
    We'd like to hear your feedback and ideas on how to improve this page.

    Legal

    Vendor terms and conditions

    Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA) .

    Content disclaimer

    Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.

    Usage information

     Info

    Delivery details

    Amazon SageMaker model

    An Amazon SageMaker model package is a pre-trained machine learning model ready to use without additional training. Use the model package to create a model on Amazon SageMaker for real-time inference or batch processing. Amazon SageMaker is a fully managed platform for building, training, and deploying machine learning models at scale.

    Deploy the model on Amazon SageMaker AI using the following options:
    Deploy the model as an API endpoint for your applications. When you send data to the endpoint, SageMaker processes it and returns results by API response. The endpoint runs continuously until you delete it. You're billed for software and SageMaker infrastructure costs while the endpoint runs. AWS Marketplace models don't support Amazon SageMaker Asynchronous Inference. For more information, see Deploy models for real-time inference  .
    Deploy the model to process batches of data stored in Amazon Simple Storage Service (Amazon S3). SageMaker runs the job, processes your data, and returns results to Amazon S3. When complete, SageMaker stops the model. You're billed for software and SageMaker infrastructure costs only during the batch job. Duration depends on your model, instance type, and dataset size. AWS Marketplace models don't support Amazon SageMaker Asynchronous Inference. For more information, see Batch transform for inference with Amazon SageMaker AI  .
    Version release notes

    We are excited to announce the initial release of rerank-2.

    Additional details

    Inputs

    Summary
    1. query: str - The query as a string. Maximum of 4K tokens.
    2. documents: List[str] - The documents to be reranked as a list of strings. Maximum of 1K documents.
    3. top_k: int, optional (default=None) - The number of most relevant documents to return. If not specified, the reranking results of all documents will be returned.
    4. truncation: bool, optional (default=True) - True: Truncates. False: raises error if any given text exceeds the context length.
    Limitations for input type
    The query and any document must not exceed 16K tokens. Total tokens ("query tokens × documents + sum of all document tokens") are capped at 160K × # GPUs. Supported instances—xlarge, 12xlarge/24xlarge, and 48xlarge—provide 1, 4, and 8 GPUs, respectively.
    Input MIME type
    text/csv, application/json, application/jsonlines
    https://github.com/voyage-ai/voyageai-aws/blob/main/sample_reranker_input.json
    https://github.com/voyage-ai/voyageai-aws/blob/main/sample_reranker_input.json

    Input data descriptions

    The following table describes supported input data fields for real-time inference and batch transform.

    Field name
    Description
    Constraints
    Required
    query
    The query as a string. The query can contain a maximum of 4000 tokens.
    Type: FreeText
    Yes
    documents
    The documents to be reranked as a list of strings. - The number of documents cannot exceed 1000. - The sum of the number of tokens in the query and the number of tokens in any single document cannot exceed 16000. - The total number of tokens, defined as "the number of query tokens Ă— the number of documents + sum of the number of tokens in all documents", cannot exceed 160K x # GPUs. The supported xlarge, 12xlarge/24xlarge, and 48xlarge instances come with 1, 4, and 8 GPUs each, respectively.
    Type: FreeText
    Yes
    top_k
    The number of most relevant documents to return. If not specified, the reranking results of all documents will be returned.
    Default value: None Type: Integer
    No
    truncation
    Whether to truncate the input to satisfy the "context length limit" on the query and the documents.
    Default value: True Type: Categorical Allowed values: True, False
    No

    Support

    Vendor support

    Please email us at contact@voyageai.com  for inquiries and customer support. Join our Discord channel: https://discord.gg/zAU7GQEmvT 

    AWS infrastructure support

    AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.

    Similar products

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 AWS reviews
    No customer reviews yet
    Be the first to review this product . We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.