forked from phoenix/litellm-mirror
v0 finetuned-gpt-3.5
This commit is contained in:
parent
f4d63855ba
commit
a010b78f7f
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
||||||
# Using Fine-Tuned gpt-3.5-turbo
|
# Using Fine-Tuned gpt-3.5-turbo
|
||||||
LiteLLM allows you to call `completion` with your fine-tuned gpt-3.5-turbo models
|
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: https://platform.openai.com/docs/guides/fine-tuning/preparing-your-dataset
|
||||||
If you're trying to create your custom finetuned gpt-3.5-turbo model following along on this tutorial:
|
|
||||||
|
|
||||||
Once you've created your fine tuned model, you can call it with `completion()`
|
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
|
```python
|
||||||
import os
|
import os
|
||||||
from litellm import completion
|
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(
|
response = completion(
|
||||||
model="ft:gpt-3.5-turbo:my-org:custom_suffix:id",
|
model="ft:gpt-3.5-turbo:my-org:custom_suffix:id",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue