help="""JSON string metadata to pass to task configs, for example '{"max_seq_lengths":[4096,8192]}'. Will be merged with model_args. Can also be set in task config.""",
help="""JSON string metadata to pass to task configs, for example '{"max_seq_lengths":[4096,8192]}'. Will be merged with model_args. Can also be set in task config.""",
)
)
parser.add_argument(
parser.add_argument(
"--strip_reasoning",
"--strip_thinking",
type=str,
type=str,
nargs="?",
nargs="?",
const="</think>",
const="</think>",
default=False,
default=False,
help="Strip reasoning blocks ending with specified token. Usage: --strip_reasoning (uses default '</think>') or --strip_reasoning '</reasoning>' (uses custom token)",
help="Strip thinking blocks ending with specified token. Usage: --strip_thinking (uses default '</think>') or --strip_thinking '</thinking>' (uses custom token)",