File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
aiu_fms_testing_utils/utils Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ def get_args(parser: argparse.ArgumentParser) -> argparse.Namespace:
176
176
help = (
177
177
"Cap the number of tokens per prompt to a maximum length prior to padding. "
178
178
"If None, prompts to decoder models will have no cap, while prompts to "
179
- "encoder models will be capped to a default of 384 tokens."
179
+ "encoder models will be capped to a default of 384 tokens (for QA task) ."
180
180
),
181
181
)
182
182
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ def prepare_validation_features(
102
102
max_prompt_length = (
103
103
args .max_prompt_length
104
104
if args .max_prompt_length is not None
105
- else 384
105
+ else 384 # this default is targeted at QA task (not a model limitation)
106
106
)
107
107
108
108
# Some of the questions have lots of whitespace on the left, which is not useful
You can’t perform that action at this time.
0 commit comments