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

replicate /all-mpnet-base-v2:a441e626

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.

Output schema

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

Schema
{'items': {'properties': {'embedding': {'items': {'type': 'number'},
                                        'title': 'Embedding',
                                        'type': 'array'}},
           'required': ['embedding'],
           'title': 'Embedding',
           'type': 'object'},
 'title': 'Output',
 'type': 'array'}