src/transformers/integrations.py/NeptuneCallback/_initialize_run
class NeptuneCallback:    def _initialize_run(self, **additional_neptune_kwargs):
        from neptune.new import init_run
        from neptune.new.exceptions import NeptuneMissingApiTokenException, NeptuneMissingProjectNameException

        self._stop_run_if_exists()

        try:
            self._run = init_run(**self._init_run_kwargs, **additional_neptune_kwargs)
            self._run_id = self._run["sys/id"].fetch()
        except (NeptuneMissingProjectNameException, NeptuneMissingApiTokenException) as e:
            raise NeptuneMissingConfiguration() from e