Training in progress, step 500
Browse files- README.md +99 -100
- config.json +46 -46
- model.safetensors +1 -1
- pytorch_model.bin +1 -1
- runs/Oct23_17-33-10_DESKTOP-P79TL96/events.out.tfevents.1729722938.DESKTOP-P79TL96.14496.0 +3 -0
- runs/Oct23_17-49-22_DESKTOP-P79TL96/events.out.tfevents.1729723763.DESKTOP-P79TL96.13012.0 +3 -0
- runs/Oct26_21-14-41_DESKTOP-P79TL96/events.out.tfevents.1729995282.DESKTOP-P79TL96.2200.0 +3 -0
- runs/Oct26_21-15-18_DESKTOP-P79TL96/events.out.tfevents.1729995319.DESKTOP-P79TL96.728.0 +3 -0
- runs/Oct26_21-20-34_DESKTOP-P79TL96/events.out.tfevents.1729995637.DESKTOP-P79TL96.8016.0 +3 -0
- runs/Oct26_21-27-24_DESKTOP-P79TL96/events.out.tfevents.1729996046.DESKTOP-P79TL96.4972.0 +3 -0
- special_tokens_map.json +7 -7
- tokenizer_config.json +55 -55
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,100 +1,99 @@
|
|
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 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
-
|
49 |
-
-
|
50 |
-
-
|
51 |
-
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
-
|
72 |
-
-
|
73 |
-
-
|
74 |
-
-
|
75 |
-
-
|
76 |
-
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
| 0.
|
84 |
-
| 0.
|
85 |
-
| 0.
|
86 |
-
| 0.
|
87 |
-
| 0.
|
88 |
-
| 0.
|
89 |
-
| 0.
|
90 |
-
| 0.
|
91 |
-
| 0.
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
-
|
98 |
-
-
|
99 |
-
-
|
100 |
-
- Tokenizers 0.19.1
|
|
|
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
|
|
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.46.0",
|
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:4c4a37d48eca3891cbe43ab215a77f192896578ca8b94edd6284dacdf5112956
|
3 |
size 265491548
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 265514021
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:65c1a7d82a04d6f430c6cec993603c2a09360f033e0c87e5707c60934a77e985
|
3 |
size 265514021
|
runs/Oct23_17-33-10_DESKTOP-P79TL96/events.out.tfevents.1729722938.DESKTOP-P79TL96.14496.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85eb2e28d2b3c1c737a21077af7b5f52c0da8b8f8006d07788ece6dfaac138b8
|
3 |
+
size 5217
|
runs/Oct23_17-49-22_DESKTOP-P79TL96/events.out.tfevents.1729723763.DESKTOP-P79TL96.13012.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ebd496a766f61f1d44a90bb1362243c73c5fc4e6d60a89bf0eefc8da3254540f
|
3 |
+
size 5214
|
runs/Oct26_21-14-41_DESKTOP-P79TL96/events.out.tfevents.1729995282.DESKTOP-P79TL96.2200.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1b1452b15c96370babca99b102268f489c700260a104d40a4cd6e36b166b4c09
|
3 |
+
size 5331
|
runs/Oct26_21-15-18_DESKTOP-P79TL96/events.out.tfevents.1729995319.DESKTOP-P79TL96.728.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c90cffe40d80a5e9c84d2646f941e8f2cabae922ae3c0f570ad34d5e27a3c86
|
3 |
+
size 5330
|
runs/Oct26_21-20-34_DESKTOP-P79TL96/events.out.tfevents.1729995637.DESKTOP-P79TL96.8016.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d4559c7cf99aee2e0fda2d1fe42a4c936907ec697374819bb25a9db6da4c93b
|
3 |
+
size 5282
|
runs/Oct26_21-27-24_DESKTOP-P79TL96/events.out.tfevents.1729996046.DESKTOP-P79TL96.4972.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f5233e4cf140669806d1fff7e23a303b060370e421d9c942831cfbc3e6c50d8
|
3 |
+
size 5541
|
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": 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 |
+
}
|
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:3fd4f2833c5a1bb10cde64499d60b90cc4a8d51d7922c22df2759e6457d9cca9
|
3 |
+
size 5304
|