OS Manuals

/usr/share/open-webui/bin/ct2-opennmt-tf-converter

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

From open-webui 0.9.6-r1 (os), captured 2026-11-05 by running ct2-opennmt-tf-converter --help (exit 0). permalink

usage: ct2-opennmt-tf-converter [-h] [--config CONFIG] [--auto_config] [--model_path MODEL_PATH]
                                [--model_type MODEL_TYPE] [--src_vocab SRC_VOCAB]
                                [--tgt_vocab TGT_VOCAB] --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
  --config CONFIG       Path to the YAML configuration. (default: None)
  --auto_config         Use the model automatic configuration values. (default: False)
  --model_path MODEL_PATH
                        Path to the checkpoint or checkpoint directory to load. If not set, the
                        latest checkpoint from the model directory is loaded. (default: None)
  --model_type MODEL_TYPE
                        If the model instance cannot be resolved from the model directory, this
                        argument can be set to either the name of the model in the catalog or the
                        path to the model configuration. (default: None)
  --src_vocab SRC_VOCAB
                        Path to the source vocabulary (required if no configuration is set).
                        (default: None)
  --tgt_vocab TGT_VOCAB
                        Path to the target vocabulary (required if no configuration is set).
                        (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 (11)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
--config CONFIGPath to the YAML configuration.help
--auto_configUse the model automatic configuration values.help
--model_path MODEL_PATHPath to the checkpoint or checkpoint directory to load.help
--model_type MODEL_TYPEIf the model instance cannot be resolved from the model directory, this argument can be set to either the name of the model in the catalog or the path to the model configuration.help
--src_vocab SRC_VOCABPath to the source vocabulary (required if no configuration is set).help
--tgt_vocab TGT_VOCABPath to the target vocabulary (required if no configuration is set).help
--output_dir OUTPUT_DIROutput model directory.help
--vocab_mapping VOCAB_MAPPINGVocabulary mapping file (optional).help
--quantization int8Weight quantization type.help
--forceForce 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.