how to use fine-tuned model?
Closed this issue · 1 comments
AlexanderKozhevin commented
how to use fine-tuned model?
jtams commented
I just updated it to the new API standard. You should be able to use:
openai.Completion.create({
model: "YOUR_FINE_TUNED_MODEL OR ENGINE",
prompt: "Original: She no went to the market.\nStandard American English:",
temperature: 1,
max_tokens: 64,
top_p: 1,
frequency_penalty: 0,
presence_penalty: 1,
n: 1,
stream: false,
logprobs: null,
echo: false,
best_of: 1,
stop: null,
}).then((response) => {
console.log(response);
});
I haven't added in the methods to create a find-tuned model so I'd recommend you visit OpenAI's documentation and use their CLI tool for now.