To perform inference, one uses the [generate] method, which allows to autoregressively generate text.