We have developed a neural network interatomic potential for H atoms interacting with a Ru(0001) surface. The potential was trained on the data from ab-initio molecular dynamics simulations of laser-induced desorption. As during these simulations, high adsorbate temperatures in excess of 1000 K are achieved, the potential is expected to be useful also for other studies involving lower temperatures.