Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,50 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
datasets:
|
| 4 |
+
- shawhin/phishing-site-classification
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
- recall
|
| 8 |
+
- precision
|
| 9 |
+
- f1
|
| 10 |
+
base_model: distilbert/distilbert-base-uncased
|
| 11 |
+
pipeline_tag: text-classification
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# bert-phishing-classifier_student
|
| 15 |
+
|
| 16 |
+
This model is modified version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) trained via knowledge distillation from [shawhin/bert-phishing-classifier_teacher](https://huggingface.co/shawhin/bert-phishing-classifier_teacher) using the [shawhin/phishing-site-classification]() dataset.
|
| 17 |
+
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 0.0563
|
| 19 |
+
- Accuracy: 0.9022
|
| 20 |
+
- Precision: 0.9426
|
| 21 |
+
- Recall: 0.8603
|
| 22 |
+
- F1 Score: 0.8995
|
| 23 |
+
|
| 24 |
+
## Model description
|
| 25 |
+
|
| 26 |
+
Student model for knowledge distillation example.
|
| 27 |
+
|
| 28 |
+
Video: coming soon! <br>
|
| 29 |
+
Blog: coming soon! <br>
|
| 30 |
+
Example code: coming soon!
|
| 31 |
+
|
| 32 |
+
## Intended uses & limitations
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training and evaluation data
|
| 37 |
+
|
| 38 |
+
More information needed
|
| 39 |
+
|
| 40 |
+
## Training procedure
|
| 41 |
+
|
| 42 |
+
### Training hyperparameters
|
| 43 |
+
|
| 44 |
+
The following hyperparameters were used during training:
|
| 45 |
+
- learning_rate: 0.0001
|
| 46 |
+
- train_batch_size: 32
|
| 47 |
+
- eval_batch_size: 32
|
| 48 |
+
- num_epochs: 5
|
| 49 |
+
- temperature: 2.0
|
| 50 |
+
- adam optimizer alpha: 0.5
|