Large scale atomistic simulations with an interatomic potential generated by a machine learning method have been exploited to study the crystallization of Sb in ultrathin films.