Skip to content

Commit 8d21323

Browse files
Update phishing_email_detection_gpt2.py
Lower sequence lenght
1 parent caee4e8 commit 8d21323

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
@@ -26,7 +26,7 @@
2626
# Text encoding / embedding related constants
2727

2828

29-
MAX_SEQ_LENGTH = 1536
29+
MAX_SEQ_LENGTH = 196 # 1536
3030

3131
tokenizer_checkpoint = "HuggingFaceTB/SmolLM3-3B" # "HuggingFaceTB/SmolLM2-1.7B-Instruct"
3232
tokenizer = AutoTokenizer.from_pretrained(tokenizer_checkpoint)

0 commit comments

Comments
 (0)