Training completed!
Browse files- README.md +19 -17
- config.json +1 -1
- model.safetensors +1 -1
- special_tokens_map.json +6 -42
- tokenizer.json +0 -0
- tokenizer_config.json +0 -4
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
---
|
|
|
|
|
2 |
tags:
|
3 |
- generated_from_trainer
|
4 |
metrics:
|
@@ -14,12 +16,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
14 |
|
15 |
# deberta-pii-finetuned
|
16 |
|
17 |
-
This model
|
18 |
It achieves the following results on the evaluation set:
|
19 |
-
- Loss: 0.
|
20 |
-
- F Beta: 0.
|
21 |
-
- Precision: 0.
|
22 |
-
- Recall: 0.
|
23 |
|
24 |
## Model description
|
25 |
|
@@ -38,29 +40,29 @@ More information needed
|
|
38 |
### Training hyperparameters
|
39 |
|
40 |
The following hyperparameters were used during training:
|
41 |
-
- learning_rate:
|
42 |
- train_batch_size: 8
|
43 |
- eval_batch_size: 16
|
44 |
- seed: 42
|
45 |
-
- gradient_accumulation_steps:
|
46 |
-
- total_train_batch_size:
|
47 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
- lr_scheduler_type: cosine
|
49 |
-
- lr_scheduler_warmup_ratio: 0.
|
50 |
-
- num_epochs:
|
51 |
- mixed_precision_training: Native AMP
|
52 |
|
53 |
### Training results
|
54 |
|
55 |
| Training Loss | Epoch | Step | Validation Loss | F Beta | Precision | Recall |
|
56 |
|:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|
|
57 |
-
| 0.
|
58 |
-
| 0.
|
59 |
-
| 0.
|
60 |
-
| 0.
|
61 |
-
| 0.
|
62 |
-
| 0.
|
63 |
-
| 0.
|
64 |
|
65 |
|
66 |
### Framework versions
|
|
|
1 |
---
|
2 |
+
license: mit
|
3 |
+
base_model: microsoft/deberta-v3-base
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
|
|
16 |
|
17 |
# deberta-pii-finetuned
|
18 |
|
19 |
+
This model is a fine-tuned version of [microsoft/deberta-v3-base](https://huggingface.co/microsoft/deberta-v3-base) on the None dataset.
|
20 |
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.0018
|
22 |
+
- F Beta: 0.8127
|
23 |
+
- Precision: 0.9818
|
24 |
+
- Recall: 0.8071
|
25 |
|
26 |
## Model description
|
27 |
|
|
|
40 |
### Training hyperparameters
|
41 |
|
42 |
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 2e-05
|
44 |
- train_batch_size: 8
|
45 |
- eval_batch_size: 16
|
46 |
- seed: 42
|
47 |
+
- gradient_accumulation_steps: 4
|
48 |
+
- total_train_batch_size: 32
|
49 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
- lr_scheduler_type: cosine
|
51 |
+
- lr_scheduler_warmup_ratio: 0.05
|
52 |
+
- num_epochs: 3
|
53 |
- mixed_precision_training: Native AMP
|
54 |
|
55 |
### Training results
|
56 |
|
57 |
| Training Loss | Epoch | Step | Validation Loss | F Beta | Precision | Recall |
|
58 |
|:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|
|
59 |
+
| 0.0074 | 0.41 | 250 | 0.0022 | 0.9594 | 0.9851 | 0.9584 |
|
60 |
+
| 0.0031 | 0.82 | 500 | 0.0011 | 0.9541 | 0.9879 | 0.9528 |
|
61 |
+
| 0.0035 | 1.24 | 750 | 0.0015 | 0.8814 | 0.9869 | 0.8776 |
|
62 |
+
| 0.0029 | 1.65 | 1000 | 0.0024 | 0.7401 | 0.9849 | 0.7328 |
|
63 |
+
| 0.0016 | 2.06 | 1250 | 0.0015 | 0.8240 | 0.9810 | 0.8188 |
|
64 |
+
| 0.0012 | 2.47 | 1500 | 0.0020 | 0.7848 | 0.9812 | 0.7786 |
|
65 |
+
| 0.003 | 2.88 | 1750 | 0.0018 | 0.8127 | 0.9818 | 0.8071 |
|
66 |
|
67 |
|
68 |
### Framework versions
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/
|
3 |
"architectures": [
|
4 |
"DebertaForTokenClassification"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "microsoft/deberta-v3-base",
|
3 |
"architectures": [
|
4 |
"DebertaForTokenClassification"
|
5 |
],
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 737753016
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0d468ba03c9545cccbf708480202d8fe642dae11dd071373dc70abb0b51fa2f
|
3 |
size 737753016
|
special_tokens_map.json
CHANGED
@@ -1,46 +1,10 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
},
|
9 |
-
"cls_token": {
|
10 |
-
"content": "[CLS]",
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": false,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
-
"eos_token": {
|
17 |
-
"content": "[SEP]",
|
18 |
-
"lstrip": false,
|
19 |
-
"normalized": false,
|
20 |
-
"rstrip": false,
|
21 |
-
"single_word": false
|
22 |
-
},
|
23 |
-
"mask_token": {
|
24 |
-
"content": "[MASK]",
|
25 |
-
"lstrip": false,
|
26 |
-
"normalized": false,
|
27 |
-
"rstrip": false,
|
28 |
-
"single_word": false
|
29 |
-
},
|
30 |
-
"pad_token": {
|
31 |
-
"content": "[PAD]",
|
32 |
-
"lstrip": false,
|
33 |
-
"normalized": false,
|
34 |
-
"rstrip": false,
|
35 |
-
"single_word": false
|
36 |
-
},
|
37 |
-
"sep_token": {
|
38 |
-
"content": "[SEP]",
|
39 |
-
"lstrip": false,
|
40 |
-
"normalized": false,
|
41 |
-
"rstrip": false,
|
42 |
-
"single_word": false
|
43 |
-
},
|
44 |
"unk_token": {
|
45 |
"content": "[UNK]",
|
46 |
"lstrip": false,
|
|
|
1 |
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "[SEP]",
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"pad_token": "[PAD]",
|
7 |
+
"sep_token": "[SEP]",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"unk_token": {
|
9 |
"content": "[UNK]",
|
10 |
"lstrip": false,
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -47,16 +47,12 @@
|
|
47 |
"do_lower_case": false,
|
48 |
"eos_token": "[SEP]",
|
49 |
"mask_token": "[MASK]",
|
50 |
-
"max_length": 1024,
|
51 |
"model_max_length": 1000000000000000019884624838656,
|
52 |
"pad_token": "[PAD]",
|
53 |
"sep_token": "[SEP]",
|
54 |
"sp_model_kwargs": {},
|
55 |
"split_by_punct": false,
|
56 |
-
"stride": 0,
|
57 |
"tokenizer_class": "DebertaV2Tokenizer",
|
58 |
-
"truncation_side": "right",
|
59 |
-
"truncation_strategy": "longest_first",
|
60 |
"unk_token": "[UNK]",
|
61 |
"vocab_type": "spm"
|
62 |
}
|
|
|
47 |
"do_lower_case": false,
|
48 |
"eos_token": "[SEP]",
|
49 |
"mask_token": "[MASK]",
|
|
|
50 |
"model_max_length": 1000000000000000019884624838656,
|
51 |
"pad_token": "[PAD]",
|
52 |
"sep_token": "[SEP]",
|
53 |
"sp_model_kwargs": {},
|
54 |
"split_by_punct": false,
|
|
|
55 |
"tokenizer_class": "DebertaV2Tokenizer",
|
|
|
|
|
56 |
"unk_token": "[UNK]",
|
57 |
"vocab_type": "spm"
|
58 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4219
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36b6d67087c1db7369a859b4cae2d3a1c67587f2f7d2a247fe6aedf03d491883
|
3 |
size 4219
|