Skip to content

Commit edf5100

Browse files
Update phishing_email_detection_gpt2.py
Go back to batch size = 7. Performing great with 15, but too many out of memory fails ...
1 parent 2759e1c commit edf5100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phishing_email_detection_gpt2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
num_lateral_connection_tries_per_unit = 25
6565
learning_rate = 3 * 10 ** -4 # 3 * 10 ** -3
6666
epochs = 15 #
67-
batch_size = 17
67+
batch_size = 7 # 17
6868
gradient_accumulation_steps = 1
6969
minimum_levels = 2
7070
maximum_levels = 2 # [3,7]

0 commit comments

Comments
 (0)