Skip to content

Commit caee4e8

Browse files
Update phishing_email_detection_gpt2.py
Try gradient accumulation steps = 2, batch size = 7.
1 parent a58c60e commit caee4e8

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 = 10 # 17
67+
batch_size = 7 # 17
6868
gradient_accumulation_steps = 2
6969
minimum_levels = 2
7070
maximum_levels = 2 # [3,7]

0 commit comments

Comments
 (0)