dev.train #8

Merged
gape_01 merged 50 commits from dev.train into dev 2025-10-17 22:20:14 +02:00
Showing only changes of commit 79438e3d30 - Show all commits

View File

@ -332,6 +332,9 @@ while current_epoch < MAX_EPOCHS:
if counter > 1: if counter > 1:
patience += 1 patience += 1
if counter == 0:
patience = max(0, patience - 1)
txt_train_avg_loss = sum(text_batch_losses) / len(text_batch_losses) txt_train_avg_loss = sum(text_batch_losses) / len(text_batch_losses)