code: def _get_args():
      parser = ArgumentParser()
      parser.add_argument(
          "-c",
          "--checkpoint-path",
          type=str,
          default="CodeShell-7B-Chat",
          help="Checkpoint name or path, default to %(default)r",
      )
      parser.add_argument(
          "--device", type=str, default="cpu", help="Device name."
      )
      parser.add_argument(
          "--server-port",
          type=int,
          default=8080,
          help="Demo server port.",
      )
      parser.add_argument(
          "--server-name",
          type=str,
          default="127.0.0.1",
          help="Demo server name. Default: 127.0.0.1, which is only visible from the local computer."
          " If you want other computers to access your server, use 0.0.0.0 instead.",
      )
      parser.add_argument(
          "--multi-turn",
          action="store_true",
          help="Enable multi-turn chat",
      )
      parser.add_argument(
          "--cpu-embedding",
          action="store_true",
          help="Move Embedding layer to CPU",
      )
      parser.add_argument(
          "--max-context",
          type=int,
          default=300,
          help="Max context length when using code completion",
      )
  
      args = parser.parse_args()
      return args
  
imports: import time
  import json
  from tqdm import tqdm
  from argparse import ArgumentParser
  from typing import Dict, List
  from threading import Thread
  import torch
  import uvicorn
  from fastapi import FastAPI
  from fastapi.responses import JSONResponse
  from fastapi.middleware.cors import CORSMiddleware
  from pydantic import BaseModel
  from transformers import AutoTokenizer
  from bigdl.llm.transformers import AutoModelForCausalLM, AutoModel
  from transformers.generation import GenerationConfig, TextIteratorStreamer
  from transformers import StoppingCriteriaList, StoppingCriteria
  from sse_starlette.sse import EventSourceResponse
label_desc: Use image node_id 1 for calling a global function with example usage: _get_args() and returns: args