A Python library for the Cohere endpoints in AWS Sagemaker
Project description
Cohere Python SDK (AWS SageMaker)
This package provides functionality developed to simplify interfacing with the Cohere models via AWS SageMaker Marketplace in Python >=3.6
Installation
The package can be installed with pip:
pip install --upgrade cohere-sagemaker
Install from source:
python setup.py install
Quick Start
To use this library, you need to configure your AWS credentials. You can do this by running aws configure
. Once that's set up, please refer to one of the Jupyter notebooks to get started. Here is the one for our medium command model
Note: by default we assume region configured in AWS CLI (aws configure get region
), to override use region_name
parameter, e.g.
client = Client(region_name='us-east-1')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cohere-sagemaker-0.6.1.tar.gz
.
File metadata
- Download URL: cohere-sagemaker-0.6.1.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aefb4d2cb318fdd351eb69e4d1151a8f052c74e9ea14b56a7aa1058ab3dcf744 |
|
MD5 | 06f34a886150531c6026e8e31efd882c |
|
BLAKE2b-256 | 3e82b50bae19d37841ac0194e84d50a6bca03f539324362a2365fb1310531052 |