File size: 722 Bytes
b58e8c3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# BERT Gmail Spam Detector

## Description
This model is a fine-tuned version of BERT (DistilBERT) designed to detect spam messages and emails. It was developed as part of our graduation project (Project de Fin d'Études - PFE).

## Project Details
- **Developed by:** Ahnich Imad & Imrane Ait Ouaouch
- **Supervised by:** P. Qostal
- **Task:** Binary Classification (Spam vs Ham)

## How to use
You can use this model with the Hugging Face `transformers` library:

```python
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("ImadQL/bert-gmail-spam-detector")
model = AutoModelForSequenceClassification.from_pretrained("ImadQL/bert-gmail-spam-detector")