Upload correct trained model weights
Browse files- README.md +3 -3
- config.json +42 -10
README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
---
|
| 2 |
pipeline_tag: text-classification
|
| 3 |
tags:
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
license: apache-2.0
|
| 8 |
---
|
| 9 |
|
|
|
|
| 1 |
---
|
| 2 |
pipeline_tag: text-classification
|
| 3 |
tags:
|
| 4 |
+
- phishing-detection
|
| 5 |
+
- mobilebert
|
| 6 |
+
- emails
|
| 7 |
license: apache-2.0
|
| 8 |
---
|
| 9 |
|
config.json
CHANGED
|
@@ -1,10 +1,42 @@
|
|
| 1 |
-
{
|
| 2 |
-
"
|
| 3 |
-
|
| 4 |
-
"
|
| 5 |
-
|
| 6 |
-
"
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "D:\\Programming\\Degree FYP\\Machine-learning\\MobileBert\\mobilebert_enron\\best",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"MobileBertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_activation": false,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"embedding_size": 128,
|
| 10 |
+
"hidden_act": "relu",
|
| 11 |
+
"hidden_dropout_prob": 0.0,
|
| 12 |
+
"hidden_size": 512,
|
| 13 |
+
"id2label": {
|
| 14 |
+
"0": "LEGIT",
|
| 15 |
+
"1": "PHISH"
|
| 16 |
+
},
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"intermediate_size": 512,
|
| 19 |
+
"intra_bottleneck_size": 128,
|
| 20 |
+
"key_query_shared_bottleneck": true,
|
| 21 |
+
"label2id": {
|
| 22 |
+
"LEGIT": 0,
|
| 23 |
+
"PHISH": 1
|
| 24 |
+
},
|
| 25 |
+
"layer_norm_eps": 1e-12,
|
| 26 |
+
"max_position_embeddings": 512,
|
| 27 |
+
"model_type": "mobilebert",
|
| 28 |
+
"normalization_type": "no_norm",
|
| 29 |
+
"num_attention_heads": 4,
|
| 30 |
+
"num_feedforward_networks": 4,
|
| 31 |
+
"num_hidden_layers": 24,
|
| 32 |
+
"pad_token_id": 0,
|
| 33 |
+
"problem_type": "single_label_classification",
|
| 34 |
+
"torch_dtype": "float32",
|
| 35 |
+
"transformers_version": "4.46.3",
|
| 36 |
+
"trigram_input": true,
|
| 37 |
+
"true_hidden_size": 128,
|
| 38 |
+
"type_vocab_size": 2,
|
| 39 |
+
"use_bottleneck": true,
|
| 40 |
+
"use_bottleneck_attention": false,
|
| 41 |
+
"vocab_size": 30522
|
| 42 |
+
}
|