Embed Models
notebookscohere-developer-experiencesagemaker
Export
Cohere Embed Models in SageMaker
In this notebook, we demonstrate how to use the SageMaker Python SDK to deploy and run inference on Embedding models from Cohere.
Setup
First, upgrade to the latest Sagemaker, Boto and Cohere SDKs to be able to deploy and invoke Cohere models.
[ ]
Deploy
Latest Models
| Model Name | Model ID |
|---|---|
| Embed v4.0 (Multilingual) | cohere-embed-v4-0 |
Older Models
| Model Name | Model ID |
|---|---|
| Embed v3 Multilingual | cohere-embed-multilingual |
| Embed v3 English | cohere-embed-english |
| Embed-Light v3 Multilingual | cohere-embed-light-multilingual |
| Embed-Light v3 English | cohere-embed-light-english |
Specify the model ID to deploy one of the models from the above list.
[ ]
Use the Sagemaker Jumpstart SDK to deploy the model.
[ ]
Use the model
Embed v4.0 and newer models
[ ]
Embed v3.0 and older models
[ ]
More API Features
To learn more about API features such as multi-modality, input types, and embedding types, please see the documentation in the Cohere Embed API Reference.
Clean Up
After using the resource, you can delete the model and the endpoint.
[ ]