Instructions to use cleathley-dapth/bert-phishing-classifier-teacher with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cleathley-dapth/bert-phishing-classifier-teacher with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cleathley-dapth/bert-phishing-classifier-teacher")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cleathley-dapth/bert-phishing-classifier-teacher") model = AutoModelForSequenceClassification.from_pretrained("cleathley-dapth/bert-phishing-classifier-teacher", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-phishing-classifier-teacher
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.2894
- Accuracy: 0.878
- Auc: 0.951
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 OptimizerNames.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.5004 | 1.0 | 263 | 0.3824 | 0.811 | 0.909 |
| 0.3798 | 2.0 | 526 | 0.3567 | 0.833 | 0.934 |
| 0.3914 | 3.0 | 789 | 0.3284 | 0.838 | 0.943 |
| 0.3755 | 4.0 | 1052 | 0.4358 | 0.809 | 0.941 |
| 0.3415 | 5.0 | 1315 | 0.3250 | 0.864 | 0.945 |
| 0.3378 | 6.0 | 1578 | 0.3317 | 0.864 | 0.946 |
| 0.32 | 7.0 | 1841 | 0.2918 | 0.882 | 0.948 |
| 0.3321 | 8.0 | 2104 | 0.2912 | 0.882 | 0.95 |
| 0.3102 | 9.0 | 2367 | 0.2868 | 0.873 | 0.951 |
| 0.3186 | 10.0 | 2630 | 0.2894 | 0.878 | 0.951 |
Framework versions
- Transformers 4.53.0.dev0
- Pytorch 2.7.0+cu118
- Datasets 3.6.0
- Tokenizers 0.21.1
- Downloads last month
- 5
Model tree for cleathley-dapth/bert-phishing-classifier-teacher
Base model
google-bert/bert-base-uncased