Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/quicktour.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ accelerate).
- **add_special_tokens** (bool, optional, defaults to True): Whether to add special tokens to the input sequences.
If `None`, the default value will be set to `True` for seq2seq models (e.g. T5) and
`False` for causal models.
- **model_parallel** (bool, optional, defaults to False):
- **model_parallel** (bool, optional, defaults to None):
True/False: force to use or not the `accelerate` library to load a large
model across multiple devices.
Default: None which corresponds to comparing the number of processes with
Expand Down
2 changes: 1 addition & 1 deletion src/lighteval/models/transformers/transformers_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class TransformersModelConfig:
add_special_tokens (bool, optional, defaults to True): Whether to add special tokens to the input sequences.
If `None`, the default value will be set to `True` for seq2seq models (e.g. T5) and
`False` for causal models.
model_parallel (bool, optional, defaults to False):
model_parallel (bool, optional, defaults to None):
True/False: force to use or not the `accelerate` library to load a large
model across multiple devices.
Default: None which corresponds to comparing the number of processes with
Expand Down