معرفی شرکت ها


cohere-sagemaker-0.5.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A Python library for the Cohere endpoints in AWS Sagemaker
ویژگی مقدار
سیستم عامل -
نام فایل cohere-sagemaker-0.5.0
نام cohere-sagemaker
نسخه کتابخانه 0.5.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Cohere
ایمیل نویسنده support@cohere.ai
آدرس صفحه اصلی https://github.com/cohere-ai/cohere-sagemaker
آدرس اینترنتی https://pypi.org/project/cohere-sagemaker/
مجوز -
# Cohere Python SDK (AWS SageMaker) This package provides functionality developed to simplify interfacing with the [Cohere models via AWS SageMaker Marketplace](https://aws.amazon.com/marketplace/pp/prodview-6dmzzso5vu5my) in Python 3. ## Installation The package can be installed with pip: ```bash pip install --upgrade cohere-sagemaker ``` Install from source: ```bash 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, you can use the library like this: ```python from cohere_sagemaker import Client client = Client(endpoint_name='my-cohere-endpoint') # generate prediction for a prompt response = client.generate( prompt="Tell me a story about", max_tokens=20) print(response.generations[0].text) # a time when you had to make a difficult decision. What did you do ``` Note: by default we assume region configured in AWS CLI (`aws configure get region`), to override use `region_name` parameter, e.g. ```python client = Client(endpoint_name='my-cohere-endpoint', region_name='us-east-1') ``` More detailed examples can be found in the [Jupyter notebook](https://github.com/cohere-ai/cohere-sagemaker/blob/main/notebooks/Deploy%20cohere%20model.ipynb).


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl cohere-sagemaker-0.5.0:

    pip install cohere-sagemaker-0.5.0.whl


نصب پکیج tar.gz cohere-sagemaker-0.5.0:

    pip install cohere-sagemaker-0.5.0.tar.gz