def set_seed(seed):
    """
    For reproducible training

    Args:
        seed: A seed for reproducible training

    """
    random.seed(seed)
    np.random.seed(seed)
    torch.manual_seed(seed)
    torch.cuda.manual_seed_all(seed)

    For reproducible training

    Args:
        seed: A seed for reproducible training

    
dpkd/transformers/examples/research_projects/information-gain-filtration/igf/igf.py