kiwi.cli
Quality Estimation toolkit.
Invoke as kiwi PIPELINE.
kiwi PIPELINE
kiwi [options] (train|pretrain|predict|evaluate|search) CONFIG_FILE [OVERWRITES …] kiwi (train|pretrain|predict|evaluate|search) –example kiwi (-h | –help | –version)
train Train a QE model pretrain Pretrain a TLM model to be used as an encoder for a QE model predict Use a pre-trained model for prediction evaluate Evaluate a model’s predictions using popular metrics search Search training hyper-parameters for a QE model
jackknife Jackknife training data with model
e.g., config/nuqe.yaml
key.subkey
for nested keys.
-v –verbose log debug messages -q –quiet log only warning and error messages -h –help show this help message and exit –version show version and exit –example print an example configuration file
handle_example(arguments, caller)
handle_example
cli()
cli
kiwi.cli.
kiwi.__main__
kiwi.constants