pnr-svc commited on
Commit
ef57d00
1 Parent(s): 147eb9a

End of training

Browse files
README.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: distilbert-base-uncased
3
+ library_name: peft
4
+ license: apache-2.0
5
+ metrics:
6
+ - precision
7
+ - recall
8
+ - f1
9
+ - accuracy
10
+ tags:
11
+ - generated_from_trainer
12
+ model-index:
13
+ - name: distilbert-ner-qlorafinetune-runs
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # distilbert-ner-qlorafinetune-runs
21
+
22
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.1707
25
+ - Precision: 0.9584
26
+ - Recall: 0.9495
27
+ - F1: 0.9539
28
+ - Accuracy: 0.9737
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 0.0004
48
+ - train_batch_size: 32
49
+ - eval_batch_size: 32
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - training_steps: 640
54
+ - mixed_precision_training: Native AMP
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
59
+ |:-------------:|:------:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
60
+ | 4.6043 | 0.0151 | 20 | 1.9157 | 0.0 | 0.0 | 0.0 | 0.6192 |
61
+ | 1.5758 | 0.0303 | 40 | 0.7695 | 0.7538 | 0.4952 | 0.5977 | 0.8411 |
62
+ | 0.391 | 0.0454 | 60 | 0.3487 | 0.8781 | 0.8772 | 0.8777 | 0.9548 |
63
+ | 0.2109 | 0.0605 | 80 | 0.2782 | 0.8970 | 0.9301 | 0.9133 | 0.9655 |
64
+ | 0.1793 | 0.0756 | 100 | 0.2435 | 0.9635 | 0.9318 | 0.9474 | 0.9664 |
65
+ | 0.1055 | 0.0908 | 120 | 0.2311 | 0.9614 | 0.9330 | 0.9470 | 0.9667 |
66
+ | 0.3157 | 0.1059 | 140 | 0.2210 | 0.9631 | 0.9333 | 0.9480 | 0.9677 |
67
+ | 0.1085 | 0.1210 | 160 | 0.2088 | 0.9336 | 0.9364 | 0.9350 | 0.9692 |
68
+ | 0.2085 | 0.1362 | 180 | 0.2044 | 0.9576 | 0.9351 | 0.9462 | 0.9695 |
69
+ | 0.3833 | 0.1513 | 200 | 0.1992 | 0.9478 | 0.9402 | 0.9440 | 0.9703 |
70
+ | 0.097 | 0.1664 | 220 | 0.1957 | 0.9482 | 0.9426 | 0.9454 | 0.9712 |
71
+ | 0.12 | 0.1815 | 240 | 0.1964 | 0.9541 | 0.9421 | 0.9481 | 0.9716 |
72
+ | 0.1696 | 0.1967 | 260 | 0.2697 | 0.9315 | 0.9444 | 0.9379 | 0.9718 |
73
+ | 0.1405 | 0.2118 | 280 | 0.1933 | 0.9691 | 0.9424 | 0.9555 | 0.9717 |
74
+ | 0.1992 | 0.2269 | 300 | 0.1887 | 0.9538 | 0.9444 | 0.9491 | 0.9722 |
75
+ | 0.0907 | 0.2421 | 320 | 0.1870 | 0.9629 | 0.9441 | 0.9534 | 0.9724 |
76
+ | 0.1778 | 0.2572 | 340 | 0.1852 | 0.9461 | 0.9471 | 0.9466 | 0.9730 |
77
+ | 0.1474 | 0.2723 | 360 | 0.1821 | 0.9467 | 0.9472 | 0.9469 | 0.9731 |
78
+ | 0.1972 | 0.2874 | 380 | 0.1798 | 0.9522 | 0.9472 | 0.9497 | 0.9731 |
79
+ | 0.1807 | 0.3026 | 400 | 0.1823 | 0.9646 | 0.9465 | 0.9555 | 0.9729 |
80
+ | 0.1388 | 0.3177 | 420 | 0.1771 | 0.9474 | 0.9491 | 0.9482 | 0.9733 |
81
+ | 0.1664 | 0.3328 | 440 | 0.1762 | 0.9655 | 0.9470 | 0.9562 | 0.9732 |
82
+ | 0.1559 | 0.3480 | 460 | 0.1747 | 0.9618 | 0.9482 | 0.9550 | 0.9733 |
83
+ | 0.233 | 0.3631 | 480 | 0.1750 | 0.9663 | 0.9484 | 0.9573 | 0.9733 |
84
+ | 0.1851 | 0.3782 | 500 | 0.1738 | 0.9616 | 0.9492 | 0.9554 | 0.9735 |
85
+ | 0.2512 | 0.3933 | 520 | 0.1725 | 0.9642 | 0.9491 | 0.9566 | 0.9736 |
86
+ | 0.0823 | 0.4085 | 540 | 0.1721 | 0.9624 | 0.9490 | 0.9556 | 0.9736 |
87
+ | 0.0865 | 0.4236 | 560 | 0.1717 | 0.9624 | 0.9491 | 0.9557 | 0.9737 |
88
+ | 0.0611 | 0.4387 | 580 | 0.1714 | 0.9607 | 0.9493 | 0.9550 | 0.9738 |
89
+ | 0.105 | 0.4539 | 600 | 0.1710 | 0.9612 | 0.9493 | 0.9552 | 0.9737 |
90
+ | 0.1192 | 0.4690 | 620 | 0.1709 | 0.9584 | 0.9495 | 0.9540 | 0.9737 |
91
+ | 0.1923 | 0.4841 | 640 | 0.1707 | 0.9584 | 0.9495 | 0.9539 | 0.9737 |
92
+
93
+
94
+ ### Framework versions
95
+
96
+ - PEFT 0.12.0
97
+ - Transformers 4.43.3
98
+ - Pytorch 2.4.1+cu121
99
+ - Datasets 2.20.0
100
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "distilbert-base-uncased",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 64,
14
+ "lora_dropout": 0.0,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": [
18
+ "classifier",
19
+ "score"
20
+ ],
21
+ "peft_type": "LORA",
22
+ "r": 256,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "k_lin",
27
+ "out_lin",
28
+ "v_lin",
29
+ "q_lin"
30
+ ],
31
+ "task_type": "TOKEN_CLS",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3ab678ddf03acca16e44076caf0943084bc30e963fec49a243746bb06ef857d
3
+ size 42711572
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "DistilBertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b9d53192f3bd8ffdce696239d5cfbb6c44c76ee3bd7be984cb6bdd5dca754e0
3
+ size 5176
vocab.txt ADDED
The diff for this file is too large to render. See raw diff