Closed knajjars closed 2 years ago
How to reproduce:
import piplite await piplite.install("cohere") import cohere co = cohere.Client('<your_prod_api_key>') prediction = co.generate( model='xlarge-20220301', prompt='The table lists the following professions as artistic careers:\n1. Painter\n2.', max_tokens=50, temperature=1, k=0, p=0.75, frequency_penalty=0, presence_penalty=0, stop_sequences=[], return_likelihoods='NONE') print('Prediction: {}'.format(prediction.generations[0].text))
Expected behavior:
https://github.com/cohere-ai/cohere-python/pull/51
How to reproduce:
Expected behavior: