You're looking at a specific version of this model. Jump to the model overview.

dsingal0 /mpnet-for-scale:33dd982a

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
text
string
A single string to encode.
text_batch
string
A JSON-formatted list of strings to encode.
text_file
string
A file containing a JSON array of texts to encode.
batch_size
integer
192
Batch size to use when processing text data.
normalize_embeddings
boolean
True
Whether to normalize embeddings.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'anyOf': [{'items': {'type': 'string'}, 'type': 'array'},
           {'format': 'uri', 'type': 'string'}],
 'title': 'Output'}