Training in progress epoch 0
Browse files- README.md +58 -0
- config.json +110 -0
- merges.txt +0 -0
- special_tokens_map.json +51 -0
- tf_model.h5 +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- vocab.json +0 -0
README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: flax-community/indonesian-roberta-base
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_keras_callback
|
| 6 |
+
model-index:
|
| 7 |
+
- name: aadhistii/roberta-base-indonesian-ner
|
| 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 |
+
# aadhistii/roberta-base-indonesian-ner
|
| 15 |
+
|
| 16 |
+
This model is a fine-tuned version of [flax-community/indonesian-roberta-base](https://huggingface.co/flax-community/indonesian-roberta-base) on an unknown dataset.
|
| 17 |
+
It achieves the following results on the evaluation set:
|
| 18 |
+
- Train Loss: 0.4384
|
| 19 |
+
- Validation Loss: 0.1839
|
| 20 |
+
- Train Precision: 0.7954
|
| 21 |
+
- Train Recall: 0.8247
|
| 22 |
+
- Train F1: 0.8098
|
| 23 |
+
- Train Accuracy: 0.9459
|
| 24 |
+
- Epoch: 0
|
| 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': 2e-05, 'decay_steps': 2349, '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.4384 | 0.1839 | 0.7954 | 0.8247 | 0.8098 | 0.9459 | 0 |
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
### Framework versions
|
| 54 |
+
|
| 55 |
+
- Transformers 4.41.2
|
| 56 |
+
- TensorFlow 2.15.0
|
| 57 |
+
- Datasets 2.19.2
|
| 58 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "flax-community/indonesian-roberta-base",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"RobertaForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"classifier_dropout": null,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"gradient_checkpointing": false,
|
| 11 |
+
"hidden_act": "gelu",
|
| 12 |
+
"hidden_dropout_prob": 0.1,
|
| 13 |
+
"hidden_size": 768,
|
| 14 |
+
"id2label": {
|
| 15 |
+
"0": "B-CRD",
|
| 16 |
+
"1": "B-DAT",
|
| 17 |
+
"2": "B-EVT",
|
| 18 |
+
"3": "B-FAC",
|
| 19 |
+
"4": "B-GPE",
|
| 20 |
+
"5": "B-LAN",
|
| 21 |
+
"6": "B-LAW",
|
| 22 |
+
"7": "B-LOC",
|
| 23 |
+
"8": "B-MON",
|
| 24 |
+
"9": "B-NOR",
|
| 25 |
+
"10": "B-ORD",
|
| 26 |
+
"11": "B-ORG",
|
| 27 |
+
"12": "B-PER",
|
| 28 |
+
"13": "B-PRC",
|
| 29 |
+
"14": "B-PRD",
|
| 30 |
+
"15": "B-QTY",
|
| 31 |
+
"16": "B-REG",
|
| 32 |
+
"17": "B-TIM",
|
| 33 |
+
"18": "B-WOA",
|
| 34 |
+
"19": "I-CRD",
|
| 35 |
+
"20": "I-DAT",
|
| 36 |
+
"21": "I-EVT",
|
| 37 |
+
"22": "I-FAC",
|
| 38 |
+
"23": "I-GPE",
|
| 39 |
+
"24": "I-LAN",
|
| 40 |
+
"25": "I-LAW",
|
| 41 |
+
"26": "I-LOC",
|
| 42 |
+
"27": "I-MON",
|
| 43 |
+
"28": "I-NOR",
|
| 44 |
+
"29": "I-ORD",
|
| 45 |
+
"30": "I-ORG",
|
| 46 |
+
"31": "I-PER",
|
| 47 |
+
"32": "I-PRC",
|
| 48 |
+
"33": "I-PRD",
|
| 49 |
+
"34": "I-QTY",
|
| 50 |
+
"35": "I-REG",
|
| 51 |
+
"36": "I-TIM",
|
| 52 |
+
"37": "I-WOA",
|
| 53 |
+
"38": "O"
|
| 54 |
+
},
|
| 55 |
+
"initializer_range": 0.02,
|
| 56 |
+
"intermediate_size": 3072,
|
| 57 |
+
"label2id": {
|
| 58 |
+
"B-CRD": 0,
|
| 59 |
+
"B-DAT": 1,
|
| 60 |
+
"B-EVT": 2,
|
| 61 |
+
"B-FAC": 3,
|
| 62 |
+
"B-GPE": 4,
|
| 63 |
+
"B-LAN": 5,
|
| 64 |
+
"B-LAW": 6,
|
| 65 |
+
"B-LOC": 7,
|
| 66 |
+
"B-MON": 8,
|
| 67 |
+
"B-NOR": 9,
|
| 68 |
+
"B-ORD": 10,
|
| 69 |
+
"B-ORG": 11,
|
| 70 |
+
"B-PER": 12,
|
| 71 |
+
"B-PRC": 13,
|
| 72 |
+
"B-PRD": 14,
|
| 73 |
+
"B-QTY": 15,
|
| 74 |
+
"B-REG": 16,
|
| 75 |
+
"B-TIM": 17,
|
| 76 |
+
"B-WOA": 18,
|
| 77 |
+
"I-CRD": 19,
|
| 78 |
+
"I-DAT": 20,
|
| 79 |
+
"I-EVT": 21,
|
| 80 |
+
"I-FAC": 22,
|
| 81 |
+
"I-GPE": 23,
|
| 82 |
+
"I-LAN": 24,
|
| 83 |
+
"I-LAW": 25,
|
| 84 |
+
"I-LOC": 26,
|
| 85 |
+
"I-MON": 27,
|
| 86 |
+
"I-NOR": 28,
|
| 87 |
+
"I-ORD": 29,
|
| 88 |
+
"I-ORG": 30,
|
| 89 |
+
"I-PER": 31,
|
| 90 |
+
"I-PRC": 32,
|
| 91 |
+
"I-PRD": 33,
|
| 92 |
+
"I-QTY": 34,
|
| 93 |
+
"I-REG": 35,
|
| 94 |
+
"I-TIM": 36,
|
| 95 |
+
"I-WOA": 37,
|
| 96 |
+
"O": 38
|
| 97 |
+
},
|
| 98 |
+
"layer_norm_eps": 1e-05,
|
| 99 |
+
"max_position_embeddings": 514,
|
| 100 |
+
"model_type": "roberta",
|
| 101 |
+
"num_attention_heads": 12,
|
| 102 |
+
"num_hidden_layers": 12,
|
| 103 |
+
"pad_token_id": 1,
|
| 104 |
+
"position_embedding_type": "absolute",
|
| 105 |
+
"torch_dtype": "float32",
|
| 106 |
+
"transformers_version": "4.41.2",
|
| 107 |
+
"type_vocab_size": 1,
|
| 108 |
+
"use_cache": true,
|
| 109 |
+
"vocab_size": 50265
|
| 110 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"cls_token": {
|
| 10 |
+
"content": "<s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"eos_token": {
|
| 17 |
+
"content": "</s>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"mask_token": {
|
| 24 |
+
"content": "<mask>",
|
| 25 |
+
"lstrip": true,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
},
|
| 30 |
+
"pad_token": {
|
| 31 |
+
"content": "<pad>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
},
|
| 37 |
+
"sep_token": {
|
| 38 |
+
"content": "</s>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false
|
| 43 |
+
},
|
| 44 |
+
"unk_token": {
|
| 45 |
+
"content": "<unk>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false
|
| 50 |
+
}
|
| 51 |
+
}
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:142145ba88306b0340ce8301f0a3db095e1df8143c9a2e0f0b065eb7f85056c0
|
| 3 |
+
size 496627792
|
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 |
+
"add_prefix_space": true,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"0": {
|
| 5 |
+
"content": "<s>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"1": {
|
| 13 |
+
"content": "<pad>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"2": {
|
| 21 |
+
"content": "</s>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"3": {
|
| 29 |
+
"content": "<unk>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"4": {
|
| 37 |
+
"content": "<mask>",
|
| 38 |
+
"lstrip": true,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"bos_token": "<s>",
|
| 46 |
+
"clean_up_tokenization_spaces": true,
|
| 47 |
+
"cls_token": "<s>",
|
| 48 |
+
"eos_token": "</s>",
|
| 49 |
+
"errors": "replace",
|
| 50 |
+
"mask_token": "<mask>",
|
| 51 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 52 |
+
"pad_token": "<pad>",
|
| 53 |
+
"sep_token": "</s>",
|
| 54 |
+
"tokenizer_class": "RobertaTokenizer",
|
| 55 |
+
"trim_offsets": true,
|
| 56 |
+
"unk_token": "<unk>"
|
| 57 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|