kiwi.cli

Quality Estimation toolkit.

Invoke as kiwi PIPELINE.

Usage:

kiwi [options] (train|pretrain|predict|evaluate|search) CONFIG_FILE [OVERWRITES …] kiwi (train|pretrain|predict|evaluate|search) –example kiwi (-h | –help | –version)

Pipelines:

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

Disabled pipelines:

jackknife Jackknife training data with model

param CONFIG_FILE configuration file to use

type CONFIG_FILE configuration file to use

e.g., config/nuqe.yaml

param OVERWRITES key=value to overwrite values in CONFIG_FILE; use key.subkey

for nested keys.

Options:

-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

Module Contents

Functions

handle_example(arguments, caller)

cli()

kiwi.cli.handle_example(arguments, caller)
kiwi.cli.cli()