forked from phoenix/litellm-mirror
docs fine tuning
This commit is contained in:
parent
b35c63001d
commit
4a1ab44f6a
2 changed files with 51 additions and 0 deletions
50
docs/my-website/docs/fine_tuning.md
Normal file
50
docs/my-website/docs/fine_tuning.md
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
# [Beta] Fine-tuning API
|
||||||
|
|
||||||
|
|
||||||
|
:::info
|
||||||
|
|
||||||
|
This is an Enterprise only endpoint [Get Started with Enterprise here](https://calendly.com/d/4mp-gd3-k5k/litellm-1-1-onboarding-chat)
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
|
## Supported Providers
|
||||||
|
- Azure OpenAI
|
||||||
|
- OpenAI
|
||||||
|
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
```yaml
|
||||||
|
model_list:
|
||||||
|
- model_name: gpt-4
|
||||||
|
litellm_params:
|
||||||
|
model: openai/fake
|
||||||
|
api_key: fake-key
|
||||||
|
api_base: https://exampleopenaiendpoint-production.up.railway.app/
|
||||||
|
|
||||||
|
# For /fine_tuning/jobs endpoints
|
||||||
|
finetune_settings:
|
||||||
|
- custom_llm_provider: azure
|
||||||
|
api_base: https://exampleopenaiendpoint-production.up.railway.app
|
||||||
|
api_key: fake-key
|
||||||
|
api_version: "2023-03-15-preview"
|
||||||
|
- custom_llm_provider: openai
|
||||||
|
api_key: os.environ/OPENAI_API_KEY
|
||||||
|
|
||||||
|
# for /files endpoints
|
||||||
|
files_settings:
|
||||||
|
- custom_llm_provider: azure
|
||||||
|
api_base: https://exampleopenaiendpoint-production.up.railway.app
|
||||||
|
api_key: fake-key
|
||||||
|
api_version: "2023-03-15-preview"
|
||||||
|
- custom_llm_provider: openai
|
||||||
|
api_key: os.environ/OPENAI_API_KEY
|
||||||
|
```
|
||||||
|
|
||||||
|
## Create File for Fine Tuning
|
||||||
|
|
||||||
|
## Create fine-tuning job
|
||||||
|
|
||||||
|
## Cancel fine-tuning job
|
||||||
|
|
||||||
|
## List fine-tuning jobs
|
||||||
|
|
|
@ -120,6 +120,7 @@ const sidebars = {
|
||||||
"text_to_speech",
|
"text_to_speech",
|
||||||
"assistants",
|
"assistants",
|
||||||
"batches",
|
"batches",
|
||||||
|
"fine_tuning",
|
||||||
"anthropic_completion"
|
"anthropic_completion"
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue