This quality prediction model was trained on past data about the production of steel slabs in order to predict the likely amount of defect mass in each individual slab based on available measurements

What is the correctly punctuated version of this sentence?
This quality prediction model was trained on past data about the production of steel slabs in order to predict the likely amount of defect mass in each individual slab based on available measurements.