(self)
Load trained model from bytes on disk, using :attr:`LangIdentifier.model_base`
        as the framework into which the data is fit.
Load trained model from bytes on disk, using :attr:`LangIdentifier.model_base`
        as the framework into which the data is fit.
Load trained model from bytes on disk using : attr : LangIdentifier . model_base as the framework into which the data is fit .
def load_model(self) -> Model:
        """
        Load trained model from bytes on disk, using :attr:`LangIdentifier.model_base`
        as the framework into which the data is fit.
        """
        try:
            LOGGER.debug("loading LangIdentifier model from %s", self.model_fpath)
            return self._model_base.from_disk(self.model_fpath)
        except FileNotFoundError:
            LOGGER.exception(
                "LangIdentifier model not found at %s -- have you downloaded it yet?",
                self.model_fpath,
            )
            raise
def load_model ( self ) -> Model : try : LOGGER . debug ( "loading LangIdentifier model from %s" , self . model_fpath ) return self . _model_base . from_disk ( self . model_fpath ) except FileNotFoundError : LOGGER . exception ( "LangIdentifier model not found at %s -- have you downloaded it yet?" , self . model_fpath , ) raise