YAML is a human-readable data serialisation language. It can be used to store neural networks (models) after they have been trained in order to make them persistent. YAML is a superset of JSON and kind of a minimalistic approach.
The neural network can then be stored as a file on the file system and can be retrieved for quick activation without need for new training.
There is an easy to use python library that can be found on this
link