Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use polinaShyshkina/bert-phishing-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use polinaShyshkina/bert-phishing-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="polinaShyshkina/bert-phishing-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("polinaShyshkina/bert-phishing-classifier") model = AutoModelForSequenceClassification.from_pretrained("polinaShyshkina/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 the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.3705
- Accuracy: 0.823
- Auc: 0.907
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.0005
- train_batch_size: 16
- eval_batch_size: 16
- 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.4721 | 1.0 | 12129 | 0.4192 | 0.796 | 0.877 |
| 0.4368 | 2.0 | 24258 | 0.4035 | 0.803 | 0.888 |
| 0.4211 | 3.0 | 36387 | 0.3996 | 0.807 | 0.892 |
| 0.4107 | 4.0 | 48516 | 0.3857 | 0.815 | 0.897 |
| 0.4031 | 5.0 | 60645 | 0.3806 | 0.819 | 0.9 |
| 0.3962 | 6.0 | 72774 | 0.3838 | 0.819 | 0.903 |
| 0.3907 | 7.0 | 84903 | 0.3740 | 0.822 | 0.904 |
| 0.3865 | 8.0 | 97032 | 0.3901 | 0.815 | 0.906 |
| 0.3802 | 9.0 | 109161 | 0.3690 | 0.825 | 0.907 |
| 0.3777 | 10.0 | 121290 | 0.3681 | 0.826 | 0.908 |
Framework versions
- Transformers 4.52.4
- Pytorch 2.6.0+cu124
- Datasets 2.14.4
- Tokenizers 0.21.1
- Downloads last month
- 6
Model tree for polinaShyshkina/bert-phishing-classifier
Base model
google-bert/bert-base-uncased