Skip to content

Releases: gereoffy/deepspam2

model6e25-jo10

08 Nov 18:22
Compare
Choose a tag to compare

trained ds2 model, based on v6 spm tokenizer + 25-epoch word2vec trained on 12GB multilanguage lowercased text.
cnn classifier trained on 200k email messages, selected the best checkpoint from ~150 runs:
88.792 (1/15) ham: 94.99/1.71 (3.454) spam: 96.74/0.77 (97.498) [model/deepspam.pt] 7.89s (12802+14476)

Requirements:

  • Python 3.8+ (3.10/3.11 recommended)
  • PyTorch: to install CPU-only version use: pip3 install torch --index-url https://download.pytorch.org/whl/cpu
  • SentencePiece: pip3 install sentencepiece

Postfix configuration:

smtpd_milters = inet:127.0.0.1:1081  
milter_default_action = accept