langchain icon indicating copy to clipboard operation
langchain copied to clipboard

About fine tune model

Open VikasRathod314 opened this issue 1 year ago • 2 comments

I have fine tuned curie model of OPEN AI on sample text data and i used that model in

llm = OpenAI( temperature=0.7, openai_api_key='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', model_name="curie:ft-personal-2023-03-31-05-59-15"#"text-davinci-003"#""#'' # can be used with llms like 'gpt-3.5-turbo' ) after run the script i am getting an error

ValueError: Unknown model: curie:ft-personal-2023-03-31-05-59-15. Please provide a valid OpenAI model name.Known models are: gpt-4, gpt-4-0314, gpt-4-completion, gpt-4-0314-completion, gpt-4-32k, gpt-4-32k-0314, gpt-4-32k-completion, gpt-4-32k-0314-completion, gpt-3.5-turbo, gpt-3.5-turbo-0301, text-ada-001, ada, text-babbage-001, babbage, text-curie-001, curie, text-davinci-003, text-davinci-002, code-davinci-002

i have give a correct name of fine tune model. what is the issue. can anyone help me to solve this?

VikasRathod314 avatar Apr 14 '23 10:04 VikasRathod314

not answering the question but you should not share your "openai_api_key" value here

psyzz avatar Apr 15 '23 00:04 psyzz

I am getting the same error

tommasodelorenzo avatar May 23 '23 10:05 tommasodelorenzo