code: def get_model_server_instance(self, model) -> HuggingFaceServer:
      if model not in self.model_server_instances:
          model_config = get_huggingface_model_config(model)
          if model_config:
              self.model_server_instances[model] = HuggingFaceServer(
                  model_config
              )
          elif model == "EleutherAI/gpt-j-6B":
              self.model_server_instances[model] = HuggingFaceServer(
                  HuggingFaceModelConfig.from_string(
                      "EleutherAI/gpt-j-6B"
                  )
              )
          elif model == "huggingface/gpt2":
              self.model_server_instances[model] = HuggingFaceServer(
                  HuggingFaceModelConfig.from_string("gpt2")
              )
          elif model == "bigcode/santacoder":
              self.model_server_instances[model] = HuggingFaceServer(
                  HuggingFaceModelConfig.from_string(
                      "bigcode/santacoder"
                  )
              )
          elif model == "huggingface/starcoder":
              self.model_server_instances[model] = HuggingFaceServer(
                  HuggingFaceModelConfig.from_string(
                      "bigcode/starcoder"
                  )
              )
          else:
              raise Exception(f"Unknown HuggingFace model: {model}")
  
      return self.model_server_instances[model]
  
imports: from copy import deepcopy
  import torch
  from dataclasses import asdict
  from transformers import AutoModelForCausalLM, AutoTokenizer
  from typing import Any, Dict, List
  from helm.common.cache import Cache, CacheConfig
  from helm.common.hierarchical_logger import htrack_block, hlog
  from helm.common.request import EMBEDDING_UNAVAILABLE_REQUEST_RESULT, Request, RequestResult, Sequence, Token
  from helm.common.tokenization_request import TokenizationRequest, TokenizationRequestResult, DecodeRequest, DecodeRequestResult, TokenizationToken
  from .client import Client, wrap_request_time, truncate_sequence
  from .huggingface_tokenizer import HuggingFaceTokenizers
  from helm.proxy.clients.huggingface_model_registry import HuggingFaceModelConfig, get_huggingface_model_config
label_desc: Use image node_id 2 for calling the HuggingFaceClient obj's underlying member method code with example usage: obj.get_model_server_instance(model) and returns: self