From a010b78f7f5c9e1de6d63175aa66bb7a3f959b87 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Tue, 22 Aug 2023 15:45:12 -0700 Subject: [PATCH] v0 finetuned-gpt-3.5 --- docs/my-website/docs/tutorials/finetuned_chat_gpt.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/my-website/docs/tutorials/finetuned_chat_gpt.md b/docs/my-website/docs/tutorials/finetuned_chat_gpt.md index 4cdf1497d..0650bdf32 100644 --- a/docs/my-website/docs/tutorials/finetuned_chat_gpt.md +++ b/docs/my-website/docs/tutorials/finetuned_chat_gpt.md @@ -1,7 +1,6 @@ # Using Fine-Tuned gpt-3.5-turbo LiteLLM allows you to call `completion` with your fine-tuned gpt-3.5-turbo models - -If you're trying to create your custom finetuned gpt-3.5-turbo model following along on this tutorial: +If you're trying to create your custom finetuned gpt-3.5-turbo model following along on this tutorial: https://platform.openai.com/docs/guides/fine-tuning/preparing-your-dataset Once you've created your fine tuned model, you can call it with `completion()` @@ -9,7 +8,7 @@ Once you've created your fine tuned model, you can call it with `completion()` ```python import os from litellm import completion -openai.api_key = os.getenv("OPENAI_API_KEY") +# set your OPENAI key in your .env as "OPENAI_API_KEY" response = completion( model="ft:gpt-3.5-turbo:my-org:custom_suffix:id",