Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in generating prompt: Model not found. (gpt-35-turbo-16k) #98

Open
hv129 opened this issue Oct 18, 2023 · 2 comments
Open

Error in generating prompt: Model not found. (gpt-35-turbo-16k) #98

hv129 opened this issue Oct 18, 2023 · 2 comments

Comments

@hv129
Copy link

hv129 commented Oct 18, 2023

from promptify import Prompter, Pipeline, Azure

llm = Azure(engine=engine, api_base=api_base, api_version="2023-05-15", 
            api_key=api_key, api_type="azure", model="gpt-35-turbo-16k")
prompter = Prompter('ner.jinja')
pipe = Pipeline(prompter, llm)

result = pipe.fit(text, domain=domain, labels=labels, description=description, examples=examples)
result

Getting error:

Error in generating prompt: Model not found. Please choose the model from : ['text-davinci-003', 'gpt-3.5-turbo', 'gpt-35-turbo', 'claude-instant-1', 'claude-2', 'command', 'command-light', 'command-medium-beta', 'command-nightly', 'command-xlarge-beta']

@hv129
Copy link
Author

hv129 commented Oct 18, 2023

Inside prompts/text2text for each task (such as ner, qa, explain etc.), metadata.json needs to be updated, models should include gpt-35-turbo-16k.

@Vigneswaran-M97
Copy link

Hi, I think you chose the wrong model, kindly try this one 'gpt-3.5-turbo-16k' link is here - https://platform.openai.com/docs/models/gpt-3-5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants