treamyracle commited on
Commit
e8c88ab
·
verified ·
1 Parent(s): a4cbaed

indo-ner-stage2-gold-final

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - f1
7
+ - precision
8
+ - recall
9
+ model-index:
10
+ - name: local_stage2_final
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # local_stage2_final
18
+
19
+ This model was trained from scratch on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.1903
22
+ - F1: 0.8202
23
+ - Precision: 0.7998
24
+ - Recall: 0.8417
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: 5e-06
44
+ - train_batch_size: 16
45
+ - eval_batch_size: 16
46
+ - seed: 42
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 5
50
+ - mixed_precision_training: Native AMP
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall |
55
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|
56
+ | 0.3264 | 1.0 | 926 | 0.2126 | 0.7851 | 0.7626 | 0.8091 |
57
+ | 0.1823 | 2.0 | 1852 | 0.1930 | 0.8056 | 0.7806 | 0.8322 |
58
+ | 0.1444 | 3.0 | 2778 | 0.1894 | 0.8155 | 0.7939 | 0.8382 |
59
+ | 0.1293 | 4.0 | 3704 | 0.1885 | 0.8192 | 0.7993 | 0.8400 |
60
+ | 0.1184 | 5.0 | 4630 | 0.1903 | 0.8202 | 0.7998 | 0.8417 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.57.3
66
+ - Pytorch 2.9.0+cu126
67
+ - Datasets 4.0.0
68
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_num_labels": 5,
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "dtype": "float32",
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "O",
15
+ "1": "B-CRD",
16
+ "2": "B-DAT",
17
+ "3": "B-EVT",
18
+ "4": "B-FAC",
19
+ "5": "B-GPE",
20
+ "6": "B-LAN",
21
+ "7": "B-LAW",
22
+ "8": "B-LOC",
23
+ "9": "B-MON",
24
+ "10": "B-NOR",
25
+ "11": "B-ORD",
26
+ "12": "B-ORG",
27
+ "13": "B-PER",
28
+ "14": "B-PRC",
29
+ "15": "B-PRD",
30
+ "16": "B-QTY",
31
+ "17": "B-REG",
32
+ "18": "B-TIM",
33
+ "19": "B-WOA",
34
+ "20": "I-CRD",
35
+ "21": "I-DAT",
36
+ "22": "I-EVT",
37
+ "23": "I-FAC",
38
+ "24": "I-GPE",
39
+ "25": "I-LAN",
40
+ "26": "I-LAW",
41
+ "27": "I-LOC",
42
+ "28": "I-MON",
43
+ "29": "I-NOR",
44
+ "30": "I-ORD",
45
+ "31": "I-ORG",
46
+ "32": "I-PER",
47
+ "33": "I-PRC",
48
+ "34": "I-PRD",
49
+ "35": "I-QTY",
50
+ "36": "I-REG",
51
+ "37": "I-TIM",
52
+ "38": "I-WOA"
53
+ },
54
+ "initializer_range": 0.02,
55
+ "intermediate_size": 3072,
56
+ "label2id": {
57
+ "B-CRD": 1,
58
+ "B-DAT": 2,
59
+ "B-EVT": 3,
60
+ "B-FAC": 4,
61
+ "B-GPE": 5,
62
+ "B-LAN": 6,
63
+ "B-LAW": 7,
64
+ "B-LOC": 8,
65
+ "B-MON": 9,
66
+ "B-NOR": 10,
67
+ "B-ORD": 11,
68
+ "B-ORG": 12,
69
+ "B-PER": 13,
70
+ "B-PRC": 14,
71
+ "B-PRD": 15,
72
+ "B-QTY": 16,
73
+ "B-REG": 17,
74
+ "B-TIM": 18,
75
+ "B-WOA": 19,
76
+ "I-CRD": 20,
77
+ "I-DAT": 21,
78
+ "I-EVT": 22,
79
+ "I-FAC": 23,
80
+ "I-GPE": 24,
81
+ "I-LAN": 25,
82
+ "I-LAW": 26,
83
+ "I-LOC": 27,
84
+ "I-MON": 28,
85
+ "I-NOR": 29,
86
+ "I-ORD": 30,
87
+ "I-ORG": 31,
88
+ "I-PER": 32,
89
+ "I-PRC": 33,
90
+ "I-PRD": 34,
91
+ "I-QTY": 35,
92
+ "I-REG": 36,
93
+ "I-TIM": 37,
94
+ "I-WOA": 38,
95
+ "O": 0
96
+ },
97
+ "layer_norm_eps": 1e-12,
98
+ "max_position_embeddings": 512,
99
+ "model_type": "bert",
100
+ "num_attention_heads": 12,
101
+ "num_hidden_layers": 12,
102
+ "output_past": true,
103
+ "pad_token_id": 0,
104
+ "pooler_fc_size": 768,
105
+ "pooler_num_attention_heads": 12,
106
+ "pooler_num_fc_layers": 3,
107
+ "pooler_size_per_head": 128,
108
+ "pooler_type": "first_token_transform",
109
+ "position_embedding_type": "absolute",
110
+ "transformers_version": "4.57.3",
111
+ "type_vocab_size": 2,
112
+ "use_cache": true,
113
+ "vocab_size": 50000
114
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f41ff1ea2cf913676675fd9d9ba03830a51e6bc5b0821c850177e948eba1057c
3
+ size 495546332
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,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
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_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 512,
51
+ "model_max_length": 1000000000000000019884624838656,
52
+ "never_split": null,
53
+ "pad_token": "[PAD]",
54
+ "sep_token": "[SEP]",
55
+ "stride": 128,
56
+ "strip_accents": null,
57
+ "tokenize_chinese_chars": true,
58
+ "tokenizer_class": "BertTokenizer",
59
+ "truncation_side": "right",
60
+ "truncation_strategy": "longest_first",
61
+ "unk_token": "[UNK]"
62
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ced4e35556928af2ab28a610c4ae6c9ecd0c158972549028b9ff09f99eee0d7a
3
+ size 5841
vocab.txt ADDED
The diff for this file is too large to render. See raw diff