damand2061 commited on
Commit
2e1d7fe
1 Parent(s): 25b36bd

End of training

Browse files
Files changed (7) hide show
  1. README.md +61 -0
  2. config.json +108 -0
  3. special_tokens_map.json +7 -0
  4. tf_model.h5 +3 -0
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +57 -0
  7. vocab.txt +0 -0
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: indobenchmark/indobert-base-p1
5
+ tags:
6
+ - generated_from_keras_callback
7
+ model-index:
8
+ - name: damand2061/pfsa-id-indobert-nlu
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
13
+ probably proofread and complete it, then remove this comment. -->
14
+
15
+ # damand2061/pfsa-id-indobert-nlu
16
+
17
+ This model is a fine-tuned version of [indobenchmark/indobert-base-p1](https://huggingface.co/indobenchmark/indobert-base-p1) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Train Loss: 0.0564
20
+ - Validation Loss: 0.3296
21
+ - Validation F1: 0.8278
22
+ - Validation Accuracy: 0.9226
23
+ - Epoch: 4
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - optimizer: {'inner_optimizer': {'module': 'transformers.optimization_tf', 'class_name': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 1e-05, 'decay_steps': 10440, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.8999999761581421, 'beta_2': 0.9990000128746033, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}, 'registered_name': 'AdamWeightDecay'}, 'dynamic': True, 'initial_scale': 32768.0, 'dynamic_growth_steps': 2000}
43
+ - training_precision: mixed_float16
44
+
45
+ ### Training results
46
+
47
+ | Train Loss | Validation Loss | Validation F1 | Validation Accuracy | Epoch |
48
+ |:----------:|:---------------:|:-------------:|:-------------------:|:-----:|
49
+ | 0.3292 | 0.2490 | 0.7686 | 0.9169 | 0 |
50
+ | 0.2018 | 0.2370 | 0.8140 | 0.9267 | 1 |
51
+ | 0.1353 | 0.2506 | 0.8206 | 0.9220 | 2 |
52
+ | 0.0842 | 0.2787 | 0.8220 | 0.9263 | 3 |
53
+ | 0.0564 | 0.3296 | 0.8278 | 0.9226 | 4 |
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 4.44.2
59
+ - TensorFlow 2.17.0
60
+ - Datasets 2.21.0
61
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "indobenchmark/indobert-base-p1",
3
+ "_num_labels": 5,
4
+ "architectures": [
5
+ "BertForTokenClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "directionality": "bidi",
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "B-EVENT",
15
+ "1": "I-EVENT",
16
+ "2": "L-EVENT",
17
+ "3": "B-STATEMENT",
18
+ "4": "I-STATEMENT",
19
+ "5": "L-STATEMENT",
20
+ "6": "B-DATETIME",
21
+ "7": "I-DATETIME",
22
+ "8": "L-DATETIME",
23
+ "9": "B-ROLE",
24
+ "10": "I-ROLE",
25
+ "11": "L-ROLE",
26
+ "12": "B-PERSON",
27
+ "13": "I-PERSON",
28
+ "14": "L-PERSON",
29
+ "15": "B-LOCATION",
30
+ "16": "I-LOCATION",
31
+ "17": "L-LOCATION",
32
+ "18": "B-ISSUE",
33
+ "19": "I-ISSUE",
34
+ "20": "L-ISSUE",
35
+ "21": "B-AFFILIATION",
36
+ "22": "I-AFFILIATION",
37
+ "23": "L-AFFILIATION",
38
+ "24": "B-PERSONCOREF",
39
+ "25": "I-PERSONCOREF",
40
+ "26": "L-PERSONCOREF",
41
+ "27": "U-EVENT",
42
+ "28": "U-AFFILIATION",
43
+ "29": "U-ROLE",
44
+ "30": "U-PERSON",
45
+ "31": "U-PERSONCOREF",
46
+ "32": "U-CUE",
47
+ "33": "U-CUECOREF",
48
+ "34": "U-LOCATION",
49
+ "35": "O"
50
+ },
51
+ "initializer_range": 0.02,
52
+ "intermediate_size": 3072,
53
+ "label2id": {
54
+ "B-AFFILIATION": 21,
55
+ "B-DATETIME": 6,
56
+ "B-EVENT": 0,
57
+ "B-ISSUE": 18,
58
+ "B-LOCATION": 15,
59
+ "B-PERSON": 12,
60
+ "B-PERSONCOREF": 24,
61
+ "B-ROLE": 9,
62
+ "B-STATEMENT": 3,
63
+ "I-AFFILIATION": 22,
64
+ "I-DATETIME": 7,
65
+ "I-EVENT": 1,
66
+ "I-ISSUE": 19,
67
+ "I-LOCATION": 16,
68
+ "I-PERSON": 13,
69
+ "I-PERSONCOREF": 25,
70
+ "I-ROLE": 10,
71
+ "I-STATEMENT": 4,
72
+ "L-AFFILIATION": 23,
73
+ "L-DATETIME": 8,
74
+ "L-EVENT": 2,
75
+ "L-ISSUE": 20,
76
+ "L-LOCATION": 17,
77
+ "L-PERSON": 14,
78
+ "L-PERSONCOREF": 26,
79
+ "L-ROLE": 11,
80
+ "L-STATEMENT": 5,
81
+ "O": 35,
82
+ "U-AFFILIATION": 28,
83
+ "U-CUE": 32,
84
+ "U-CUECOREF": 33,
85
+ "U-EVENT": 27,
86
+ "U-LOCATION": 34,
87
+ "U-PERSON": 30,
88
+ "U-PERSONCOREF": 31,
89
+ "U-ROLE": 29
90
+ },
91
+ "layer_norm_eps": 1e-12,
92
+ "max_position_embeddings": 512,
93
+ "model_type": "bert",
94
+ "num_attention_heads": 12,
95
+ "num_hidden_layers": 12,
96
+ "output_past": true,
97
+ "pad_token_id": 0,
98
+ "pooler_fc_size": 768,
99
+ "pooler_num_attention_heads": 12,
100
+ "pooler_num_fc_layers": 3,
101
+ "pooler_size_per_head": 128,
102
+ "pooler_type": "first_token_transform",
103
+ "position_embedding_type": "absolute",
104
+ "transformers_version": "4.44.2",
105
+ "type_vocab_size": 2,
106
+ "use_cache": true,
107
+ "vocab_size": 50000
108
+ }
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
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e26eda7705cd94afe669616e53e7ab8fc82c9ec0064661c2944c8c71adf1d3b6
3
+ size 495799384
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "mask_token": "[MASK]",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff