Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use alex-smith/bert-phishing-classifier_teacher with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alex-smith/bert-phishing-classifier_teacher with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alex-smith/bert-phishing-classifier_teacher")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("alex-smith/bert-phishing-classifier_teacher") model = AutoModelForSequenceClassification.from_pretrained("alex-smith/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.2886
- Accuracy: 0.867
- 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.4997 | 1.0 | 263 | 0.3847 | 0.807 | 0.912 |
| 0.408 | 2.0 | 526 | 0.3391 | 0.84 | 0.931 |
| 0.3552 | 3.0 | 789 | 0.3126 | 0.851 | 0.94 |
| 0.3565 | 4.0 | 1052 | 0.3467 | 0.849 | 0.946 |
| 0.3529 | 5.0 | 1315 | 0.3449 | 0.86 | 0.948 |
| 0.3486 | 6.0 | 1578 | 0.2922 | 0.869 | 0.951 |
| 0.3354 | 7.0 | 1841 | 0.2875 | 0.876 | 0.95 |
| 0.3124 | 8.0 | 2104 | 0.2879 | 0.871 | 0.95 |
| 0.3127 | 9.0 | 2367 | 0.2838 | 0.869 | 0.951 |
| 0.315 | 10.0 | 2630 | 0.2886 | 0.867 | 0.951 |
Framework versions
- Transformers 4.50.3
- Pytorch 2.6.0+cu124
- Datasets 3.5.0
- Tokenizers 0.21.1
- Downloads last month
- 7
Model tree for alex-smith/bert-phishing-classifier_teacher
Base model
google-bert/bert-base-uncased