src/transformers/configuration_utils.py/PretrainedConfig/__eq__
class PretrainedConfig:    def __eq__(self, other):
        return isinstance(other, PretrainedConfig) and (self.__dict__ == other.__dict__)