v0 finetuned-gpt-3.5

This commit is contained in:
ishaan-jaff 2023-08-22 15:45:12 -07:00
parent f4d63855ba
commit a010b78f7f

View file

@ -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",