Instructions to use Akash-Sakala/bert-phishing-classifier_teacher with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Akash-Sakala/bert-phishing-classifier_teacher with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Akash-Sakala/bert-phishing-classifier_teacher")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Akash-Sakala/bert-phishing-classifier_teacher") model = AutoModelForSequenceClassification.from_pretrained("Akash-Sakala/bert-phishing-classifier_teacher") - 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.2569
- Accuracy: 0.895
- Precision: 0.918
- Recall: 0.867
- F1: 0.892
- Auc: 0.963
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: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 0.1
- num_epochs: 3
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Auc |
|---|---|---|---|---|---|---|---|---|
| 0.3139 | 1.0 | 9625 | 0.2644 | 0.892 | 0.918 | 0.86 | 0.888 | 0.961 |
| 0.3096 | 2.0 | 19250 | 0.2569 | 0.895 | 0.912 | 0.873 | 0.892 | 0.963 |
| 0.3057 | 3.0 | 28875 | 0.2569 | 0.895 | 0.918 | 0.867 | 0.892 | 0.963 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 1
Model tree for Akash-Sakala/bert-phishing-classifier_teacher
Base model
google-bert/bert-base-uncased