Skip to content

Commit a58c60e

Browse files
Update phishing_email_detection_gpt2.py
Lower gradient_accumulation_steps to 2.
1 parent 81f5a19 commit a58c60e

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
@@ -65,7 +65,7 @@
6565
learning_rate = 3 * 10 ** -4 # 3 * 10 ** -3
6666
epochs = 15 #
6767
batch_size = 10 # 17
68-
gradient_accumulation_steps = 3
68+
gradient_accumulation_steps = 2
6969
minimum_levels = 2
7070
maximum_levels = 2 # [3,7]
7171

0 commit comments

Comments
 (0)