Usage#

Practical guides, in the order you are likely to need them.

Requirements#

Python with PyTorch and a CUDA GPU (pip install -r requirements.txt). Everything runs on CPU too, but beam widths beyond a few thousand are impractical there. Pick the device with --device_id when several GPUs are available.

Every flag accepted by train.py and test.py is listed in Reference → CLI.