Machine learning potentials can accurately predict free energy surfaces but require comprehensive training datasets.