class_docstr: DJL build logic for ModelBuilder()
class_docstr_tok: ["DJL","build","logic","for","ModelBuilder","(",")"]
docstr: Placeholder docstring
docstr_tok: ["Placeholder","docstring"]
code: def _create_pre_trained_js_model(self) -> Type[Model]:
      """Placeholder docstring"""
      pysdk_model = JumpStartModel(self.model)
      pysdk_model.sagemaker_session = self.sagemaker_session
  
      self._original_deploy = pysdk_model.deploy
      pysdk_model.deploy = self._js_builder_deploy_wrapper
      return pysdk_model
  
imports: from __future__ import absolute_import
  from abc import ABC, abstractmethod
  from typing import Type
  import logging
  from sagemaker.model import Model
  from sagemaker import model_uris
  from sagemaker.serve.model_server.djl_serving.prepare import prepare_djl_js_resources
  from sagemaker.serve.model_server.tgi.prepare import prepare_tgi_js_resources, _create_dir_structure
  from sagemaker.serve.mode.function_pointers import Mode
  from sagemaker.serve.utils.predictors import DjlLocalModePredictor, TgiLocalModePredictor
  from sagemaker.serve.utils.local_hardware import _get_nb_instance, _get_ram_usage_mb
  from sagemaker.serve.utils.telemetry_logger import _capture_telemetry
  from sagemaker.serve.utils.types import ModelServer
  from sagemaker.base_predictor import PredictorBase
  from sagemaker.jumpstart.model import JumpStartModel
label_desc: Use image node_id 5 for calling the JumpStart obj's underlying member method code with example usage: obj._create_pre_trained_js_model() and returns: pysdk_model