in pipelines/ml_ai_python/ml_ai_pipeline/model_handlers.py [0:0]
2 lines of code
1 McCabe index (conditional complexity)
def load_model(self) -> GemmaCausalLM:
"""Loads and initializes a model for processing."""
return keras_nlp.models.GemmaCausalLM.from_preset(self._model_name)