.. _examples.deployment.deployment: Fine tune and deploy custom model ================================= Use custom training data to tune a model for text generation. Note: This example has been written to enable an end-user to quickly try fine-tuning. In order to obtain better performance, a user would need to experiment with the number of observations and tuning hyperparameters .. literalinclude:: ../../../examples/deployment/deployment.py :language: python :caption: See `deployment.py `_ on GitHub. :lines: 11-