alexbeta80 commited on
Commit
d8c701b
·
verified ·
1 Parent(s): 6912bc4

End of training

Browse files
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: dbmdz/electra-base-italian-xxl-cased-discriminator
3
+ library_name: peft
4
+ license: mit
5
+ metrics:
6
+ - precision
7
+ - recall
8
+ - f1
9
+ - accuracy
10
+ tags:
11
+ - generated_from_trainer
12
+ model-index:
13
+ - name: electra-base-italian-xxl-cased-discriminator-finetuned-ner
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
+ # electra-base-italian-xxl-cased-discriminator-finetuned-ner
21
+
22
+ This model is a fine-tuned version of [dbmdz/electra-base-italian-xxl-cased-discriminator](https://huggingface.co/dbmdz/electra-base-italian-xxl-cased-discriminator) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.1508
25
+ - Precision: 0.8988
26
+ - Recall: 0.9400
27
+ - F1: 0.9189
28
+ - Accuracy: 0.9659
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.0002
48
+ - train_batch_size: 8
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 10
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
59
+ | 0.2868 | 1.0 | 1167 | 0.2063 | 0.7612 | 0.8782 | 0.8155 | 0.9346 |
60
+ | 0.1873 | 2.0 | 2334 | 0.1440 | 0.8623 | 0.9041 | 0.8827 | 0.9553 |
61
+ | 0.1339 | 3.0 | 3501 | 0.1376 | 0.8617 | 0.9308 | 0.8949 | 0.9576 |
62
+ | 0.1025 | 4.0 | 4668 | 0.1355 | 0.8649 | 0.9369 | 0.8995 | 0.9584 |
63
+ | 0.0844 | 5.0 | 5835 | 0.1325 | 0.8817 | 0.9400 | 0.9099 | 0.9617 |
64
+ | 0.0763 | 6.0 | 7002 | 0.1433 | 0.8922 | 0.9317 | 0.9115 | 0.9643 |
65
+ | 0.0601 | 7.0 | 8169 | 0.1479 | 0.8964 | 0.9286 | 0.9122 | 0.9640 |
66
+ | 0.0507 | 8.0 | 9336 | 0.1496 | 0.8915 | 0.9403 | 0.9152 | 0.9637 |
67
+ | 0.0408 | 9.0 | 10503 | 0.1501 | 0.8977 | 0.9350 | 0.9160 | 0.9643 |
68
+ | 0.0339 | 10.0 | 11670 | 0.1508 | 0.8988 | 0.9400 | 0.9189 | 0.9659 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - PEFT 0.11.1
74
+ - Transformers 4.42.3
75
+ - Pytorch 2.1.2
76
+ - Datasets 2.20.0
77
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "dbmdz/electra-base-italian-xxl-cased-discriminator",
5
+ "bias": "all",
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": 128,
14
+ "lora_dropout": 0.1,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": [
18
+ "classifier",
19
+ "score"
20
+ ],
21
+ "peft_type": "LORA",
22
+ "r": 64,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "query",
27
+ "value"
28
+ ],
29
+ "task_type": "TOKEN_CLS",
30
+ "use_dora": false,
31
+ "use_rslora": false
32
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07cc9063eace499441eabc809b40b05223470621857c8d39ec38aa226e5bcc6a
3
+ size 9930820
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,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[PAD]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "101": {
13
+ "content": "[UNK]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "102": {
21
+ "content": "[CLS]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "103": {
29
+ "content": "[SEP]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "104": {
37
+ "content": "[MASK]",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "[CLS]",
47
+ "do_basic_tokenize": true,
48
+ "do_lower_case": false,
49
+ "mask_token": "[MASK]",
50
+ "max_len": 512,
51
+ "model_max_length": 512,
52
+ "never_split": null,
53
+ "pad_token": "[PAD]",
54
+ "sep_token": "[SEP]",
55
+ "strip_accents": null,
56
+ "tokenize_chinese_chars": true,
57
+ "tokenizer_class": "ElectraTokenizer",
58
+ "unk_token": "[UNK]"
59
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2b518a5ab8d14b011055d4cd3f05730387edb08ebce88ee0f0e709645ce9bd2
3
+ size 5176
vocab.txt ADDED
The diff for this file is too large to render. See raw diff