Skip to content

Commit c474646

Browse files
authored
tiny fix (#23)
* tiny fix * fix typos
1 parent bb72aa3 commit c474646

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ def get_quantize_options(parser):
6363
# calibration parameters
6464
parser.add_argument(
6565
'--calib_data_num', type=int, default=512,
66-
help='Number of calibration data'
66+
help='Number of calibration data (default: 512)'
6767
)
6868
parser.add_argument(
6969
'--calib_seqlen', type=int, default=512,
70-
help='Number of calibration data'
70+
help='Maximum sequence length for calibration data (default: 512)'
7171
)
7272
# load/store model
7373
parser.add_argument(
@@ -94,11 +94,11 @@ def get_quantize_options(parser):
9494
)
9595
parser.add_argument(
9696
'--w_bits', type=int, default=8,
97-
help='The bit-width for weights applied in the real quantization (defualt: 4)'
97+
help='The bit-width for weights applied in the real quantization (default: 8)'
9898
)
9999
parser.add_argument(
100100
'--a_bits', type=int, default=8,
101-
help='The bit-width for activations applied in the real quantization (defualt: 8)'
101+
help='The bit-width for activations applied in the real quantization (default: 8)'
102102
)
103103
parser.add_argument(
104104
'--hybrid_blocks', action='store_true', default=False,

0 commit comments

Comments
 (0)