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(
165165 Args:
166166 model (Transformer): The pre-trained language model to evaluate.
167167 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.
169169 limit (Optional[int]): The maximum number of samples to evaluate (None for all available).
170170 max_seq_length (Optional[int]): The maximum sequence length allowed for input text.
171171
@@ -208,7 +208,7 @@ def main(
208208 Args:
209209 checkpoint_path (Path): The path to the model checkpoint file to load.
210210 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.
212212 limit (Optional[int]): The maximum number of samples to evaluate (None for all available).
213213 max_seq_length (Optional[int]): The maximum sequence length allowed for input text.
214214
You can’t perform that action at this time.
0 commit comments