gyr66 commited on
Commit
0cf85f0
β€’
1 Parent(s): 7674eb5

End of training

Browse files
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ model-index:
5
+ - name: RoBERTa-ext-large-crf-chinese-finetuned-ner
6
+ results: []
7
+ ---
8
+
9
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
10
+ should probably proofread and complete it, then remove this comment. -->
11
+
12
+ # RoBERTa-ext-large-crf-chinese-finetuned-ner
13
+
14
+ This model was trained from scratch on an unknown dataset.
15
+ It achieves the following results on the evaluation set:
16
+ - eval_loss: 93.6921
17
+ - eval_precision: 0.6788
18
+ - eval_recall: 0.7538
19
+ - eval_f1: 0.7143
20
+ - eval_accuracy: 0.9634
21
+ - eval_runtime: 23.7231
22
+ - eval_samples_per_second: 21.203
23
+ - eval_steps_per_second: 2.656
24
+ - step: 0
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 2e-05
44
+ - train_batch_size: 4
45
+ - eval_batch_size: 8
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 1
50
+
51
+ ### Framework versions
52
+
53
+ - Transformers 4.35.2
54
+ - Pytorch 2.1.0+cu121
55
+ - Datasets 2.16.1
56
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./RoBERTa-ext-large-chinese-finetuned-ner",
3
+ "architectures": [
4
+ "BertCrfForTokenClassification"
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-position",
17
+ "2": "I-position",
18
+ "3": "B-name",
19
+ "4": "I-name",
20
+ "5": "B-movie",
21
+ "6": "I-movie",
22
+ "7": "B-organization",
23
+ "8": "I-organization",
24
+ "9": "B-company",
25
+ "10": "I-company",
26
+ "11": "B-book",
27
+ "12": "I-book",
28
+ "13": "B-address",
29
+ "14": "I-address",
30
+ "15": "B-scene",
31
+ "16": "I-scene",
32
+ "17": "B-mobile",
33
+ "18": "I-mobile",
34
+ "19": "B-email",
35
+ "20": "I-email",
36
+ "21": "B-game",
37
+ "22": "I-game",
38
+ "23": "B-government",
39
+ "24": "I-government",
40
+ "25": "B-QQ",
41
+ "26": "I-QQ",
42
+ "27": "B-vx",
43
+ "28": "I-vx"
44
+ },
45
+ "initializer_range": 0.02,
46
+ "intermediate_size": 4096,
47
+ "label2id": {
48
+ "B-QQ": 25,
49
+ "B-address": 13,
50
+ "B-book": 11,
51
+ "B-company": 9,
52
+ "B-email": 19,
53
+ "B-game": 21,
54
+ "B-government": 23,
55
+ "B-mobile": 17,
56
+ "B-movie": 5,
57
+ "B-name": 3,
58
+ "B-organization": 7,
59
+ "B-position": 1,
60
+ "B-scene": 15,
61
+ "B-vx": 27,
62
+ "I-QQ": 26,
63
+ "I-address": 14,
64
+ "I-book": 12,
65
+ "I-company": 10,
66
+ "I-email": 20,
67
+ "I-game": 22,
68
+ "I-government": 24,
69
+ "I-mobile": 18,
70
+ "I-movie": 6,
71
+ "I-name": 4,
72
+ "I-organization": 8,
73
+ "I-position": 2,
74
+ "I-scene": 16,
75
+ "I-vx": 28,
76
+ "O": 0
77
+ },
78
+ "layer_norm_eps": 1e-12,
79
+ "max_position_embeddings": 512,
80
+ "model_type": "bert",
81
+ "num_attention_heads": 16,
82
+ "num_hidden_layers": 24,
83
+ "output_past": true,
84
+ "pad_token_id": 0,
85
+ "pooler_fc_size": 768,
86
+ "pooler_num_attention_heads": 12,
87
+ "pooler_num_fc_layers": 3,
88
+ "pooler_size_per_head": 128,
89
+ "pooler_type": "first_token_transform",
90
+ "position_embedding_type": "absolute",
91
+ "torch_dtype": "float32",
92
+ "transformers_version": "4.35.2",
93
+ "type_vocab_size": 2,
94
+ "use_cache": true,
95
+ "vocab_size": 21128
96
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74054eb7525f1811fa4d9eb645e99008be1db9a50cf9a058f271ef4bbf641458
3
+ size 1298060872
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,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "ignore_mismatched_sizes": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dca0bbb1c7d575f8c093b1d4826a8230a7cb1937f36a0f5b4f0536003486723
3
+ size 4600
vocab.txt ADDED
The diff for this file is too large to render. See raw diff