usage: ct2-opennmt-py-converter [-h] --model_path MODEL_PATH --output_dir OUTPUT_DIR
[--vocab_mapping VOCAB_MAPPING]
[--quantization {int8,int8_float32,int8_float16,int8_bfloat16,int16,float16,bfloat16,float32}]
[--force]
options:
-h, --help show this help message and exit
--model_path MODEL_PATH
Model path. (default: None)
--output_dir OUTPUT_DIR
Output model directory. (default: None)
--vocab_mapping VOCAB_MAPPING
Vocabulary mapping file (optional). (default: None)
--quantization {int8,int8_float32,int8_float16,int8_bfloat16,int16,float16,bfloat16,float32}
Weight quantization type. (default: None)
--force Force conversion even if the output directory already exists. (default:
False)
Options (6)
| Option | Description | Source |
|---|
-h, --help | show this help message and exit | help |
--model_path MODEL_PATH | Model path. | help |
--output_dir OUTPUT_DIR | Output model directory. | help |
--vocab_mapping VOCAB_MAPPING | Vocabulary mapping file (optional). | help |
--quantization int8 | Weight quantization type. | help |
--force | Force conversion even if the output directory already exists. | help |
Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.