m2-bert-80M-retrieval

This documentation is valid for the following list of our models:

  • togethercomputer/m2-bert-80M-32k-retrieval

Model Overview

The model integrates advanced machine learning techniques to excel in searching and retrieving relevant information from vast datasets. With its 8k parameter design, it balances performance and efficiency, making it suitable for applications requiring high-speed data access and analysis.

Setup your API Key

If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.

Submit a request

API Schema

post
Authorizations
Body
modelundefined · enumRequiredPossible values:
inputstring · min: 1 · max: 3000Required

Input text to embed, encoded as a string or array of tokens.

Responses
201Success
post
POST /v1/embeddings HTTP/1.1
Host: api.aimlapi.com
Authorization: Bearer <YOUR_AIMLAPI_KEY>
Content-Type: application/json
Accept: */*
Content-Length: 68

{
  "model": "togethercomputer/m2-bert-80M-2k-retrieval",
  "input": "text"
}
201Success

No content

Last updated

Was this helpful?