Training in progress epoch 0
Browse files- README.md +55 -0
- config.json +109 -0
- special_tokens_map.json +7 -0
- tf_model.h5 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: indolem/indobert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_keras_callback
|
6 |
+
model-index:
|
7 |
+
- name: apwic/indobert-base-uncased-finetuned-nergrit
|
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 |
+
# apwic/indobert-base-uncased-finetuned-nergrit
|
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.3745
|
19 |
+
- Validation Loss: 0.1815
|
20 |
+
- Train Accuracy: 0.9461
|
21 |
+
- Epoch: 0
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 4698, '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}
|
41 |
+
- training_precision: float32
|
42 |
+
|
43 |
+
### Training results
|
44 |
+
|
45 |
+
| Train Loss | Validation Loss | Train Accuracy | Epoch |
|
46 |
+
|:----------:|:---------------:|:--------------:|:-----:|
|
47 |
+
| 0.3745 | 0.1815 | 0.9461 | 0 |
|
48 |
+
|
49 |
+
|
50 |
+
### Framework versions
|
51 |
+
|
52 |
+
- Transformers 4.33.2
|
53 |
+
- TensorFlow 2.13.0
|
54 |
+
- Datasets 2.14.5
|
55 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-CRD",
|
15 |
+
"1": "B-DAT",
|
16 |
+
"2": "B-EVT",
|
17 |
+
"3": "B-FAC",
|
18 |
+
"4": "B-GPE",
|
19 |
+
"5": "B-LAN",
|
20 |
+
"6": "B-LAW",
|
21 |
+
"7": "B-LOC",
|
22 |
+
"8": "B-MON",
|
23 |
+
"9": "B-NOR",
|
24 |
+
"10": "B-ORD",
|
25 |
+
"11": "B-ORG",
|
26 |
+
"12": "B-PER",
|
27 |
+
"13": "B-PRC",
|
28 |
+
"14": "B-PRD",
|
29 |
+
"15": "B-QTY",
|
30 |
+
"16": "B-REG",
|
31 |
+
"17": "B-TIM",
|
32 |
+
"18": "B-WOA",
|
33 |
+
"19": "I-CRD",
|
34 |
+
"20": "I-DAT",
|
35 |
+
"21": "I-EVT",
|
36 |
+
"22": "I-FAC",
|
37 |
+
"23": "I-GPE",
|
38 |
+
"24": "I-LAN",
|
39 |
+
"25": "I-LAW",
|
40 |
+
"26": "I-LOC",
|
41 |
+
"27": "I-MON",
|
42 |
+
"28": "I-NOR",
|
43 |
+
"29": "I-ORD",
|
44 |
+
"30": "I-ORG",
|
45 |
+
"31": "I-PER",
|
46 |
+
"32": "I-PRC",
|
47 |
+
"33": "I-PRD",
|
48 |
+
"34": "I-QTY",
|
49 |
+
"35": "I-REG",
|
50 |
+
"36": "I-TIM",
|
51 |
+
"37": "I-WOA",
|
52 |
+
"38": "O"
|
53 |
+
},
|
54 |
+
"initializer_range": 0.02,
|
55 |
+
"intermediate_size": 3072,
|
56 |
+
"label2id": {
|
57 |
+
"B-CRD": 0,
|
58 |
+
"B-DAT": 1,
|
59 |
+
"B-EVT": 2,
|
60 |
+
"B-FAC": 3,
|
61 |
+
"B-GPE": 4,
|
62 |
+
"B-LAN": 5,
|
63 |
+
"B-LAW": 6,
|
64 |
+
"B-LOC": 7,
|
65 |
+
"B-MON": 8,
|
66 |
+
"B-NOR": 9,
|
67 |
+
"B-ORD": 10,
|
68 |
+
"B-ORG": 11,
|
69 |
+
"B-PER": 12,
|
70 |
+
"B-PRC": 13,
|
71 |
+
"B-PRD": 14,
|
72 |
+
"B-QTY": 15,
|
73 |
+
"B-REG": 16,
|
74 |
+
"B-TIM": 17,
|
75 |
+
"B-WOA": 18,
|
76 |
+
"I-CRD": 19,
|
77 |
+
"I-DAT": 20,
|
78 |
+
"I-EVT": 21,
|
79 |
+
"I-FAC": 22,
|
80 |
+
"I-GPE": 23,
|
81 |
+
"I-LAN": 24,
|
82 |
+
"I-LAW": 25,
|
83 |
+
"I-LOC": 26,
|
84 |
+
"I-MON": 27,
|
85 |
+
"I-NOR": 28,
|
86 |
+
"I-ORD": 29,
|
87 |
+
"I-ORG": 30,
|
88 |
+
"I-PER": 31,
|
89 |
+
"I-PRC": 32,
|
90 |
+
"I-PRD": 33,
|
91 |
+
"I-QTY": 34,
|
92 |
+
"I-REG": 35,
|
93 |
+
"I-TIM": 36,
|
94 |
+
"I-WOA": 37,
|
95 |
+
"O": 38
|
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 |
+
"position_embedding_type": "absolute",
|
105 |
+
"transformers_version": "4.33.2",
|
106 |
+
"type_vocab_size": 2,
|
107 |
+
"use_cache": true,
|
108 |
+
"vocab_size": 31923
|
109 |
+
}
|
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:c7f2da8e8f05e924ff40726f3f8f10453199c284f95ad6b815e7608b93c9623b
|
3 |
+
size 440276068
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_basic_tokenize": true,
|
5 |
+
"do_lower_case": true,
|
6 |
+
"mask_token": "[MASK]",
|
7 |
+
"model_max_length": 1000000000000000019884624838656,
|
8 |
+
"never_split": null,
|
9 |
+
"pad_token": "[PAD]",
|
10 |
+
"sep_token": "[SEP]",
|
11 |
+
"strip_accents": null,
|
12 |
+
"tokenize_chinese_chars": true,
|
13 |
+
"tokenizer_class": "BertTokenizer",
|
14 |
+
"unk_token": "[UNK]"
|
15 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|