changes to training + added autoencoder

This commit is contained in:
RobinMeersman 2025-12-13 17:53:01 +01:00
parent 6e591bb470
commit a4a41d190b
7 changed files with 91 additions and 55 deletions

View file

@ -10,7 +10,8 @@ class Trainer(ABC):
@abstractmethod
def execute(
self,
model: nn.Module | None,
model: nn.Module | type[nn.Module] | None,
context_length: int,
train_loader: DataLoader,
validation_loader: DataLoader,
n_epochs: int | None,