damand2061 commited on
Commit
dc7c3dd
1 Parent(s): a8804f2

End of training

Browse files
Files changed (7) hide show
  1. README.md +60 -0
  2. config.json +103 -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,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: indolem/indobert-base-uncased
4
+ tags:
5
+ - generated_from_keras_callback
6
+ model-index:
7
+ - name: damand2061/pfsa-id-med-indobert-lem
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
12
+ probably proofread and complete it, then remove this comment. -->
13
+
14
+ # damand2061/pfsa-id-med-indobert-lem
15
+
16
+ This model is a fine-tuned version of [indolem/indobert-base-uncased](https://huggingface.co/indolem/indobert-base-uncased) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.1033
19
+ - Validation Loss: 0.2546
20
+ - Validation F1: 0.8649
21
+ - Validation Accuracy: 0.9290
22
+ - Epoch: 4
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - 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': 19220, '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}
42
+ - training_precision: mixed_float16
43
+
44
+ ### Training results
45
+
46
+ | Train Loss | Validation Loss | Validation F1 | Validation Accuracy | Epoch |
47
+ |:----------:|:---------------:|:-------------:|:-------------------:|:-----:|
48
+ | 0.3412 | 0.2362 | 0.7881 | 0.9230 | 0 |
49
+ | 0.2070 | 0.2131 | 0.8448 | 0.9301 | 1 |
50
+ | 0.1615 | 0.2377 | 0.8529 | 0.9254 | 2 |
51
+ | 0.1288 | 0.2406 | 0.8623 | 0.9285 | 3 |
52
+ | 0.1033 | 0.2546 | 0.8649 | 0.9290 | 4 |
53
+
54
+
55
+ ### Framework versions
56
+
57
+ - Transformers 4.44.0
58
+ - TensorFlow 2.16.1
59
+ - Datasets 2.21.0
60
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "indolem/indobert-base-uncased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_ids": 0,
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
+ "position_embedding_type": "absolute",
99
+ "transformers_version": "4.44.0",
100
+ "type_vocab_size": 2,
101
+ "use_cache": true,
102
+ "vocab_size": 31923
103
+ }
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:5aec63063842337119edf42813457f76134b6bad70c2c33fca67f8d7eb58468f
3
+ size 440266840
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": "[MASK]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[CLS]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[SEP]",
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