.. _examples.text.generation: Generate text using a model =========================== Runs text generation asynchronously in parallel to achieve better performance .. literalinclude:: ../../../examples/text/generation.py :language: python :caption: See `generation.py `_ on GitHub. :lines: 7-