franklynnarvaez commited on
Commit
03ec4d7
1 Parent(s): 0dc90f6

End of training

Browse files
README.md ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ base_model: NazaGara/NER-fine-tuned-BETO
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - conll2002
8
+ metrics:
9
+ - precision
10
+ - recall
11
+ - f1
12
+ - accuracy
13
+ model-index:
14
+ - name: beto-finetuned-ner-cfv
15
+ results:
16
+ - task:
17
+ name: Token Classification
18
+ type: token-classification
19
+ dataset:
20
+ name: conll2002
21
+ type: conll2002
22
+ config: es
23
+ split: validation
24
+ args: es
25
+ metrics:
26
+ - name: Precision
27
+ type: precision
28
+ value: 0.8614471581830633
29
+ - name: Recall
30
+ type: recall
31
+ value: 0.8671875
32
+ - name: F1
33
+ type: f1
34
+ value: 0.8643077980075576
35
+ - name: Accuracy
36
+ type: accuracy
37
+ value: 0.9790072369291234
38
+ ---
39
+
40
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
41
+ should probably proofread and complete it, then remove this comment. -->
42
+
43
+ # beto-finetuned-ner-cfv
44
+
45
+ This model is a fine-tuned version of [NazaGara/NER-fine-tuned-BETO](https://huggingface.co/NazaGara/NER-fine-tuned-BETO) on the conll2002 dataset.
46
+ It achieves the following results on the evaluation set:
47
+ - Loss: 0.1659
48
+ - Precision: 0.8614
49
+ - Recall: 0.8672
50
+ - F1: 0.8643
51
+ - Accuracy: 0.9790
52
+
53
+ ## Model description
54
+
55
+ More information needed
56
+
57
+ ## Intended uses & limitations
58
+
59
+ More information needed
60
+
61
+ ## Training and evaluation data
62
+
63
+ More information needed
64
+
65
+ ## Training procedure
66
+
67
+ ### Training hyperparameters
68
+
69
+ The following hyperparameters were used during training:
70
+ - learning_rate: 4e-06
71
+ - train_batch_size: 8
72
+ - eval_batch_size: 8
73
+ - seed: 42
74
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
75
+ - lr_scheduler_type: linear
76
+ - num_epochs: 16
77
+
78
+ ### Training results
79
+
80
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
81
+ |:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
82
+ | 0.0272 | 1.0 | 1041 | 0.1062 | 0.8549 | 0.8637 | 0.8593 | 0.9786 |
83
+ | 0.0208 | 2.0 | 2082 | 0.1127 | 0.8443 | 0.8596 | 0.8519 | 0.9782 |
84
+ | 0.0158 | 3.0 | 3123 | 0.1195 | 0.8545 | 0.8598 | 0.8572 | 0.9787 |
85
+ | 0.0129 | 4.0 | 4164 | 0.1332 | 0.8629 | 0.8589 | 0.8609 | 0.9782 |
86
+ | 0.0107 | 5.0 | 5205 | 0.1299 | 0.8555 | 0.8635 | 0.8595 | 0.9786 |
87
+ | 0.0087 | 6.0 | 6246 | 0.1486 | 0.8564 | 0.8564 | 0.8564 | 0.9782 |
88
+ | 0.0085 | 7.0 | 7287 | 0.1583 | 0.8618 | 0.8596 | 0.8607 | 0.9783 |
89
+ | 0.0066 | 8.0 | 8328 | 0.1582 | 0.8604 | 0.8580 | 0.8592 | 0.9783 |
90
+ | 0.0052 | 9.0 | 9369 | 0.1571 | 0.8554 | 0.8566 | 0.8560 | 0.9781 |
91
+ | 0.0054 | 10.0 | 10410 | 0.1604 | 0.8628 | 0.8640 | 0.8634 | 0.9787 |
92
+ | 0.004 | 11.0 | 11451 | 0.1584 | 0.8624 | 0.8670 | 0.8647 | 0.9791 |
93
+ | 0.0036 | 12.0 | 12492 | 0.1633 | 0.8603 | 0.8658 | 0.8630 | 0.9786 |
94
+ | 0.0036 | 13.0 | 13533 | 0.1620 | 0.8628 | 0.8658 | 0.8643 | 0.9790 |
95
+ | 0.0032 | 14.0 | 14574 | 0.1645 | 0.8617 | 0.8676 | 0.8647 | 0.9793 |
96
+ | 0.0028 | 15.0 | 15615 | 0.1645 | 0.8604 | 0.8670 | 0.8637 | 0.9792 |
97
+ | 0.003 | 16.0 | 16656 | 0.1659 | 0.8614 | 0.8672 | 0.8643 | 0.9790 |
98
+
99
+
100
+ ### Framework versions
101
+
102
+ - Transformers 4.41.2
103
+ - Pytorch 2.3.0+cu121
104
+ - Datasets 2.19.2
105
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "NazaGara/NER-fine-tuned-BETO",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-PER",
15
+ "2": "I-PER",
16
+ "3": "B-ORG",
17
+ "4": "I-ORG",
18
+ "5": "B-LOC",
19
+ "6": "I-LOC",
20
+ "7": "B-MISC",
21
+ "8": "I-MISC"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "B-LOC": 5,
27
+ "B-MISC": 7,
28
+ "B-ORG": 3,
29
+ "B-PER": 1,
30
+ "I-LOC": 6,
31
+ "I-MISC": 8,
32
+ "I-ORG": 4,
33
+ "I-PER": 2,
34
+ "O": 0
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "max_position_embeddings": 512,
38
+ "model_type": "bert",
39
+ "num_attention_heads": 12,
40
+ "num_hidden_layers": 12,
41
+ "output_past": true,
42
+ "pad_token_id": 1,
43
+ "position_embedding_type": "absolute",
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.41.2",
46
+ "type_vocab_size": 2,
47
+ "use_cache": true,
48
+ "vocab_size": 31002
49
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e45a586d0038e105e9034da8418b526bd1bfb6d4a4077d93ebdaae572bae265
3
+ size 437092180
runs/Jun06_01-02-46_770262389be9/events.out.tfevents.1717635775.770262389be9.476.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab8f145769c2b3a85935962e1b210d43bbc402c107d038bcafe87169f11a48a0
3
+ size 20119
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[MASK]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[PAD]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "3": {
20
+ "content": "[UNK]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "4": {
28
+ "content": "[CLS]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "5": {
36
+ "content": "[SEP]",
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_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "never_split": null,
51
+ "num_labels": 9,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": false,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03f4a584f60c9423318871338ceca985209fde4893d92d3d8511037f0d537c6f
3
+ size 5112
vocab.txt ADDED
The diff for this file is too large to render. See raw diff