src/transformers/integrations.py/NeptuneCallback/_log_model_parameters
class NeptuneCallback:    def _log_model_parameters(self, model):
        if model and hasattr(model, "config") and model.config is not None:
            self._metadata_namespace[NeptuneCallback.model_parameters_key] = model.config.to_dict()