@@ -538,7 +538,7 @@ def add_cli_args(parser: FlexibleArgumentParser) -> FlexibleArgumentParser:
538
538
default = None ,
539
539
type = json .loads ,
540
540
help = 'RoPE scaling configuration in JSON format. '
541
- 'For example, {"rope_type":"dynamic","factor":2.0}' )
541
+ 'For example, `` {"rope_type":"dynamic","factor":2.0}`` ' )
542
542
parser .add_argument ('--rope-theta' ,
543
543
default = None ,
544
544
type = float ,
@@ -607,7 +607,7 @@ def add_cli_args(parser: FlexibleArgumentParser) -> FlexibleArgumentParser:
607
607
default = None ,
608
608
type = json .loads ,
609
609
help = ('Overrides for the multimodal input mapping/processing, '
610
- 'e.g., image processor. For example: {"num_crops": 4}.' ))
610
+ 'e.g., image processor. For example: `` {"num_crops": 4}`` .' ))
611
611
parser .add_argument (
612
612
'--disable-mm-preprocessor-cache' ,
613
613
action = 'store_true' ,
@@ -908,13 +908,13 @@ def add_cli_args(parser: FlexibleArgumentParser) -> FlexibleArgumentParser:
908
908
type = json .loads ,
909
909
default = None ,
910
910
help = "Override or set neuron device configuration. "
911
- "e.g. {\" cast_logits_dtype\" : \" bloat16\" }.' " )
911
+ "e.g. `` {\" cast_logits_dtype\" : \" bloat16\" }``. " )
912
912
parser .add_argument (
913
913
'--override-pooler-config' ,
914
914
type = PoolerConfig .from_json ,
915
915
default = None ,
916
916
help = "Override or set the pooling method for pooling models. "
917
- "e.g. {\" pooling_type\" : \" mean\" , \" normalize\" : false}.' " )
917
+ "e.g. `` {\" pooling_type\" : \" mean\" , \" normalize\" : false}``. " )
918
918
919
919
parser .add_argument ('--compilation-config' ,
920
920
'-O' ,
0 commit comments