peeyush01 commited on
Commit
83a9d94
·
verified ·
1 Parent(s): ec1e23d

peeyushdutt/phishing-url-bert-tiny-v1

Browse files
Files changed (4) hide show
  1. README.md +76 -0
  2. config.json +30 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: CrabInHoney/urlbert-tiny-v4-phishing-classifier
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: urlbert_results
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # urlbert_results
21
+
22
+ This model is a fine-tuned version of [CrabInHoney/urlbert-tiny-v4-phishing-classifier](https://huggingface.co/CrabInHoney/urlbert-tiny-v4-phishing-classifier) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0654
25
+ - Accuracy: 0.9888
26
+ - F1: 0.9749
27
+ - Precision: 0.9822
28
+ - Recall: 0.9676
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 1e-05
48
+ - train_batch_size: 64
49
+ - eval_batch_size: 64
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 10
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
59
+ | 0.0645 | 1.0 | 6023 | 0.0649 | 0.9886 | 0.9743 | 0.9872 | 0.9618 |
60
+ | 0.0600 | 2.0 | 12046 | 0.0585 | 0.9885 | 0.9744 | 0.9804 | 0.9685 |
61
+ | 0.0628 | 3.0 | 18069 | 0.0575 | 0.9881 | 0.9736 | 0.9781 | 0.9691 |
62
+ | 0.0560 | 4.0 | 24092 | 0.0599 | 0.9885 | 0.9743 | 0.9802 | 0.9686 |
63
+ | 0.0520 | 5.0 | 30115 | 0.0689 | 0.9882 | 0.9734 | 0.9853 | 0.9618 |
64
+ | 0.0488 | 6.0 | 36138 | 0.0685 | 0.9883 | 0.9738 | 0.9851 | 0.9628 |
65
+ | 0.0462 | 7.0 | 42161 | 0.0638 | 0.9887 | 0.9747 | 0.9824 | 0.9672 |
66
+ | 0.0474 | 8.0 | 48184 | 0.0703 | 0.9885 | 0.9742 | 0.9846 | 0.9640 |
67
+ | 0.0409 | 9.0 | 54207 | 0.0649 | 0.9887 | 0.9748 | 0.9822 | 0.9675 |
68
+ | 0.0457 | 10.0 | 60230 | 0.0654 | 0.9888 | 0.9749 | 0.9822 | 0.9676 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 5.2.0
74
+ - Pytorch 2.10.0+cu126
75
+ - Datasets 4.5.0
76
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": null,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 192,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 768,
16
+ "is_decoder": false,
17
+ "layer_norm_eps": 1e-12,
18
+ "max_position_embeddings": 64,
19
+ "model_type": "bert",
20
+ "num_attention_heads": 8,
21
+ "num_hidden_layers": 8,
22
+ "pad_token_id": 0,
23
+ "position_embedding_type": "absolute",
24
+ "problem_type": "single_label_classification",
25
+ "tie_word_embeddings": true,
26
+ "transformers_version": "5.2.0",
27
+ "type_vocab_size": 2,
28
+ "use_cache": false,
29
+ "vocab_size": 400
30
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c458f48c9dc652402c764926bd48fe42bb57fa7ec8ab10a03cc54849f44ea23
3
+ size 14760296
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25f6ce33340cb64dccefd51fae842c23086c383ccef0bc67be4774f3bead68a8
3
+ size 5201