From 3e53ddb8919ac298b8970e315715e9de6449ba07 Mon Sep 17 00:00:00 2001 From: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:39:01 +0100 Subject: [PATCH] Add ModelConfig docs --- docs/source/_toctree.yml | 2 ++ docs/source/package_reference/model_config.mdx | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 docs/source/package_reference/model_config.mdx diff --git a/docs/source/_toctree.yml b/docs/source/_toctree.yml index b2a1a4172..062f7b4d2 100644 --- a/docs/source/_toctree.yml +++ b/docs/source/_toctree.yml @@ -32,6 +32,8 @@ - sections: - local: package_reference/evaluation_tracker title: EvaluationTracker + - local: package_reference/model_config + title: ModelConfig - local: package_reference/pipeline title: Pipeline title: Main classes diff --git a/docs/source/package_reference/model_config.mdx b/docs/source/package_reference/model_config.mdx new file mode 100644 index 000000000..c70258bb5 --- /dev/null +++ b/docs/source/package_reference/model_config.mdx @@ -0,0 +1,12 @@ +# ModelConfig + +[[autodoc]] models.model_config.BaseModelConfig + +[[autodoc]] models.model_config.AdapterModelConfig +[[autodoc]] models.model_config.DeltaModelConfig +[[autodoc]] models.model_config.InferenceEndpointModelConfig +[[autodoc]] models.model_config.InferenceModelConfig +[[autodoc]] models.model_config.TGIModelConfig +[[autodoc]] models.model_config.VLLMModelConfig + +[[autodoc]] models.model_config.create_model_config