A random process that terminates at a random time determined by a stopping rule (here, when the model outputs an end token).