code: def get(tag_like: str | Tag) -> bentoml.Model:
      """
      Get the BentoML model with the given tag.
  
      Args:
          tag_like (``str`` ``|`` :obj:`~bentoml.Tag`):
              The tag of the model to retrieve from the model store.
  
      Returns:
          :obj:`~bentoml.Model`: A BentoML :obj:`~bentoml.Model` with the matching tag.
  
      Example:
  
      .. code-block:: python
  
          import bentoml
          # target model must be from the BentoML model store
          model = bentoml.catboost.get("my_catboost_model")
      """
      model = bentoml.models.get(tag_like)
      if model.info.module not in (MODULE_NAME, __name__):
          raise NotFound(
              f"Model {model.tag} was saved with module {model.info.module}, not loading with {MODULE_NAME}."
          )
      return model
  
imports: from __future__ import annotations
  import logging
  import os
  import typing
  from types import ModuleType
  from typing import TYPE_CHECKING
  import attr
  import numpy
  import bentoml
  from bentoml import Tag
  from bentoml.exceptions import BentoMLException
  from bentoml.exceptions import InvalidArgument
  from bentoml.exceptions import MissingDependencyException
  from bentoml.exceptions import NotFound
  from bentoml.models import ModelOptions
  from ..models.model import ModelContext
  from ..utils.pkg import get_pkg_version
label_desc: Use image node_id 1 for calling a global function with example usage: get(tag_like) and returns: model