Source code for swarmauri.core.llms.IFit

from abc import ABC, abstractmethod

[docs] class IFit(ABC): """ Interface for training models. """
[docs] @abstractmethod def fit(self, X_train, y_train, epochs: int, batch_size: int) -> None: """ Train the model on the provided dataset. """ pass