class_docstr: Args:
      version
      data_dir
  
  Attributes:
      model
      classes
class_docstr_tok: ["Args",":","version","data_dir","Attributes",":","model","classes"]
docstr: Load trained model from disk.
docstr_tok: ["Load","trained","model","from","disk","."]
code: def load_model(self) -> _floret:
      """Load trained model from disk."""
      try:
          LOGGER.debug(
              "loading LangIdentifier model from %s", self.model_fpath
          )
          return floret.load_model(str(self.model_fpath))
      except FileNotFoundError:
          LOGGER.exception(
              "LangIdentifier model not found at %s -- have you downloaded it yet?",
              self.model_fpath,
          )
          raise
  
imports: from __future__ import annotations
  import logging
  import pathlib
  import urllib.parse
  import floret
  from floret.floret import _floret
  from ..None import utils
  from ..constants import DEFAULT_DATA_DIR
label_desc: Use image node_id 8 for calling the LangIdentifier obj's underlying member method code with example usage: obj.load_model() and returns: floret