Instructions to use bukhanovskyi/bert-phishing-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bukhanovskyi/bert-phishing-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="bukhanovskyi/bert-phishing-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("bukhanovskyi/bert-phishing-classifier") model = AutoModelForSequenceClassification.from_pretrained("bukhanovskyi/bert-phishing-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-phishing-classifier
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.2877
- Accuracy: 0.873
- Auc: 0.952
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_FUSED 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.4892 | 1.0 | 263 | 0.3822 | 0.822 | 0.923 |
| 0.3957 | 2.0 | 526 | 0.3464 | 0.847 | 0.938 |
| 0.3737 | 3.0 | 789 | 0.3060 | 0.876 | 0.943 |
| 0.3495 | 4.0 | 1052 | 0.3601 | 0.847 | 0.946 |
| 0.3447 | 5.0 | 1315 | 0.3223 | 0.862 | 0.948 |
| 0.3260 | 6.0 | 1578 | 0.3037 | 0.878 | 0.95 |
| 0.3073 | 7.0 | 1841 | 0.2917 | 0.869 | 0.949 |
| 0.3272 | 8.0 | 2104 | 0.2894 | 0.878 | 0.951 |
| 0.3149 | 9.0 | 2367 | 0.2805 | 0.876 | 0.952 |
| 0.3030 | 10.0 | 2630 | 0.2877 | 0.873 | 0.952 |
Framework versions
- Transformers 5.13.1
- Pytorch 2.12.1
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- 2
Model tree for bukhanovskyi/bert-phishing-classifier
Base model
google-bert/bert-base-uncased