|
# π§ Beast Spam Detector |
|
|
|
This is a spam detection model built from scratch using PyTorch. It includes: |
|
|
|
- Custom tokenizer |
|
- CNN + BiLSTM model |
|
- Trained weights (.pt and .safetensors) |
|
- Easy-to-use inference script |
|
|
|
## π¦ Usage |
|
|
|
```bash |
|
python check_spam.py |
|
``` |
|
|
|
Type your email content and press Enter twice to get prediction. |
|
|
|
## π§ Model |
|
|
|
Built using custom tokenizer and a CNN+LSTM-based architecture. Safe to use. |
|
|
|
## π Files |
|
|
|
- `beast_spam_model.pt`: PyTorch weights |
|
- `beast_spam_model.safetensors`: Safe format model |
|
- `model.py`: Tokenizer + model |
|
- `check_spam.py`: Inference script |
|
|