You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser.add_argument("--dump", action="store_true", help="don't convert, just show what's in the model")
1074
1075
parser.add_argument("--dump-single", action="store_true", help="don't convert, just show what's in a single model file")
1075
1076
parser.add_argument("--vocab-only", action="store_true", help="extract only the vocab")
1076
-
parser.add_argument("--outtype", choices=["f32", "f16", "q8_0"], help="output format (default: based on input)")
1077
+
parser.add_argument("--outtype", choices=["f32", "f16", "q8_0"], help="output format - note: q8_0 may be very slow (default: f16 or f32 based on input)")
1077
1078
parser.add_argument("--vocab-dir", type=Path, help="directory containing tokenizer.model, if separate from model file")
1078
1079
parser.add_argument("--outfile", type=Path, help="path to write to; default: based on input")
1079
1080
parser.add_argument("model", type=Path, help="directory containing model file, or model file itself (*.pth, *.pt, *.bin)")
1080
1081
parser.add_argument("--vocabtype", choices=["spm", "bpe"], help="vocab format (default: spm)", default="spm")
1081
1082
parser.add_argument("--ctx", type=int, help="model training context (default: based on input)")
1083
+
parser.add_argument("--concurrency", type=int, help=f"concurrency used for conversion (default: {DEFAULT_CONCURRENCY})", default=DEFAULT_CONCURRENCY)
0 commit comments