End of training
Browse files- README.md +92 -92
- config.json +46 -46
- model.safetensors +1 -1
- runs/Nov11_14-36-33_d40eef0cc704/events.out.tfevents.1731335865.d40eef0cc704.1072.0 +3 -0
- runs/Nov11_14-47-25_d40eef0cc704/events.out.tfevents.1731336464.d40eef0cc704.1072.1 +3 -0
- runs/Nov11_14-47-25_d40eef0cc704/events.out.tfevents.1731336895.d40eef0cc704.1072.2 +3 -0
- runs/Nov11_15-04-18_d40eef0cc704/events.out.tfevents.1731337488.d40eef0cc704.1072.3 +3 -0
- runs/Nov11_15-04-18_d40eef0cc704/events.out.tfevents.1731337776.d40eef0cc704.1072.4 +3 -0
- special_tokens_map.json +7 -7
- tokenizer_config.json +55 -55
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,92 +1,92 @@
|
|
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.
|
30 |
-
- name: Recall
|
31 |
-
type: recall
|
32 |
-
value: 0.
|
33 |
-
- name: F1
|
34 |
-
type: f1
|
35 |
-
value: 0.
|
36 |
-
- name: Accuracy
|
37 |
-
type: accuracy
|
38 |
-
value: 0.
|
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.
|
49 |
-
- Precision: 0.
|
50 |
-
- Recall: 0.
|
51 |
-
- F1: 0.
|
52 |
-
- Accuracy: 0.
|
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:
|
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.
|
84 |
-
| 0.
|
85 |
-
|
86 |
-
|
87 |
-
### Framework versions
|
88 |
-
|
89 |
-
- Transformers 4.
|
90 |
-
- Pytorch 2.5.0+
|
91 |
-
- Datasets 3.0
|
92 |
-
- Tokenizers 0.
|
|
|
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.6296160430423087
|
30 |
+
- name: Recall
|
31 |
+
type: recall
|
32 |
+
value: 0.6202119971091303
|
33 |
+
- name: F1
|
34 |
+
type: f1
|
35 |
+
value: 0.6248786407766991
|
36 |
+
- name: Accuracy
|
37 |
+
type: accuracy
|
38 |
+
value: 0.9305489339527457
|
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.2451
|
49 |
+
- Precision: 0.6296
|
50 |
+
- Recall: 0.6202
|
51 |
+
- F1: 0.6249
|
52 |
+
- Accuracy: 0.9305
|
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.3571 | 1.0 | 521 | 0.2721 | 0.5804 | 0.5771 | 0.5787 | 0.9217 |
|
84 |
+
| 0.203 | 2.0 | 1042 | 0.2451 | 0.6296 | 0.6202 | 0.6249 | 0.9305 |
|
85 |
+
|
86 |
+
|
87 |
+
### Framework versions
|
88 |
+
|
89 |
+
- Transformers 4.44.2
|
90 |
+
- Pytorch 2.5.0+cu121
|
91 |
+
- Datasets 3.1.0
|
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.
|
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:
|
3 |
size 265491548
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8cc0b5aac94ebd2af7064b8ead3a2edc93a2f884df50bcca6296764f1a29cbd3
|
3 |
size 265491548
|
runs/Nov11_14-36-33_d40eef0cc704/events.out.tfevents.1731335865.d40eef0cc704.1072.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6607899d8cc1a8a234a9c706829ec45f955fd1a7705690b9238c5d3c6e6706e7
|
3 |
+
size 5241
|
runs/Nov11_14-47-25_d40eef0cc704/events.out.tfevents.1731336464.d40eef0cc704.1072.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3288f6ea2a6d3566c36edbd34ba491b1cbe4294a257cc696cbdee9fda518f624
|
3 |
+
size 6934
|
runs/Nov11_14-47-25_d40eef0cc704/events.out.tfevents.1731336895.d40eef0cc704.1072.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9dd8d18ff0b7625e886763a8b61bc13ff667c8235f97bd11bc17a385c5ad87e
|
3 |
+
size 560
|
runs/Nov11_15-04-18_d40eef0cc704/events.out.tfevents.1731337488.d40eef0cc704.1072.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62074adc6e851a6d7cac66d409957ec47c01340475d6b5a9cb0feb893fcd4711
|
3 |
+
size 6961
|
runs/Nov11_15-04-18_d40eef0cc704/events.out.tfevents.1731337776.d40eef0cc704.1072.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21ef970d9422bdd9dc80fd89da9c83b70fbefaac18418d487f829660e0d827f3
|
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":
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a16046f98ba3bf21e6d8b4679e588239388f9553d15b79141824316311248f96
|
3 |
+
size 5240
|