Load the model from the given path. This method is optional and can be overridden by subclasses if needed.
(self, model_name_or_path: str, **kwargs: Any)
| 20 | pass |
| 21 | |
| 22 | def load_model(self, model_name_or_path: str, **kwargs: Any): |
| 23 | """ |
| 24 | Load the model from the given path. |
| 25 | This method is optional and can be overridden by subclasses if needed. |
| 26 | """ |
| 27 | raise NotImplementedError("This method should be implemented by subclasses.") |
nothing calls this directly
no outgoing calls
no test coverage detected