flair.set_seed#

flair.set_seed(seed)View on GitHub#

Set the seed for all random generators used in training.

Use this method to guarantee reproducibility of experiments.

Parameters:

seed (int) – any value you want