simpletransformers/language_modeling/language_modeling_model.py
def is_world_master(self) -> bool:
        """
        This will be True only in one process, even in distributed mode,
        even when training on multiple machines.
        """
        return self.args.local_rank == -1 or torch.distributed.get_rank() == 0

        This will be True only in one process, even in distributed mode,
        even when training on multiple machines.
        
This will be True only in one process, even in distributed mode,
even when training on multiple machines.
This will be True only in one process even in distributed mode even when training on multiple machines .
def is_world_master(self) -> bool:
        return self.args.local_rank == -1 or torch.distributed.get_rank() == 0
def is_world_master ( self ) -> bool : return self . args . local_rank == - 1 or torch . distributed . get_rank ( ) == 0
This will be True only in one process, even in distributed mode,
even when training on multiple machines.
This will be True only in one process even in distributed mode even when training on multiple machines .
"""
        This will be True only in one process, even in distributed mode,
        even when training on multiple machines.
        """
self