Instructions to use Dawood4893723/Phishing_URL_Detection_BERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dawood4893723/Phishing_URL_Detection_BERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Dawood4893723/Phishing_URL_Detection_BERT")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Dawood4893723/Phishing_URL_Detection_BERT") model = AutoModelForSequenceClassification.from_pretrained("Dawood4893723/Phishing_URL_Detection_BERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Phishing_URL_Detection_BERT
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.2763
- Accuracy: 0.876
- Auc: 0.956
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 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.3237 | 1.0 | 263 | 0.3152 | 0.844 | 0.939 |
| 0.361 | 2.0 | 526 | 0.3162 | 0.844 | 0.944 |
| 0.3635 | 3.0 | 789 | 0.2981 | 0.867 | 0.949 |
| 0.3294 | 4.0 | 1052 | 0.3326 | 0.878 | 0.95 |
| 0.3447 | 5.0 | 1315 | 0.2933 | 0.88 | 0.951 |
| 0.3228 | 6.0 | 1578 | 0.2780 | 0.871 | 0.955 |
| 0.3199 | 7.0 | 1841 | 0.2780 | 0.88 | 0.953 |
| 0.3005 | 8.0 | 2104 | 0.2776 | 0.871 | 0.955 |
| 0.3357 | 9.0 | 2367 | 0.2715 | 0.878 | 0.956 |
| 0.3122 | 10.0 | 2630 | 0.2763 | 0.876 | 0.956 |
Framework versions
- Transformers 4.57.0
- Pytorch 2.5.1+cu121
- Datasets 4.2.0
- Tokenizers 0.22.1
- Downloads last month
- 3
Model tree for Dawood4893723/Phishing_URL_Detection_BERT
Base model
google-bert/bert-base-uncased