majorSeaweed commited on
Commit
146328b
·
verified ·
1 Parent(s): 5241cee

majorSeaweed/Bert_Uncased_FishingURL_Teacher

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: bert-phishing-classifier_teacher
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # bert-phishing-classifier_teacher
18
+
19
+ This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.3024
22
+ - Accuracy: 0.878
23
+ - Auc: 0.949
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 0.0002
43
+ - train_batch_size: 32
44
+ - eval_batch_size: 32
45
+ - seed: 42
46
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 10
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Auc |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:-----:|
54
+ | 0.4639 | 1.0 | 66 | 0.4104 | 0.802 | 0.905 |
55
+ | 0.4068 | 2.0 | 132 | 0.3689 | 0.82 | 0.924 |
56
+ | 0.3667 | 3.0 | 198 | 0.3378 | 0.858 | 0.937 |
57
+ | 0.3631 | 4.0 | 264 | 0.3409 | 0.853 | 0.939 |
58
+ | 0.3543 | 5.0 | 330 | 0.3168 | 0.873 | 0.945 |
59
+ | 0.3234 | 6.0 | 396 | 0.3221 | 0.862 | 0.947 |
60
+ | 0.328 | 7.0 | 462 | 0.3362 | 0.851 | 0.948 |
61
+ | 0.3251 | 8.0 | 528 | 0.3012 | 0.876 | 0.949 |
62
+ | 0.3316 | 9.0 | 594 | 0.3011 | 0.88 | 0.949 |
63
+ | 0.3193 | 10.0 | 660 | 0.3024 | 0.878 | 0.949 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.48.3
69
+ - Pytorch 2.6.0+cu124
70
+ - Datasets 3.4.0
71
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "Safe",
14
+ "1": "Not Safe"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "Not Safe": 1,
20
+ "Safe": 0
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.48.3",
32
+ "type_vocab_size": 2,
33
+ "use_cache": true,
34
+ "vocab_size": 30522
35
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e6ab1ae5b038dada7b5298c17fe7dc40f39afad84db0cec31bf6497900ae3f8
3
+ size 437958648
runs/Mar14_17-51-58_66f7b63fce3b/events.out.tfevents.1741974754.66f7b63fce3b.312.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:341e03d016d09bef4328dcf15e2ccfb180e7f226b3cbc4387ae97d256e2a5e83
3
+ size 11384
runs/Mar14_17-56-22_66f7b63fce3b/events.out.tfevents.1741974985.66f7b63fce3b.312.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e17c5319806b65b466e6aa4fb86914b8d8d7eadb39e54312e209a20a7e493634
3
+ size 5842
runs/Mar14_17-57-14_66f7b63fce3b/events.out.tfevents.1741975038.66f7b63fce3b.312.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3fa41f5a4b1f5a63465a1593d98ce635534b051ffa722f554bd544d97cef883
3
+ size 9488
runs/Mar14_18-00-01_66f7b63fce3b/events.out.tfevents.1741975204.66f7b63fce3b.312.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ec52c543d32ef7cd4217a601bb3d41390bf8fb50c396a14e60c8b40eb90fc63
3
+ size 5222
runs/Mar14_18-00-17_66f7b63fce3b/events.out.tfevents.1741975218.66f7b63fce3b.312.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4dba17b9243d64166ebcb9691121ba9bca6936fa524409f4b9bed18b9f3b46e
3
+ size 11424
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07a452f6b3a66e25461ce72e0ede5c1b8b0f6e4d8315253c64339814492dc4f6
3
+ size 5368
vocab.txt ADDED
The diff for this file is too large to render. See raw diff