David-Egea/phishing-texts
Viewer • Updated • 20.3k • 72 • 4
How to use David-Egea/bert-small-phishing with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="David-Egea/bert-small-phishing") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("David-Egea/bert-small-phishing")
model = AutoModelForSequenceClassification.from_pretrained("David-Egea/bert-small-phishing")This model is a fine-tuned version of prajjwal1/bert-small on the None dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.202 | 1.0 | 762 | 0.0941 | 0.9717 | 0.9728 | 0.9520 | 0.9623 |
| 0.077 | 2.0 | 1524 | 0.0964 | 0.9764 | 0.9757 | 0.9617 | 0.9686 |
| 0.0428 | 3.0 | 2286 | 0.0992 | 0.9786 | 0.9739 | 0.9695 | 0.9717 |
| 0.0248 | 4.0 | 3048 | 0.1006 | 0.9766 | 0.9713 | 0.9669 | 0.9691 |
Base model
prajjwal1/bert-small