Upload folder using huggingface_hub

#2
by VCool22 - opened
Files changed (43) hide show
  1. .gitignore +1 -0
  2. README.md +92 -0
  3. checkpoint-1756/config.json +48 -0
  4. checkpoint-1756/optimizer.pt +3 -0
  5. checkpoint-1756/pytorch_model.bin +3 -0
  6. checkpoint-1756/rng_state.pth +3 -0
  7. checkpoint-1756/scheduler.pt +3 -0
  8. checkpoint-1756/special_tokens_map.json +7 -0
  9. checkpoint-1756/tokenizer.json +0 -0
  10. checkpoint-1756/tokenizer_config.json +13 -0
  11. checkpoint-1756/trainer_state.json +46 -0
  12. checkpoint-1756/training_args.bin +3 -0
  13. checkpoint-1756/vocab.txt +0 -0
  14. checkpoint-3512/config.json +48 -0
  15. checkpoint-3512/optimizer.pt +3 -0
  16. checkpoint-3512/pytorch_model.bin +3 -0
  17. checkpoint-3512/rng_state.pth +3 -0
  18. checkpoint-3512/scheduler.pt +3 -0
  19. checkpoint-3512/special_tokens_map.json +7 -0
  20. checkpoint-3512/tokenizer.json +0 -0
  21. checkpoint-3512/tokenizer_config.json +13 -0
  22. checkpoint-3512/trainer_state.json +82 -0
  23. checkpoint-3512/training_args.bin +3 -0
  24. checkpoint-3512/vocab.txt +0 -0
  25. checkpoint-5268/config.json +48 -0
  26. checkpoint-5268/optimizer.pt +3 -0
  27. checkpoint-5268/pytorch_model.bin +3 -0
  28. checkpoint-5268/rng_state.pth +3 -0
  29. checkpoint-5268/scheduler.pt +3 -0
  30. checkpoint-5268/special_tokens_map.json +7 -0
  31. checkpoint-5268/tokenizer.json +0 -0
  32. checkpoint-5268/tokenizer_config.json +13 -0
  33. checkpoint-5268/trainer_state.json +112 -0
  34. checkpoint-5268/training_args.bin +3 -0
  35. checkpoint-5268/vocab.txt +0 -0
  36. config.json +48 -0
  37. pytorch_model.bin +3 -0
  38. runs/Jul25_22-08-45_055f00759d15/events.out.tfevents.1690323088.055f00759d15.489.0 +3 -0
  39. special_tokens_map.json +7 -0
  40. tokenizer.json +0 -0
  41. tokenizer_config.json +13 -0
  42. training_args.bin +3 -0
  43. vocab.txt +0 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - conll2003
