Set a temporary threshold for the model generation.