End of training
Browse files
README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: google/bert_uncased_L-2_H-128_A-2
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- precision
|
| 8 |
+
- recall
|
| 9 |
+
- accuracy
|
| 10 |
+
- f1
|
| 11 |
+
model-index:
|
| 12 |
+
- name: bert-tiny-finetuned-enron-spam-detection
|
| 13 |
+
results: []
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
+
|
| 19 |
+
# bert-tiny-finetuned-enron-spam-detection
|
| 20 |
+
|
| 21 |
+
This model is a fine-tuned version of [google/bert_uncased_L-2_H-128_A-2](https://huggingface.co/google/bert_uncased_L-2_H-128_A-2) on an unknown dataset.
|
| 22 |
+
It achieves the following results on the evaluation set:
|
| 23 |
+
- Loss: 0.0633
|
| 24 |
+
- Precision: 0.9861
|
| 25 |
+
- Recall: 0.9851
|
| 26 |
+
- Accuracy: 0.9855
|
| 27 |
+
- F1: 0.9856
|
| 28 |
+
|
| 29 |
+
## Model description
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Intended uses & limitations
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training and evaluation data
|
| 38 |
+
|
| 39 |
+
More information needed
|
| 40 |
+
|
| 41 |
+
## Training procedure
|
| 42 |
+
|
| 43 |
+
### Training hyperparameters
|
| 44 |
+
|
| 45 |
+
The following hyperparameters were used during training:
|
| 46 |
+
- learning_rate: 2e-05
|
| 47 |
+
- train_batch_size: 16
|
| 48 |
+
- eval_batch_size: 32
|
| 49 |
+
- seed: 42
|
| 50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 51 |
+
- lr_scheduler_type: linear
|
| 52 |
+
- num_epochs: 4
|
| 53 |
+
|
| 54 |
+
### Training results
|
| 55 |
+
|
| 56 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Accuracy | F1 |
|
| 57 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:--------:|:------:|
|
| 58 |
+
| 0.1163 | 1.0 | 1983 | 0.0847 | 0.9810 | 0.9722 | 0.9765 | 0.9766 |
|
| 59 |
+
| 0.0717 | 2.0 | 3966 | 0.0659 | 0.9784 | 0.9901 | 0.984 | 0.9842 |
|
| 60 |
+
| 0.0591 | 3.0 | 5949 | 0.0633 | 0.9861 | 0.9851 | 0.9855 | 0.9856 |
|
| 61 |
+
| 0.0452 | 4.0 | 7932 | 0.0647 | 0.9871 | 0.9831 | 0.985 | 0.9851 |
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
### Framework versions
|
| 65 |
+
|
| 66 |
+
- Transformers 4.31.0
|
| 67 |
+
- Pytorch 2.0.1+cu118
|
| 68 |
+
- Datasets 2.13.1
|
| 69 |
+
- Tokenizers 0.13.3
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 17558188
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dead06008a396766316e9a206d57929ee329c09fcdb12ceba9f94fd7d39611e2
|
| 3 |
size 17558188
|
runs/Jul21_11-46-47_a5acc3096fd5/events.out.tfevents.1689940091.a5acc3096fd5.7029.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:baf643a3fcfc095c1cff069a8593c263106baee2ecc17e72a5561467ca5dac7a
|
| 3 |
+
size 8636
|
runs/Jul21_11-46-47_a5acc3096fd5/events.out.tfevents.1689940411.a5acc3096fd5.7029.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d56a10ae39e1de685aa4cd18680e5af1976a3641bfb79e9fc0dd3393dcf8cf7
|
| 3 |
+
size 560
|