PassbyGrocer commited on
Commit
d5f0cc0
·
verified ·
1 Parent(s): 594e313

End of training

Browse files
README.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: hfl/chinese-roberta-wwm-ext-large
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: robert_bilstm_mega_res-ner-msra-ner
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # robert_bilstm_mega_res-ner-msra-ner
21
+
22
+ This model is a fine-tuned version of [hfl/chinese-roberta-wwm-ext-large](https://huggingface.co/hfl/chinese-roberta-wwm-ext-large) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0668
25
+ - Precision: 0.9473
26
+ - Recall: 0.9473
27
+ - F1: 0.9473
28
+ - Accuracy: 0.9928
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 32
49
+ - eval_batch_size: 32
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 25
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
58
+ |:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
59
+ | 0.0421 | 1.0 | 1449 | 0.0274 | 0.9225 | 0.9341 | 0.9282 | 0.9923 |
60
+ | 0.0077 | 2.0 | 2898 | 0.0355 | 0.9255 | 0.9389 | 0.9321 | 0.9910 |
61
+ | 0.0066 | 3.0 | 4347 | 0.0376 | 0.9397 | 0.9384 | 0.9391 | 0.9921 |
62
+ | 0.0031 | 4.0 | 5796 | 0.0421 | 0.9385 | 0.9401 | 0.9393 | 0.9926 |
63
+ | 0.0071 | 5.0 | 7245 | 0.0446 | 0.9365 | 0.9446 | 0.9406 | 0.9923 |
64
+ | 0.0007 | 6.0 | 8694 | 0.0431 | 0.9457 | 0.9398 | 0.9428 | 0.9930 |
65
+ | 0.0003 | 7.0 | 10143 | 0.0494 | 0.9412 | 0.9408 | 0.9410 | 0.9926 |
66
+ | 0.0013 | 8.0 | 11592 | 0.0584 | 0.9379 | 0.9338 | 0.9358 | 0.9917 |
67
+ | 0.0003 | 9.0 | 13041 | 0.0557 | 0.9373 | 0.9422 | 0.9398 | 0.9923 |
68
+ | 0.0011 | 10.0 | 14490 | 0.0525 | 0.9395 | 0.9463 | 0.9429 | 0.9926 |
69
+ | 0.0 | 11.0 | 15939 | 0.0569 | 0.9379 | 0.9449 | 0.9414 | 0.9924 |
70
+ | 0.0001 | 12.0 | 17388 | 0.0586 | 0.9358 | 0.9434 | 0.9396 | 0.9922 |
71
+ | 0.0 | 13.0 | 18837 | 0.0601 | 0.9439 | 0.9437 | 0.9438 | 0.9926 |
72
+ | 0.0013 | 14.0 | 20286 | 0.0606 | 0.9395 | 0.9454 | 0.9424 | 0.9924 |
73
+ | 0.0 | 15.0 | 21735 | 0.0591 | 0.9451 | 0.9495 | 0.9473 | 0.9926 |
74
+ | 0.0 | 16.0 | 23184 | 0.0608 | 0.9399 | 0.9490 | 0.9444 | 0.9926 |
75
+ | 0.0 | 17.0 | 24633 | 0.0620 | 0.9440 | 0.9454 | 0.9447 | 0.9927 |
76
+ | 0.0 | 18.0 | 26082 | 0.0636 | 0.9493 | 0.9454 | 0.9473 | 0.9926 |
77
+ | 0.0 | 19.0 | 27531 | 0.0681 | 0.9460 | 0.9451 | 0.9456 | 0.9926 |
78
+ | 0.0 | 20.0 | 28980 | 0.0630 | 0.9430 | 0.9430 | 0.9430 | 0.9925 |
79
+ | 0.0 | 21.0 | 30429 | 0.0620 | 0.9445 | 0.9463 | 0.9454 | 0.9928 |
80
+ | 0.0 | 22.0 | 31878 | 0.0671 | 0.9456 | 0.9446 | 0.9451 | 0.9926 |
81
+ | 0.0 | 23.0 | 33327 | 0.0682 | 0.9479 | 0.9451 | 0.9465 | 0.9926 |
82
+ | 0.0 | 24.0 | 34776 | 0.0671 | 0.9475 | 0.9466 | 0.9470 | 0.9927 |
83
+ | 0.0 | 25.0 | 36225 | 0.0668 | 0.9473 | 0.9473 | 0.9473 | 0.9928 |
84
+
85
+
86
+ ### Framework versions
87
+
88
+ - Transformers 4.46.2
89
+ - Pytorch 2.4.1+cu124
90
+ - Datasets 3.1.0
91
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hfl/chinese-roberta-wwm-ext-large",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "directionality": "bidi",
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 1024,
14
+ "id2label": {
15
+ "0": "O",
16
+ "1": "B-LOC",
17
+ "2": "I-LOC",
18
+ "3": "B-ORG",
19
+ "4": "I-ORG",
20
+ "5": "B-PER",
21
+ "6": "I-PER"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 4096,
25
+ "label2id": {
26
+ "B-LOC": 1,
27
+ "B-ORG": 3,
28
+ "B-PER": 5,
29
+ "I-LOC": 2,
30
+ "I-ORG": 4,
31
+ "I-PER": 6,
32
+ "O": 0
33
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "max_position_embeddings": 512,
36
+ "model_type": "bert",
37
+ "num_attention_heads": 16,
38
+ "num_hidden_layers": 24,
39
+ "output_past": true,
40
+ "pad_token_id": 0,
41
+ "pooler_fc_size": 768,
42
+ "pooler_num_attention_heads": 12,
43
+ "pooler_num_fc_layers": 3,
44
+ "pooler_size_per_head": 128,
45
+ "pooler_type": "first_token_transform",
46
+ "position_embedding_type": "absolute",
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.46.2",
49
+ "type_vocab_size": 2,
50
+ "use_cache": true,
51
+ "vocab_size": 21128
52
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c5a0ebac17cf6b88d59d20f84cd540e4534c2bd7e10432a978750533fa9b820
3
+ size 1297966804
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,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": 1000000000000000019884624838656,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "BertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:348b27653e7f24e64955f7e50630c2c015302ef9f897f72dd4fb45491a910e15
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff