code: def get(tag_like: str | Tag) -> bentoml.Model:
      """
      Get the BentoML model with the given tag.
  
      Args:
          tag_like: 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.fastai.get("fai_learner")
      """
      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}, failed to load with {MODULE_NAME}."
          )
      return model
  
file_path: BentoML/src/bentoml/_internal/frameworks/fastai.py
imports: from __future__ import annotations
  import contextlib
  import logging
  import typing
  from types import ModuleType
  from typing import TYPE_CHECKING
  import bentoml
  from ...exceptions import BentoMLException
  from ...exceptions import InvalidArgument
  from ...exceptions import MissingDependencyException
  from ...exceptions import NotFound
  from ..models.model import ModelContext
  from ..utils.pkg import get_pkg_version
  from .common.pytorch import PyTorchTensorContainer
label_desc: Use image node_id 1 for calling a global function with example usage: get(tag_like) and returns: model