changes to training + added autoencoder
This commit is contained in:
parent
6e591bb470
commit
a4a41d190b
7 changed files with 91 additions and 55 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Reference in a new issue