End of training
Browse files
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: piidetection
|
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 |
+
# piidetection
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.0010
|
24 |
+
- Precision: 0.7422
|
25 |
+
- Recall: 0.8051
|
26 |
+
- F1: 0.7724
|
27 |
+
- Accuracy: 0.9998
|
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: 32
|
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: 10
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
58 |
+
| No log | 1.0 | 171 | 0.0044 | 0.0 | 0.0 | 0.0 | 0.9993 |
|
59 |
+
| No log | 2.0 | 342 | 0.0018 | 0.4084 | 0.3305 | 0.3653 | 0.9996 |
|
60 |
+
| 0.0316 | 3.0 | 513 | 0.0013 | 0.7661 | 0.5551 | 0.6437 | 0.9997 |
|
61 |
+
| 0.0316 | 4.0 | 684 | 0.0010 | 0.7258 | 0.7627 | 0.7438 | 0.9998 |
|
62 |
+
| 0.0316 | 5.0 | 855 | 0.0010 | 0.7991 | 0.7585 | 0.7783 | 0.9998 |
|
63 |
+
| 0.0008 | 6.0 | 1026 | 0.0009 | 0.7317 | 0.7627 | 0.7469 | 0.9998 |
|
64 |
+
| 0.0008 | 7.0 | 1197 | 0.0010 | 0.7449 | 0.7669 | 0.7557 | 0.9998 |
|
65 |
+
| 0.0008 | 8.0 | 1368 | 0.0011 | 0.7965 | 0.7627 | 0.7792 | 0.9998 |
|
66 |
+
| 0.0004 | 9.0 | 1539 | 0.0010 | 0.7520 | 0.7839 | 0.7676 | 0.9998 |
|
67 |
+
| 0.0004 | 10.0 | 1710 | 0.0010 | 0.7422 | 0.8051 | 0.7724 | 0.9998 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.37.0
|
73 |
+
- Pytorch 2.1.2
|
74 |
+
- Datasets 2.1.0
|
75 |
+
- Tokenizers 0.15.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 265503852
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a74fe4c07bb0a8f429af47d7b399e7e42673291e74c7c866a1bb1f27cddf38ce
|
3 |
size 265503852
|
runs/Feb15_15-09-09_e1e46aa21e06/events.out.tfevents.1708009751.e1e46aa21e06.327.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:48054bf5745fbacc4de59929f35eb6d0894c93ff1566c45fa47b138c1b0f0452
|
3 |
+
size 10427
|