End of training
Browse files- README.md +92 -92
- config.json +46 -46
- model.safetensors +1 -1
- runs/Oct31_11-32-43_DESKTOP-P79TL96/events.out.tfevents.1730392373.DESKTOP-P79TL96.21512.0 +3 -0
- runs/Oct31_11-32-43_DESKTOP-P79TL96/events.out.tfevents.1730395057.DESKTOP-P79TL96.21512.1 +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.2
|
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.641320474777448
|
30 |
+
- name: Recall
|
31 |
+
type: recall
|
32 |
+
value: 0.6247892074198989
|
33 |
+
- name: F1
|
34 |
+
type: f1
|
35 |
+
value: 0.6329469188529592
|
36 |
+
- name: Accuracy
|
37 |
+
type: accuracy
|
38 |
+
value: 0.9310811260297363
|
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.2434
|
49 |
+
- Precision: 0.6413
|
50 |
+
- Recall: 0.6248
|
51 |
+
- F1: 0.6329
|
52 |
+
- Accuracy: 0.9311
|
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: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
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.3551 | 1.0 | 521 | 0.2708 | 0.5957 | 0.5858 | 0.5907 | 0.9230 |
|
84 |
+
| 0.2055 | 2.0 | 1042 | 0.2434 | 0.6413 | 0.6248 | 0.6329 | 0.9311 |
|
85 |
+
|
86 |
+
|
87 |
+
### Framework versions
|
88 |
+
|
89 |
+
- Transformers 4.46.0
|
90 |
+
- Pytorch 2.5.0+cpu
|
91 |
+
- Datasets 3.0.2
|
92 |
+
- Tokenizers 0.20.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:73cf7fab8e5b803930a2d2d566cfdf6d927d74f0c55ceb6a8ce5c70aad91d57b
|
3 |
size 265491548
|
runs/Oct31_11-32-43_DESKTOP-P79TL96/events.out.tfevents.1730392373.DESKTOP-P79TL96.21512.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b39f6a9951d2f0eda58bdc8bbd6cb351b172edbbdfed428abc8cc7e32269b1d2
|
3 |
+
size 7003
|
runs/Oct31_11-32-43_DESKTOP-P79TL96/events.out.tfevents.1730395057.DESKTOP-P79TL96.21512.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8784d1dc19d75b06a3459f1683289e2e0e449ad96a4e423ff70e1b6718f76091
|
3 |
+
size 512
|
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:c1a95d483891ca2e1d2d5f557054c431944d773136d8ba105b8cfa181ca23fa4
|
3 |
+
size 5304
|