We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca7b34f commit e1edde3Copy full SHA for e1edde3
phishing_email_detection_gpt2.py
@@ -34,7 +34,7 @@
34
35
# Text encoding / embedding related constants
36
37
-MAX_SEQ_LENGTH = 1536 # (baseline from text classification model)
+MAX_SEQ_LENGTH = 500 # (baseline from text classification model)
38
39
tokenizer_checkpoint = "HuggingFaceTB/SmolLM3-3B" # "HuggingFaceTB/SmolLM2-1.7B-Instruct"
40
tokenizer = AutoTokenizer.from_pretrained(tokenizer_checkpoint)
0 commit comments