Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
clefourrier committed Dec 12, 2024
1 parent f9ab29b commit 4833929
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/source/package_reference/models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

## Accelerate and Transformers Models
### TransformersModel
[[autodoc]] models.transformers.base_model.TransformersModelConfig
[[autodoc]] models.transformers.base_model.TransformersModel
[[autodoc]] models.transformers.transformers_model.TransformersModelConfig
[[autodoc]] models.transformers.transformers_model.TransformersModel

### AdapterModel
[[autodoc]] models.transformers.adapter_model.AdapterModelConfig
Expand Down
2 changes: 1 addition & 1 deletion src/lighteval/main_accelerate.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def accelerate( # noqa C901
model_args: Annotated[
str,
Argument(
help="Model arguments in the form key1=value1,key2=value2,... or path to yaml config file (see examples/model_configs/base_model.yaml)"
help="Model arguments in the form key1=value1,key2=value2,... or path to yaml config file (see examples/model_configs/transformers_model.yaml)"
),
],
tasks: Annotated[str, Argument(help="Comma-separated list of tasks to evaluate on.")],
Expand Down
2 changes: 1 addition & 1 deletion src/lighteval/main_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def openai(
model_args: Annotated[
str,
Argument(
help="Model name as a string (has to be available through the openai API) or path to yaml config file (see examples/model_configs/base_model.yaml)"
help="Model name as a string (has to be available through the openai API) or path to yaml config file (see examples/model_configs/transformers_model.yaml)"
),
],
tasks: Annotated[str, Argument(help="Comma-separated list of tasks to evaluate on.")],
Expand Down
2 changes: 1 addition & 1 deletion src/lighteval/main_vllm.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def vllm(
model_args: Annotated[
str,
Argument(
help="Model arguments in the form key1=value1,key2=value2,... or path to yaml config file (see examples/model_configs/base_model.yaml)"
help="Model arguments in the form key1=value1,key2=value2,... or path to yaml config file (see examples/model_configs/transformers_model.yaml)"
),
],
tasks: Annotated[str, Argument(help="Comma-separated list of tasks to evaluate on.")],
Expand Down

0 comments on commit 4833929

Please sign in to comment.