Instructions to use thesurveycorps/bert-phishing-classfier-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thesurveycorps/bert-phishing-classfier-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="thesurveycorps/bert-phishing-classfier-1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("thesurveycorps/bert-phishing-classfier-1") model = AutoModelForSequenceClassification.from_pretrained("thesurveycorps/bert-phishing-classfier-1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-phishing-classfier-1
This model is a fine-tuned version of google-bert/bert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.2918
- Accuracy: 0.878
- Auc: 0.953
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.0002
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Auc |
|---|---|---|---|---|---|
| 0.3104 | 1.0 | 263 | 0.3772 | 0.833 | 0.941 |
| 0.3616 | 2.0 | 526 | 0.3417 | 0.86 | 0.946 |
| 0.3715 | 3.0 | 789 | 0.2955 | 0.871 | 0.947 |
| 0.3563 | 4.0 | 1052 | 0.4210 | 0.824 | 0.947 |
| 0.3419 | 5.0 | 1315 | 0.3190 | 0.876 | 0.95 |
| 0.3481 | 6.0 | 1578 | 0.2948 | 0.876 | 0.952 |
| 0.314 | 7.0 | 1841 | 0.2848 | 0.876 | 0.952 |
| 0.3219 | 8.0 | 2104 | 0.2912 | 0.876 | 0.952 |
| 0.3131 | 9.0 | 2367 | 0.2828 | 0.869 | 0.953 |
| 0.3033 | 10.0 | 2630 | 0.2918 | 0.878 | 0.953 |
Framework versions
- Transformers 4.55.0
- Pytorch 2.5.1
- Datasets 4.0.0
- Tokenizers 0.21.4
- Downloads last month
- 7
Model tree for thesurveycorps/bert-phishing-classfier-1
Base model
google-bert/bert-base-uncased