peeyush01 commited on
Commit
1edcd9d
·
verified ·
1 Parent(s): 973320b

peeyushdutt/phishing-url-bert-tiny-v1

Browse files
Files changed (4) hide show
  1. README.md +69 -0
  2. config.json +30 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.0735
25
+ - Accuracy: 0.9886
26
+ - F1: 0.9744
27
+ - Precision: 0.9823
28
+ - Recall: 0.9667
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: 3
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
59
+ | 0.0451 | 1.0 | 6023 | 0.0791 | 0.9876 | 0.9721 | 0.9851 | 0.9595 |
60
+ | 0.0401 | 2.0 | 12046 | 0.0733 | 0.9885 | 0.9743 | 0.9820 | 0.9668 |
61
+ | 0.0427 | 3.0 | 18069 | 0.0735 | 0.9886 | 0.9744 | 0.9823 | 0.9667 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 5.2.0
67
+ - Pytorch 2.10.0+cu126
68
+ - Datasets 4.5.0
69
+ - 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:789a51543af893f7de7c476a1ad591adcd4d52e1abd539aca4df0c145ea6da93
3
+ size 14760296
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ee016c4dd8731d0a9a28f331b1eae59fbc0b00a482a4018901a6de955b7ebe7
3
+ size 5201