From 4a1ab44f6a1bbb68c9ee67fedf82915cf9de2124 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 31 Jul 2024 17:13:02 -0700 Subject: [PATCH] docs fine tuning --- docs/my-website/docs/fine_tuning.md | 50 +++++++++++++++++++++++++++++ docs/my-website/sidebars.js | 1 + 2 files changed, 51 insertions(+) create mode 100644 docs/my-website/docs/fine_tuning.md diff --git a/docs/my-website/docs/fine_tuning.md b/docs/my-website/docs/fine_tuning.md new file mode 100644 index 000000000..009511973 --- /dev/null +++ b/docs/my-website/docs/fine_tuning.md @@ -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 + diff --git a/docs/my-website/sidebars.js b/docs/my-website/sidebars.js index c1ce83068..54ba9cdd8 100644 --- a/docs/my-website/sidebars.js +++ b/docs/my-website/sidebars.js @@ -120,6 +120,7 @@ const sidebars = { "text_to_speech", "assistants", "batches", + "fine_tuning", "anthropic_completion" ], },