--- description: Learn how to train a World Model with Ultralytics YOLO using advanced techniques and customizable options for optimal performance. keywords: Ultralytics, YOLO, World Model, training, deep learning, computer vision, AI, machine learning, tutorial --- # Reference for `ultralytics/models/yolo/world/train.py` !!! note This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/models/yolo/world/train.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/models/yolo/world/train.py). If you spot a problem please help fix it by [contributing](https://docs.ultralytics.com/help/contributing/) a [Pull Request](https://github.com/ultralytics/ultralytics/edit/main/ultralytics/models/yolo/world/train.py) 🛠️. Thank you 🙏!
## ::: ultralytics.models.yolo.world.train.WorldTrainer



## ::: ultralytics.models.yolo.world.train.on_pretrain_routine_end