Training in progress, epoch 1
Browse files- README.md +68 -0
- config.json +108 -0
- model.safetensors +3 -0
- runs/May29_12-02-41_a6e192b364d9/events.out.tfevents.1716984341.a6e192b364d9.15526.0 +3 -0
- runs/May29_14-59-12_a6e192b364d9/events.out.tfevents.1716994753.a6e192b364d9.58590.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: cahya/bert-base-indonesian-NER
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: ner_fine_tuned
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# ner_fine_tuned
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [cahya/bert-base-indonesian-NER](https://huggingface.co/cahya/bert-base-indonesian-NER) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.6204
|
24 |
+
- Precision: 0.7857
|
25 |
+
- Recall: 0.5116
|
26 |
+
- F1: 0.6197
|
27 |
+
- Accuracy: 0.9038
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 2e-05
|
47 |
+
- train_batch_size: 8
|
48 |
+
- eval_batch_size: 8
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 3
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
58 |
+
| No log | 1.0 | 8 | 0.5715 | 0.6 | 0.4186 | 0.4932 | 0.8763 |
|
59 |
+
| No log | 2.0 | 16 | 0.6157 | 0.7308 | 0.4419 | 0.5507 | 0.8935 |
|
60 |
+
| No log | 3.0 | 24 | 0.6204 | 0.7857 | 0.5116 | 0.6197 | 0.9038 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- Transformers 4.41.1
|
66 |
+
- Pytorch 2.3.0+cu121
|
67 |
+
- Datasets 2.19.1
|
68 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "cahya/bert-base-indonesian-NER",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "B-CRD",
|
14 |
+
"1": "B-DAT",
|
15 |
+
"2": "B-EVT",
|
16 |
+
"3": "B-FAC",
|
17 |
+
"4": "B-GPE",
|
18 |
+
"5": "B-LAN",
|
19 |
+
"6": "B-LAW",
|
20 |
+
"7": "B-LOC",
|
21 |
+
"8": "B-MON",
|
22 |
+
"9": "B-NOR",
|
23 |
+
"10": "B-ORD",
|
24 |
+
"11": "B-ORG",
|
25 |
+
"12": "B-PER",
|
26 |
+
"13": "B-PRC",
|
27 |
+
"14": "B-PRD",
|
28 |
+
"15": "B-QTY",
|
29 |
+
"16": "B-REG",
|
30 |
+
"17": "B-TIM",
|
31 |
+
"18": "B-WOA",
|
32 |
+
"19": "I-CRD",
|
33 |
+
"20": "I-DAT",
|
34 |
+
"21": "I-EVT",
|
35 |
+
"22": "I-FAC",
|
36 |
+
"23": "I-GPE",
|
37 |
+
"24": "I-LAN",
|
38 |
+
"25": "I-LAW",
|
39 |
+
"26": "I-LOC",
|
40 |
+
"27": "I-MON",
|
41 |
+
"28": "I-NOR",
|
42 |
+
"29": "I-ORD",
|
43 |
+
"30": "I-ORG",
|
44 |
+
"31": "I-PER",
|
45 |
+
"32": "I-PRC",
|
46 |
+
"33": "I-PRD",
|
47 |
+
"34": "I-QTY",
|
48 |
+
"35": "I-REG",
|
49 |
+
"36": "I-TIM",
|
50 |
+
"37": "I-WOA",
|
51 |
+
"38": "O"
|
52 |
+
},
|
53 |
+
"initializer_range": 0.02,
|
54 |
+
"intermediate_size": 3072,
|
55 |
+
"label2id": {
|
56 |
+
"B-CRD": 0,
|
57 |
+
"B-DAT": 1,
|
58 |
+
"B-EVT": 2,
|
59 |
+
"B-FAC": 3,
|
60 |
+
"B-GPE": 4,
|
61 |
+
"B-LAN": 5,
|
62 |
+
"B-LAW": 6,
|
63 |
+
"B-LOC": 7,
|
64 |
+
"B-MON": 8,
|
65 |
+
"B-NOR": 9,
|
66 |
+
"B-ORD": 10,
|
67 |
+
"B-ORG": 11,
|
68 |
+
"B-PER": 12,
|
69 |
+
"B-PRC": 13,
|
70 |
+
"B-PRD": 14,
|
71 |
+
"B-QTY": 15,
|
72 |
+
"B-REG": 16,
|
73 |
+
"B-TIM": 17,
|
74 |
+
"B-WOA": 18,
|
75 |
+
"I-CRD": 19,
|
76 |
+
"I-DAT": 20,
|
77 |
+
"I-EVT": 21,
|
78 |
+
"I-FAC": 22,
|
79 |
+
"I-GPE": 23,
|
80 |
+
"I-LAN": 24,
|
81 |
+
"I-LAW": 25,
|
82 |
+
"I-LOC": 26,
|
83 |
+
"I-MON": 27,
|
84 |
+
"I-NOR": 28,
|
85 |
+
"I-ORD": 29,
|
86 |
+
"I-ORG": 30,
|
87 |
+
"I-PER": 31,
|
88 |
+
"I-PRC": 32,
|
89 |
+
"I-PRD": 33,
|
90 |
+
"I-QTY": 34,
|
91 |
+
"I-REG": 35,
|
92 |
+
"I-TIM": 36,
|
93 |
+
"I-WOA": 37,
|
94 |
+
"O": 38
|
95 |
+
},
|
96 |
+
"layer_norm_eps": 1e-12,
|
97 |
+
"max_position_embeddings": 512,
|
98 |
+
"model_type": "bert",
|
99 |
+
"num_attention_heads": 12,
|
100 |
+
"num_hidden_layers": 12,
|
101 |
+
"pad_token_id": 0,
|
102 |
+
"position_embedding_type": "absolute",
|
103 |
+
"torch_dtype": "float32",
|
104 |
+
"transformers_version": "4.41.1",
|
105 |
+
"type_vocab_size": 2,
|
106 |
+
"use_cache": true,
|
107 |
+
"vocab_size": 32000
|
108 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f1abe5e70193e2e9698e1eebc333faff0b3bccc95e85050ef5eec557225c789
|
3 |
+
size 440250324
|
runs/May29_12-02-41_a6e192b364d9/events.out.tfevents.1716984341.a6e192b364d9.15526.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2730390351cff5d7343e5edddbe1334f344d3a089f11f3280ad8eb37e7795b6b
|
3 |
+
size 7970
|
runs/May29_14-59-12_a6e192b364d9/events.out.tfevents.1716994753.a6e192b364d9.58590.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af7e58ac95c8ca663ec6e5b4914679c30d99bd701de6bc26e4fadc63166acd11
|
3 |
+
size 6697
|
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 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[UNK]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[SEP]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[PAD]",
|
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": "[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 |
+
"full_tokenizer_file": null,
|
49 |
+
"mask_token": "[MASK]",
|
50 |
+
"model_max_length": 1000000000000000019884624838656,
|
51 |
+
"never_split": null,
|
52 |
+
"pad_token": "[PAD]",
|
53 |
+
"sep_token": "[SEP]",
|
54 |
+
"strip_accents": null,
|
55 |
+
"tokenize_chinese_chars": true,
|
56 |
+
"tokenizer_class": "BertTokenizer",
|
57 |
+
"unk_token": "[UNK]"
|
58 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6eea8ca8ad92874862fc5beebe1c4ea19e5c6c83b8e2098b1561860a82b70b00
|
3 |
+
size 5112
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|