raulgdp commited on
Commit
e53cb47
1 Parent(s): d29e625

End of training

Browse files
README.md CHANGED
@@ -1,99 +1,92 @@
1
- ---
2
- license: apache-2.0
3
- base_model: distilbert-base-uncased
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: distilbert-base-uncased-finetuned-ner
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.7348668280871671
29
- - name: Recall
30
- type: recall
31
- value: 0.7311491206938088
32
- - name: F1
33
- type: f1
34
- value: 0.733003260475788
35
- - name: Accuracy
36
- type: accuracy
37
- value: 0.94996285742796
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
- # distilbert-base-uncased-finetuned-ner
44
-
45
- This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the conll2002 dataset.
46
- It achieves the following results on the evaluation set:
47
- - Loss: 0.2347
48
- - Precision: 0.7349
49
- - Recall: 0.7311
50
- - F1: 0.7330
51
- - Accuracy: 0.9500
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: 2e-05
71
- - train_batch_size: 16
72
- - eval_batch_size: 16
73
- - seed: 42
74
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
75
- - lr_scheduler_type: linear
76
- - num_epochs: 10
77
-
78
- ### Training results
79
-
80
- | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
81
- |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
82
- | 0.3477 | 1.0 | 521 | 0.2581 | 0.6392 | 0.5888 | 0.6130 | 0.9270 |
83
- | 0.1883 | 2.0 | 1042 | 0.2224 | 0.6617 | 0.6644 | 0.6631 | 0.9370 |
84
- | 0.1339 | 3.0 | 1563 | 0.2079 | 0.7044 | 0.7021 | 0.7033 | 0.9431 |
85
- | 0.1039 | 4.0 | 2084 | 0.2040 | 0.7017 | 0.7221 | 0.7118 | 0.9446 |
86
- | 0.0835 | 5.0 | 2605 | 0.2126 | 0.7306 | 0.7166 | 0.7235 | 0.9486 |
87
- | 0.0647 | 6.0 | 3126 | 0.2221 | 0.7220 | 0.7198 | 0.7209 | 0.9478 |
88
- | 0.0536 | 7.0 | 3647 | 0.2258 | 0.7198 | 0.7244 | 0.7221 | 0.9480 |
89
- | 0.0443 | 8.0 | 4168 | 0.2319 | 0.7047 | 0.7334 | 0.7188 | 0.9469 |
90
- | 0.0375 | 9.0 | 4689 | 0.2350 | 0.7182 | 0.7315 | 0.7248 | 0.9482 |
91
- | 0.0349 | 10.0 | 5210 | 0.2347 | 0.7349 | 0.7311 | 0.7330 | 0.9500 |
92
-
93
-
94
- ### Framework versions
95
-
96
- - Transformers 4.43.3
97
- - Pytorch 2.4.0
98
- - Datasets 2.20.0
99
- - Tokenizers 0.19.1
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - conll2002
9
+ metrics:
10
+ - precision
11
+ - recall
12
+ - f1
13
+ - accuracy
14
+ model-index:
15
+ - name: distilbert-base-uncased-finetuned-ner
16
+ results:
17
+ - task:
18
+ name: Token Classification
19
+ type: token-classification
20
+ dataset:
21
+ name: conll2002
22
+ type: conll2002
23
+ config: es
24
+ split: validation
25
+ args: es
26
+ metrics:
27
+ - name: Precision
28
+ type: precision
29
+ value: 0.6434803981811479
30
+ - name: Recall
31
+ type: recall
32
+ value: 0.6306913996627319
33
+ - name: F1
34
+ type: f1
35
+ value: 0.6370217166494313
36
+ - name: Accuracy
37
+ type: accuracy
38
+ value: 0.9318683268102846
39
+ ---
40
+
41
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
42
+ should probably proofread and complete it, then remove this comment. -->
43
+
44
+ # distilbert-base-uncased-finetuned-ner
45
+
46
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the conll2002 dataset.
47
+ It achieves the following results on the evaluation set:
48
+ - Loss: 0.2428
49
+ - Precision: 0.6435
50
+ - Recall: 0.6307
51
+ - F1: 0.6370
52
+ - Accuracy: 0.9319
53
+
54
+ ## Model description
55
+
56
+ More information needed
57
+
58
+ ## Intended uses & limitations
59
+
60
+ More information needed
61
+
62
+ ## Training and evaluation data
63
+
64
+ More information needed
65
+
66
+ ## Training procedure
67
+
68
+ ### Training hyperparameters
69
+
70
+ The following hyperparameters were used during training:
71
+ - learning_rate: 2e-05
72
+ - train_batch_size: 16
73
+ - eval_batch_size: 16
74
+ - seed: 42
75
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
76
+ - lr_scheduler_type: linear
77
+ - num_epochs: 2
78
+
79
+ ### Training results
80
+
81
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
82
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
83
+ | 0.3631 | 1.0 | 521 | 0.2718 | 0.5847 | 0.5858 | 0.5852 | 0.9219 |
84
+ | 0.2056 | 2.0 | 1042 | 0.2428 | 0.6435 | 0.6307 | 0.6370 | 0.9319 |
85
+
86
+
87
+ ### Framework versions
88
+
89
+ - Transformers 4.44.2
90
+ - Pytorch 2.5.0+cu121
91
+ - Datasets 3.0.2
92
+ - Tokenizers 0.19.1
 
 
 
 
 
 
 
