code: def _create_train_job(version, base_framework_version):
      return {
          "image_uri": get_full_gpu_image_uri(
              version, base_framework_version
          ),
          "input_mode": "File",
          "input_config": [
              {
                  "ChannelName": "training",
                  "DataSource": {
                      "S3DataSource": {
                          "S3DataDistributionType": "FullyReplicated",
                          "S3DataType": "S3Prefix",
                      }
                  },
              }
          ],
          "role": ROLE,
          "job_name": JOB_NAME,
          "output_config": {
              "S3OutputPath": "s3://{}/".format(BUCKET_NAME)
          },
          "resource_config": {
              "InstanceType": GPU_INSTANCE_TYPE,
              "InstanceCount": 1,
              "VolumeSizeInGB": 30,
          },
          "hyperparameters": {
              "sagemaker_program": json.dumps("dummy_script.py"),
              "sagemaker_container_log_level": str(logging.INFO),
              "sagemaker_job_name": json.dumps(JOB_NAME),
              "sagemaker_submit_directory": json.dumps(
                  "s3://{}/{}/source/sourcedir.tar.gz".format(
                      BUCKET_NAME, JOB_NAME
                  )
              ),
              "sagemaker_region": '"us-east-1"',
          },
          "stop_condition": {"MaxRuntimeInSeconds": 24 * 60 * 60},
          "tags": None,
          "vpc_config": None,
          "metric_definitions": None,
          "environment": None,
          "retry_strategy": None,
          "experiment_config": None,
          "debugger_hook_config": {
              "CollectionConfigurations": [],
              "S3OutputPath": "s3://{}/".format(BUCKET_NAME),
          },
          "profiler_config": {
              "DisableProfiler": False,
              "S3OutputPath": "s3://{}/".format(BUCKET_NAME),
          },
      }
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/huggingface/test_estimator.py
imports: from __future__ import absolute_import
  import logging
  import json
  import os
  import pytest
  from mock import MagicMock, Mock, patch
  from sagemaker.huggingface import HuggingFace, HuggingFaceModel
  from sagemaker.session_settings import SessionSettings
  from .huggingface_utils import get_full_gpu_image_uri, GPU_INSTANCE_TYPE, REGION
label_desc: Use image node_id 3 for calling a global function with example usage: _create_train_job(version, base_framework_version) and returns: dict