Skip to content
Merged
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 examples/model_configs/transformers_model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ model:
model_args: "pretrained=HuggingFaceTB/SmolLM-1.7B,revision=main" # pretrained=model_name,trust_remote_code=boolean,revision=revision_to_use,model_parallel=True ...
dtype: "bfloat16"
compile: true
multichoice_continuations_start_space: null # If true/false, will force multiple choice continuations to start/not start with a space. If none, will do nothing
merged_weights: # Ignore this section if you are not using PEFT models
delta_weights: false # set to True of your model should be merged with a base model, also need to provide the base model name
adapter_weights: false # set to True of your model has been trained with peft, also need to provide the base model name
base_model: null # path to the base_model
generation:
multichoice_continuations_start_space: null # If true/false, will force multiple choice continuations to start/not start with a space. If none, will do nothing
temperature: 0.5
2 changes: 1 addition & 1 deletion src/lighteval/main_accelerate.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def accelerate( # noqa C901
args_dict["accelerator"] = accelerator
args_dict["quantization_config"] = quantization_config
args_dict["batch_size"] = override_batch_size
args_dict["multichoice_continuations_start_space"] = config["generation"][
args_dict["multichoice_continuations_start_space"] = config["base_params"][
"multichoice_continuations_start_space"
]
args_dict["use_chat_template"] = use_chat_template
Expand Down