config.json CHANGED
@@ -1,46 +1,46 @@
1
- {
2
- "_name_or_path": "distilbert-base-uncased",
3
- "activation": "gelu",
4
- "architectures": [
5
- "DistilBertForTokenClassification"
6
- ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "hidden_dim": 3072,
11
- "id2label": {
12
- "0": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2",
15
- "3": "LABEL_3",
16
- "4": "LABEL_4",
17
- "5": "LABEL_5",
18
- "6": "LABEL_6",
19
- "7": "LABEL_7",
20
- "8": "LABEL_8"
21
- },
22
- "initializer_range": 0.02,
23
- "label2id": {
24
- "LABEL_0": 0,
25
- "LABEL_1": 1,
26
- "LABEL_2": 2,
27
- "LABEL_3": 3,
28
- "LABEL_4": 4,
29
- "LABEL_5": 5,
30
- "LABEL_6": 6,
31
- "LABEL_7": 7,
32
- "LABEL_8": 8
33
- },
34
- "max_position_embeddings": 512,
35
- "model_type": "distilbert",
36
- "n_heads": 12,
37
- "n_layers": 6,
38
- "pad_token_id": 0,
39
- "qa_dropout": 0.1,
40
- "seq_classif_dropout": 0.2,
41
- "sinusoidal_pos_embds": false,
42
- "tie_weights_": true,
43
- "torch_dtype": "float32",
44
- "transformers_version": "4.46.0",
45
- "vocab_size": 30522
46
- }
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5",
18
+ "6": "LABEL_6",
19
+ "7": "LABEL_7",
20
+ "8": "LABEL_8"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "label2id": {
24
+ "LABEL_0": 0,
25
+ "LABEL_1": 1,
26
+ "LABEL_2": 2,
27
+ "LABEL_3": 3,
28
+ "LABEL_4": 4,
29
+ "LABEL_5": 5,
30
+ "LABEL_6": 6,
31
+ "LABEL_7": 7,
32
+ "LABEL_8": 8
33
+ },
34
+ "max_position_embeddings": 512,
35
+ "model_type": "distilbert",
36
+ "n_heads": 12,
37
+ "n_layers": 6,
38
+ "pad_token_id": 0,
39
+ "qa_dropout": 0.1,
40
+ "seq_classif_dropout": 0.2,
41
+ "sinusoidal_pos_embds": false,
42
+ "tie_weights_": true,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.44.2",
45
+ "vocab_size": 30522
46
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:69c2a2a4936c24f523d64acb76c708dfb5046ee9a4f2547706f8eec10db63578
3
  size 265491548
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41cb9663a1212572b4031bc7b0e93a474cbf4de749a17597743de0a8181a1041
3
  size 265491548
runs/Oct31_15-11-25_689617b4c2be/events.out.tfevents.1730387494.689617b4c2be.926.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55fbfa4ce963b387db14a1358b523644e1e104fb64a70d9519602af86dfc4869
3
+ size 5452
runs/Oct31_15-57-33_689617b4c2be/events.out.tfevents.1730390267.689617b4c2be.926.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de98b22c45d6efc478c039412dce7f19a6d88b0aece64fc57f61e501b155c496
3
+ size 5452
runs/Oct31_16-03-43_689617b4c2be/events.out.tfevents.1730390629.689617b4c2be.926.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5cec753517f056425c1dd4bc6bf6b91f9443f0c1cda475c7d9a686b47e45c91b
3
+ size 6961
runs/Oct31_16-03-43_689617b4c2be/events.out.tfevents.1730390861.689617b4c2be.926.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:729fe31cd0665de0681fde56f59048e221c9a4f5f104e9aac857fb44c1b5aee7
3
+ size 560
special_tokens_map.json CHANGED
@@ -1,7 +1,7 @@
1
- {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
7
- }
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer_config.json CHANGED
@@ -1,55 +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": false,
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
- }
 
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 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f8b672c47872089ffbe799121118fb9417f54a338c9d57802f9ce9418a5359ad
3
- size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0256419f60ea6707f88e2c0168ac3622c8b3884f47d5f12774490f810edae845
3
+ size 5240