class_docstr: Base class for LIT models.
docstr: Load and return a new instance of this model loaded from a new path.
  
  By default this method does nothing. Models can override this method in
  order to allow dynamic model loading in LIT through the UI. Models
  overriding this method should use the provided path string and create and
  return a new instance of its model class.
  
  Args:
    path: The path to the persisted model information, used in model's
    construction.
  
  Returns:
    (Model) A model loaded with information from the provided path.
docstr_tok: ["Load","and","return","a","new","instance","of","this","model","loaded","from","a","new","path",".","By","default","this","method","does","nothing",".","Models","can","override","this","method","in","order","to","allow","dynamic","model","loading","in","LIT","through","the","UI",".","Models","overriding","this","method","should","use","the","provided","path","string","and","create","and","return","a","new","instance","of","its","model","class",".","Args",":","path",":","The","path","to","the","persisted","model","information",",","used","in","model's","construction",".","Returns",":","(","Model",")","A","model","loaded","with","information","from","the","provided","path","."]
code: def load(self, path: str):
      """Load and return a new instance of this model loaded from a new path.
  
      By default this method does nothing. Models can override this method in
      order to allow dynamic model loading in LIT through the UI. Models
      overriding this method should use the provided path string and create and
      return a new instance of its model class.
  
      Args:
        path: The path to the persisted model information, used in model's
        construction.
  
      Returns:
        (Model) A model loaded with information from the provided path.
      """
      del path
      raise NotImplementedError(
          "Model has no load method defined for dynamic " "loading"
      )
  
imports: import abc
  from collections.abc import Iterable, Iterator
  import inspect
  import itertools
  import multiprocessing
  from typing import Optional, Union
  from absl import logging
  from lit_nlp.api import dataset
  from lit_nlp.api import types
  from lit_nlp.lib import utils
  import numpy
label_desc: Use image node_id 5 for calling the Model obj's underlying member method code with example usage: obj.load(path) without return types