damand2061
commited on
Commit
•
b09a023
1
Parent(s):
aa227f6
End of training
Browse files- README.md +72 -0
- config.json +65 -0
- special_tokens_map.json +7 -0
- tf_model.h5 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: indolem/indobert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_keras_callback
|
6 |
+
model-index:
|
7 |
+
- name: damand2061/innermore-x-indobert-base-uncased
|
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/innermore-x-indobert-base-uncased
|
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.0031
|
19 |
+
- Validation Loss: 0.2408
|
20 |
+
- Train Precision: 0.7359
|
21 |
+
- Train Recall: 0.7424
|
22 |
+
- Train F1: 0.7391
|
23 |
+
- Train Accuracy: 0.9530
|
24 |
+
- Epoch: 14
|
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 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 0.0002, 'decay_steps': 420, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
|
44 |
+
- training_precision: float32
|
45 |
+
|
46 |
+
### Training results
|
47 |
+
|
48 |
+
| Train Loss | Validation Loss | Train Precision | Train Recall | Train F1 | Train Accuracy | Epoch |
|
49 |
+
|:----------:|:---------------:|:---------------:|:------------:|:--------:|:--------------:|:-----:|
|
50 |
+
| 0.7413 | 0.3807 | 0.1975 | 0.1397 | 0.1637 | 0.8856 | 0 |
|
51 |
+
| 0.3455 | 0.2601 | 0.4828 | 0.4891 | 0.4859 | 0.9225 | 1 |
|
52 |
+
| 0.1874 | 0.2015 | 0.6360 | 0.6332 | 0.6346 | 0.9423 | 2 |
|
53 |
+
| 0.0954 | 0.2067 | 0.6857 | 0.6288 | 0.6560 | 0.9433 | 3 |
|
54 |
+
| 0.0796 | 0.1834 | 0.6573 | 0.7118 | 0.6834 | 0.9506 | 4 |
|
55 |
+
| 0.0496 | 0.1825 | 0.7222 | 0.7380 | 0.7300 | 0.9548 | 5 |
|
56 |
+
| 0.0267 | 0.2132 | 0.6653 | 0.7205 | 0.6918 | 0.9493 | 6 |
|
57 |
+
| 0.0264 | 0.2229 | 0.6833 | 0.7162 | 0.6994 | 0.9502 | 7 |
|
58 |
+
| 0.0181 | 0.1976 | 0.7404 | 0.7598 | 0.75 | 0.9548 | 8 |
|
59 |
+
| 0.0105 | 0.2145 | 0.7203 | 0.7424 | 0.7312 | 0.9534 | 9 |
|
60 |
+
| 0.0073 | 0.2449 | 0.7093 | 0.7031 | 0.7061 | 0.9497 | 10 |
|
61 |
+
| 0.0058 | 0.2400 | 0.7354 | 0.7162 | 0.7257 | 0.9530 | 11 |
|
62 |
+
| 0.0050 | 0.2388 | 0.7319 | 0.7511 | 0.7414 | 0.9534 | 12 |
|
63 |
+
| 0.0039 | 0.2407 | 0.7371 | 0.7467 | 0.7419 | 0.9534 | 13 |
|
64 |
+
| 0.0031 | 0.2408 | 0.7359 | 0.7424 | 0.7391 | 0.9530 | 14 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.38.2
|
70 |
+
- TensorFlow 2.15.0
|
71 |
+
- Datasets 2.18.0
|
72 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "O",
|
15 |
+
"1": "B-MVT",
|
16 |
+
"2": "B-GEN",
|
17 |
+
"3": "B-ACT",
|
18 |
+
"4": "B-DIR",
|
19 |
+
"5": "B-LOC",
|
20 |
+
"6": "B-CHAR",
|
21 |
+
"7": "B-YEAR",
|
22 |
+
"8": "B-STUD",
|
23 |
+
"9": "I-MVT",
|
24 |
+
"10": "I-GEN",
|
25 |
+
"11": "I-ACT",
|
26 |
+
"12": "I-DIR",
|
27 |
+
"13": "I-LOC",
|
28 |
+
"14": "I-CHAR",
|
29 |
+
"15": "I-YEAR",
|
30 |
+
"16": "I-STUD"
|
31 |
+
},
|
32 |
+
"initializer_range": 0.02,
|
33 |
+
"intermediate_size": 3072,
|
34 |
+
"label2id": {
|
35 |
+
"B-ACT": 3,
|
36 |
+
"B-CHAR": 6,
|
37 |
+
"B-DIR": 4,
|
38 |
+
"B-GEN": 2,
|
39 |
+
"B-LOC": 5,
|
40 |
+
"B-MVT": 1,
|
41 |
+
"B-STUD": 8,
|
42 |
+
"B-YEAR": 7,
|
43 |
+
"I-ACT": 11,
|
44 |
+
"I-CHAR": 14,
|
45 |
+
"I-DIR": 12,
|
46 |
+
"I-GEN": 10,
|
47 |
+
"I-LOC": 13,
|
48 |
+
"I-MVT": 9,
|
49 |
+
"I-STUD": 16,
|
50 |
+
"I-YEAR": 15,
|
51 |
+
"O": 0
|
52 |
+
},
|
53 |
+
"layer_norm_eps": 1e-12,
|
54 |
+
"max_position_embeddings": 512,
|
55 |
+
"model_type": "bert",
|
56 |
+
"num_attention_heads": 12,
|
57 |
+
"num_hidden_layers": 12,
|
58 |
+
"output_past": true,
|
59 |
+
"pad_token_id": 0,
|
60 |
+
"position_embedding_type": "absolute",
|
61 |
+
"transformers_version": "4.38.2",
|
62 |
+
"type_vocab_size": 2,
|
63 |
+
"use_cache": true,
|
64 |
+
"vocab_size": 31923
|
65 |
+
}
|
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:9eb722012b22407d31fa3270e90c47bec2de8b639613008bd55bb7a3333d89ca
|
3 |
+
size 440208396
|
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
|
|