From 1aa7144f8946e8b5149db6cc40bfa7224df25c75 Mon Sep 17 00:00:00 2001 From: Marko Hostnik Date: Thu, 17 Aug 2023 12:44:54 +0200 Subject: [PATCH] Escape `%` in help message for `--rotary-percent`. --- megatron/arguments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/megatron/arguments.py b/megatron/arguments.py index 2204abb7d0..5fee41cb44 100644 --- a/megatron/arguments.py +++ b/megatron/arguments.py @@ -575,7 +575,7 @@ def _add_network_size_args(parser): help='Use rotary positional embeddings or not. ' 'Deprecated: use --position-embedding-type') group.add_argument('--rotary-percent', type=float, default=1.0, - help='Percent of rotary dimension to use, default 100%') + help='Percent of rotary dimension to use, default 100%%') group.add_argument('--rotary-seq-len-interpolation-factor', type=int, default=None, help='Sequence length interpolation factor for rotary embeddings.') group.add_argument('--no-position-embedding',