8
+ metrics:
9
+ - precision
10
+ - recall
11
+ - f1
12
+ - accuracy
13
+ model-index:
14
+ - name: bert-finetuned-ner
15
+ results:
16
+ - task:
17
+ name: Token Classification
18
+ type: token-classification
19
+ dataset:
20
+ name: conll2003
21
+ type: conll2003
22
+ config: conll2003
23
+ split: validation
24
+ args: conll2003
25
+ metrics:
26
+ - name: Precision
27
+ type: precision
28
+ value: 0.936092715231788
29
+ - name: Recall
30
+ type: recall
31
+ value: 0.9515314708852238
32
+ - name: F1
33
+ type: f1
34
+ value: 0.9437489567684861
35
+ - name: Accuracy
36
+ type: accuracy
37
+ value: 0.986504385706717
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
+ # bert-finetuned-ner
44
+
45
+ This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the conll2003 dataset.
46
+ It achieves the following results on the evaluation set:
47
+ - Loss: 0.0597
48
+ - Precision: 0.9361
49
+ - Recall: 0.9515
50
+ - F1: 0.9437
51
+ - Accuracy: 0.9865
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: 8
72
+ - eval_batch_size: 8
73
+ - seed: 42
74
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
75
+ - lr_scheduler_type: linear
76
+ - num_epochs: 3
77
+
78
+ ### Training results
79
+
80
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
81
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
82
+ | 0.0794 | 1.0 | 1756 | 0.0703 | 0.9143 | 0.9317 | 0.9229 | 0.9808 |
83
+ | 0.0346 | 2.0 | 3512 | 0.0573 | 0.9331 | 0.9490 | 0.9410 | 0.9861 |
84
+ | 0.0191 | 3.0 | 5268 | 0.0597 | 0.9361 | 0.9515 | 0.9437 | 0.9865 |
85
+
86
+
87
+ ### Framework versions
88
+
89
+ - Transformers 4.31.0
90
+ - Pytorch 2.0.1+cu118
91
+ - Datasets 2.14.0
92
+ - Tokenizers 0.13.3
checkpoint-1756/config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-PER",
15
+ "2": "I-PER",
16
+ "3": "B-ORG",
17
+ "4": "I-ORG",
18
+ "5": "B-LOC",
19
+ "6": "I-LOC",
20
+ "7": "B-MISC",
21
+ "8": "I-MISC"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "B-LOC": 5,
27
+ "B-MISC": 7,
28
+ "B-ORG": 3,
29
+ "B-PER": 1,
30
+ "I-LOC": 6,
31
+ "I-MISC": 8,
32
+ "I-ORG": 4,
33
+ "I-PER": 2,
34
+ "O": 0
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "max_position_embeddings": 512,
38
+ "model_type": "bert",
39
+ "num_attention_heads": 12,
40
+ "num_hidden_layers": 12,
41
+ "pad_token_id": 0,
42
+ "position_embedding_type": "absolute",
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.31.0",
45
+ "type_vocab_size": 2,
46
+ "use_cache": true,
47
+ "vocab_size": 28996
48
+ }
checkpoint-1756/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5b13cf849e37881a22023d827c8092f51450d3a37d121086ed138af6e4db77c
3
+ size 861923909
checkpoint-1756/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c94abb0332ded24735b71a95bc6be31c1f784ffece54b9fb1cee31eb7e7337b
3
+ size 430971305
checkpoint-1756/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af2ec4b738d10fd57571de452ec625272641d74315bae317f926453e29fe0c76
3
+ size 13553
checkpoint-1756/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93d2673b41ff200e34ce1428ea0f6aa519740c87ece8f446df9868ddb7b08813
3
+ size 627
checkpoint-1756/special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
checkpoint-1756/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1756/tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": false,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
checkpoint-1756/trainer_state.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "global_step": 1756,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.28,
12
+ "learning_rate": 1.810174639331815e-05,
13
+ "loss": 0.2574,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.57,
18
+ "learning_rate": 1.6203492786636296e-05,
19
+ "loss": 0.1076,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.85,
24
+ "learning_rate": 1.4305239179954442e-05,
25
+ "loss": 0.0794,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 1.0,
30
+ "eval_accuracy": 0.9808382881026667,
31
+ "eval_f1": 0.9228973910144204,
32
+ "eval_loss": 0.07026076316833496,
33
+ "eval_precision": 0.9142857142857143,
34
+ "eval_recall": 0.9316728374284753,
35
+ "eval_runtime": 490.5826,
36
+ "eval_samples_per_second": 6.625,
37
+ "eval_steps_per_second": 0.83,
38
+ "step": 1756
39
+ }
40
+ ],
41
+ "max_steps": 5268,
42
+ "num_train_epochs": 3,
43
+ "total_flos": 307479492426330.0,
44
+ "trial_name": null,
45
+ "trial_params": null
46
+ }
checkpoint-1756/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66a6e01967aba4e23de7904e8698e4b29526f7afd0798abe580d5932307236aa
3
+ size 3963
checkpoint-1756/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-3512/config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-PER",
15
+ "2": "I-PER",
16
+ "3": "B-ORG",
17
+ "4": "I-ORG",
18
+ "5": "B-LOC",
19
+ "6": "I-LOC",
20
+ "7": "B-MISC",
21
+ "8": "I-MISC"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "B-LOC": 5,
27
+ "B-MISC": 7,
28
+ "B-ORG": 3,
29
+ "B-PER": 1,
30
+ "I-LOC": 6,
31
+ "I-MISC": 8,
32
+ "I-ORG": 4,
33
+ "I-PER": 2,
34
+ "O": 0
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "max_position_embeddings": 512,
38
+ "model_type": "bert",
39
+ "num_attention_heads": 12,
40
+ "num_hidden_layers": 12,
41
+ "pad_token_id": 0,
42
+ "position_embedding_type": "absolute",
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.31.0",
45
+ "type_vocab_size": 2,
46
+ "use_cache": true,
47
+ "vocab_size": 28996
48
+ }
checkpoint-3512/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74be4753c0abe380ff48bd7a1f94f240fc5a6dc1ddc7a32df725731df27f70ba
3
+ size 861923909
checkpoint-3512/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b512d291ed8a17f1d620391c29484181db7450f72774974a242fed36f48d0216
3
+ size 430971305
checkpoint-3512/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85ec8bebfd85f39912455c3ddb2b58830364f9c8005441a2a685311f046b302f
3
+ size 13553
checkpoint-3512/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32761276cf4965bc59816e8d72b145013cb6520efc0f0045aeb7a64bd47ff3c0
3
+ size 627
checkpoint-3512/special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
checkpoint-3512/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-3512/tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": false,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
checkpoint-3512/trainer_state.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.0,
5
+ "global_step": 3512,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.28,
12
+ "learning_rate": 1.810174639331815e-05,
13
+ "loss": 0.2574,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.57,
18
+ "learning_rate": 1.6203492786636296e-05,
19
+ "loss": 0.1076,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.85,
24
+ "learning_rate": 1.4305239179954442e-05,
25
+ "loss": 0.0794,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 1.0,
30
+ "eval_accuracy": 0.9808382881026667,
31
+ "eval_f1": 0.9228973910144204,
32
+ "eval_loss": 0.07026076316833496,
33
+ "eval_precision": 0.9142857142857143,
34
+ "eval_recall": 0.9316728374284753,
35
+ "eval_runtime": 490.5826,
36
+ "eval_samples_per_second": 6.625,
37
+ "eval_steps_per_second": 0.83,
38
+ "step": 1756
39
+ },
40
+ {
41
+ "epoch": 1.14,
42
+ "learning_rate": 1.240698557327259e-05,
43
+ "loss": 0.0588,
44
+ "step": 2000
45
+ },
46
+ {
47
+ "epoch": 1.42,
48
+ "learning_rate": 1.0508731966590738e-05,
49
+ "loss": 0.0419,
50
+ "step": 2500
51
+ },
52
+ {
53
+ "epoch": 1.71,
54
+ "learning_rate": 8.610478359908885e-06,
55
+ "loss": 0.0437,
56
+ "step": 3000
57
+ },
58
+ {
59
+ "epoch": 1.99,
60
+ "learning_rate": 6.712224753227031e-06,
61
+ "loss": 0.0346,
62
+ "step": 3500
63
+ },
64
+ {
65
+ "epoch": 2.0,
66
+ "eval_accuracy": 0.9861217401542356,
67
+ "eval_f1": 0.9410095953274927,
68
+ "eval_loss": 0.057285286486148834,
69
+ "eval_precision": 0.9331457885156379,
70
+ "eval_recall": 0.9490070683271625,
71
+ "eval_runtime": 491.5796,
72
+ "eval_samples_per_second": 6.611,
73
+ "eval_steps_per_second": 0.828,
74
+ "step": 3512
75
+ }
76
+ ],
77
+ "max_steps": 5268,
78
+ "num_train_epochs": 3,
79
+ "total_flos": 614577222463212.0,
80
+ "trial_name": null,
81
+ "trial_params": null
82
+ }
checkpoint-3512/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66a6e01967aba4e23de7904e8698e4b29526f7afd0798abe580d5932307236aa
3
+ size 3963
checkpoint-3512/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-5268/config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-PER",
15
+ "2": "I-PER",
16
+ "3": "B-ORG",
17
+ "4": "I-ORG",
18
+ "5": "B-LOC",
19
+ "6": "I-LOC",
20
+ "7": "B-MISC",
21
+ "8": "I-MISC"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "B-LOC": 5,
27
+ "B-MISC": 7,
28
+ "B-ORG": 3,
29
+ "B-PER": 1,
30
+ "I-LOC": 6,
31
+ "I-MISC": 8,
32
+ "I-ORG": 4,
33
+ "I-PER": 2,
34
+ "O": 0
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "max_position_embeddings": 512,
38
+ "model_type": "bert",
39
+ "num_attention_heads": 12,
40
+ "num_hidden_layers": 12,
41
+ "pad_token_id": 0,
42
+ "position_embedding_type": "absolute",
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.31.0",
45
+ "type_vocab_size": 2,
46
+ "use_cache": true,
47
+ "vocab_size": 28996
48
+ }
checkpoint-5268/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0918dd98ecfa7474e24451ca0c4d5ce54c02a5344bbf0e8c877def62f76d0fb7
3
+ size 861923909
checkpoint-5268/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c4569917fea8ff4835e7315149882a7a9ad673048923e3e318930ef4c49c53e
3
+ size 430971305
checkpoint-5268/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f369fbf294ac3edca8b203a13127bbf96ca15c4cbb92e91753942fcc41c42b7
3
+ size 13553
checkpoint-5268/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9e7e8bd6502b144a381aeadde8571b5afaf3b9e9ee062ae653aa6a5305180ba
3
+ size 627
checkpoint-5268/special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
checkpoint-5268/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-5268/tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": false,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
checkpoint-5268/trainer_state.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "global_step": 5268,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.28,
12
+ "learning_rate": 1.810174639331815e-05,
13
+ "loss": 0.2574,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.57,
18
+ "learning_rate": 1.6203492786636296e-05,
19
+ "loss": 0.1076,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.85,
24
+ "learning_rate": 1.4305239179954442e-05,
25
+ "loss": 0.0794,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 1.0,
30
+ "eval_accuracy": 0.9808382881026667,
31
+ "eval_f1": 0.9228973910144204,
32
+ "eval_loss": 0.07026076316833496,
33
+ "eval_precision": 0.9142857142857143,
34
+ "eval_recall": 0.9316728374284753,
35
+ "eval_runtime": 490.5826,
36
+ "eval_samples_per_second": 6.625,
37
+ "eval_steps_per_second": 0.83,
38
+ "step": 1756
39
+ },
40
+ {
41
+ "epoch": 1.14,
42
+ "learning_rate": 1.240698557327259e-05,
43
+ "loss": 0.0588,
44
+ "step": 2000
45
+ },
46
+ {
47
+ "epoch": 1.42,
48
+ "learning_rate": 1.0508731966590738e-05,
49
+ "loss": 0.0419,
50
+ "step": 2500
51
+ },
52
+ {
53
+ "epoch": 1.71,
54
+ "learning_rate": 8.610478359908885e-06,
55
+ "loss": 0.0437,
56
+ "step": 3000
57
+ },
58
+ {
59
+ "epoch": 1.99,
60
+ "learning_rate": 6.712224753227031e-06,
61
+ "loss": 0.0346,
62
+ "step": 3500
63
+ },
64
+ {
65
+ "epoch": 2.0,
66
+ "eval_accuracy": 0.9861217401542356,
67
+ "eval_f1": 0.9410095953274927,
68
+ "eval_loss": 0.057285286486148834,
69
+ "eval_precision": 0.9331457885156379,
70
+ "eval_recall": 0.9490070683271625,
71
+ "eval_runtime": 491.5796,
72
+ "eval_samples_per_second": 6.611,
73
+ "eval_steps_per_second": 0.828,
74
+ "step": 3512
75
+ },
76
+ {
77
+ "epoch": 2.28,
78
+ "learning_rate": 4.8139711465451785e-06,
79
+ "loss": 0.0258,
80
+ "step": 4000
81
+ },
82
+ {
83
+ "epoch": 2.56,
84
+ "learning_rate": 2.9157175398633257e-06,
85
+ "loss": 0.0191,
86
+ "step": 4500
87
+ },
88
+ {
89
+ "epoch": 2.85,
90
+ "learning_rate": 1.0174639331814731e-06,
91
+ "loss": 0.0191,
92
+ "step": 5000
93
+ },
94
+ {
95
+ "epoch": 3.0,
96
+ "eval_accuracy": 0.986504385706717,
97
+ "eval_f1": 0.9437489567684861,
98
+ "eval_loss": 0.05966141074895859,
99
+ "eval_precision": 0.936092715231788,
100
+ "eval_recall": 0.9515314708852238,
101
+ "eval_runtime": 487.1838,
102
+ "eval_samples_per_second": 6.671,
103
+ "eval_steps_per_second": 0.835,
104
+ "step": 5268
105
+ }
106
+ ],
107
+ "max_steps": 5268,
108
+ "num_train_epochs": 3,
109
+ "total_flos": 923635312577460.0,
110
+ "trial_name": null,
111
+ "trial_params": null
112
+ }
checkpoint-5268/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66a6e01967aba4e23de7904e8698e4b29526f7afd0798abe580d5932307236aa
3
+ size 3963
checkpoint-5268/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-PER",
15
+ "2": "I-PER",
16
+ "3": "B-ORG",
17
+ "4": "I-ORG",
18
+ "5": "B-LOC",
19
+ "6": "I-LOC",
20
+ "7": "B-MISC",
21
+ "8": "I-MISC"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "B-LOC": 5,
27
+ "B-MISC": 7,
28
+ "B-ORG": 3,
29
+ "B-PER": 1,
30
+ "I-LOC": 6,
31
+ "I-MISC": 8,
32
+ "I-ORG": 4,
33
+ "I-PER": 2,
34
+ "O": 0
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "max_position_embeddings": 512,
38
+ "model_type": "bert",
39
+ "num_attention_heads": 12,
40
+ "num_hidden_layers": 12,
41
+ "pad_token_id": 0,
42
+ "position_embedding_type": "absolute",
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.31.0",
45
+ "type_vocab_size": 2,
46
+ "use_cache": true,
47
+ "vocab_size": 28996
48
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c4569917fea8ff4835e7315149882a7a9ad673048923e3e318930ef4c49c53e
3
+ size 430971305
runs/Jul25_22-08-45_055f00759d15/events.out.tfevents.1690323088.055f00759d15.489.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:380759545d88f40fbf0e1a2f4c2f907f02da2307541677fbe7be1acd797e3a00
3
+ size 7722
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": false,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66a6e01967aba4e23de7904e8698e4b29526f7afd0798abe580d5932307236aa
3
+ size 3963
vocab.txt ADDED
The diff for this file is too large to render. See raw diff