File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ def eval(
165
165
Args:
166
166
model (Transformer): The pre-trained language model to evaluate.
167
167
tokenizer: The tokenizer to use for encoding/decoding text.
168
- task (str ): The name of the evaluation task to perform.
168
+ tasks (list ): The names of the evaluation tasks to perform.
169
169
limit (Optional[int]): The maximum number of samples to evaluate (None for all available).
170
170
max_seq_length (Optional[int]): The maximum sequence length allowed for input text.
171
171
@@ -208,7 +208,7 @@ def main(
208
208
Args:
209
209
checkpoint_path (Path): The path to the model checkpoint file to load.
210
210
compile (bool): Whether or not to compile the model for optimization.
211
- task (Optional[str] ): The name of the evaluation task or a list of tasks to perform.
211
+ tasks (list ): The names of the evaluation tasks to perform.
212
212
limit (Optional[int]): The maximum number of samples to evaluate (None for all available).
213
213
max_seq_length (Optional[int]): The maximum sequence length allowed for input text.
214
214
You can’t perform that action at this time.
0 commit comments