AptaArkana
commited on
Commit
•
cf345bf
1
Parent(s):
aebf306
Training complete
Browse files- README.md +73 -0
- config.json +113 -0
- model.safetensors +3 -0
- runs/Mar26_02-31-42_e3f97316e80a/events.out.tfevents.1711420312.e3f97316e80a.155.0 +3 -0
- runs/Mar26_02-31-42_e3f97316e80a/events.out.tfevents.1711423085.e3f97316e80a.155.1 +3 -0
- runs/Mar26_03-25-17_e3f97316e80a/events.out.tfevents.1711423521.e3f97316e80a.155.2 +3 -0
- runs/Mar26_04-09-24_e3f97316e80a/events.out.tfevents.1711426167.e3f97316e80a.155.3 +3 -0
- runs/Mar26_04-09-24_e3f97316e80a/events.out.tfevents.1711428742.e3f97316e80a.155.4 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google-bert/bert-base-multilingual-cased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: belajarner
|
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 |
+
# belajarner
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [google-bert/bert-base-multilingual-cased](https://huggingface.co/google-bert/bert-base-multilingual-cased) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.2832
|
24 |
+
- Precision: 0.8019
|
25 |
+
- Recall: 0.8379
|
26 |
+
- F1: 0.8195
|
27 |
+
- Accuracy: 0.9411
|
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: 1e-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: 8
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
57 |
+
|:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
58 |
+
| 0.2947 | 1.0 | 1567 | 0.2493 | 0.7364 | 0.7978 | 0.7658 | 0.9276 |
|
59 |
+
| 0.1966 | 2.0 | 3134 | 0.2276 | 0.7717 | 0.8150 | 0.7927 | 0.9351 |
|
60 |
+
| 0.1486 | 3.0 | 4701 | 0.2354 | 0.7773 | 0.8293 | 0.8025 | 0.9366 |
|
61 |
+
| 0.1183 | 4.0 | 6268 | 0.2468 | 0.8001 | 0.8388 | 0.8190 | 0.9396 |
|
62 |
+
| 0.096 | 5.0 | 7835 | 0.2539 | 0.8093 | 0.8296 | 0.8193 | 0.9407 |
|
63 |
+
| 0.0772 | 6.0 | 9402 | 0.2717 | 0.8000 | 0.8382 | 0.8187 | 0.9395 |
|
64 |
+
| 0.0648 | 7.0 | 10969 | 0.2822 | 0.8010 | 0.8400 | 0.8201 | 0.9412 |
|
65 |
+
| 0.0556 | 8.0 | 12536 | 0.2832 | 0.8019 | 0.8379 | 0.8195 | 0.9411 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- Transformers 4.35.2
|
71 |
+
- Pytorch 2.1.0+cu121
|
72 |
+
- Datasets 2.17.1
|
73 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google-bert/bert-base-multilingual-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "O",
|
14 |
+
"1": "B-CRD",
|
15 |
+
"2": "I-CRD",
|
16 |
+
"3": "B-DAT",
|
17 |
+
"4": "I-DAT",
|
18 |
+
"5": "B-EVT",
|
19 |
+
"6": "I-EVT",
|
20 |
+
"7": "B-FAC",
|
21 |
+
"8": "I-FAC",
|
22 |
+
"9": "B-GPE",
|
23 |
+
"10": "I-GPE",
|
24 |
+
"11": "B-LAN",
|
25 |
+
"12": "I-LAN",
|
26 |
+
"13": "B-LAW",
|
27 |
+
"14": "I-LAW",
|
28 |
+
"15": "B-LOC",
|
29 |
+
"16": "I-LOC",
|
30 |
+
"17": "B-MON",
|
31 |
+
"18": "I-MON",
|
32 |
+
"19": "B-NOR",
|
33 |
+
"20": "I-NOR",
|
34 |
+
"21": "B-ORD",
|
35 |
+
"22": "I-ORD",
|
36 |
+
"23": "B-ORG",
|
37 |
+
"24": "I-ORG",
|
38 |
+
"25": "B-PER",
|
39 |
+
"26": "I-PER",
|
40 |
+
"27": "B-PRC",
|
41 |
+
"28": "I-PRC",
|
42 |
+
"29": "B-PRD",
|
43 |
+
"30": "I-PRD",
|
44 |
+
"31": "B-QTY",
|
45 |
+
"32": "I-QTY",
|
46 |
+
"33": "B-REG",
|
47 |
+
"34": "I-REG",
|
48 |
+
"35": "B-TIM",
|
49 |
+
"36": "I-TIM",
|
50 |
+
"37": "B-WOA",
|
51 |
+
"38": "I-WOA"
|
52 |
+
},
|
53 |
+
"initializer_range": 0.02,
|
54 |
+
"intermediate_size": 3072,
|
55 |
+
"label2id": {
|
56 |
+
"B-CRD": 1,
|
57 |
+
"B-DAT": 3,
|
58 |
+
"B-EVT": 5,
|
59 |
+
"B-FAC": 7,
|
60 |
+
"B-GPE": 9,
|
61 |
+
"B-LAN": 11,
|
62 |
+
"B-LAW": 13,
|
63 |
+
"B-LOC": 15,
|
64 |
+
"B-MON": 17,
|
65 |
+
"B-NOR": 19,
|
66 |
+
"B-ORD": 21,
|
67 |
+
"B-ORG": 23,
|
68 |
+
"B-PER": 25,
|
69 |
+
"B-PRC": 27,
|
70 |
+
"B-PRD": 29,
|
71 |
+
"B-QTY": 31,
|
72 |
+
"B-REG": 33,
|
73 |
+
"B-TIM": 35,
|
74 |
+
"B-WOA": 37,
|
75 |
+
"I-CRD": 2,
|
76 |
+
"I-DAT": 4,
|
77 |
+
"I-EVT": 6,
|
78 |
+
"I-FAC": 8,
|
79 |
+
"I-GPE": 10,
|
80 |
+
"I-LAN": 12,
|
81 |
+
"I-LAW": 14,
|
82 |
+
"I-LOC": 16,
|
83 |
+
"I-MON": 18,
|
84 |
+
"I-NOR": 20,
|
85 |
+
"I-ORD": 22,
|
86 |
+
"I-ORG": 24,
|
87 |
+
"I-PER": 26,
|
88 |
+
"I-PRC": 28,
|
89 |
+
"I-PRD": 30,
|
90 |
+
"I-QTY": 32,
|
91 |
+
"I-REG": 34,
|
92 |
+
"I-TIM": 36,
|
93 |
+
"I-WOA": 38,
|
94 |
+
"O": 0
|
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 |
+
"pooler_fc_size": 768,
|
103 |
+
"pooler_num_attention_heads": 12,
|
104 |
+
"pooler_num_fc_layers": 3,
|
105 |
+
"pooler_size_per_head": 128,
|
106 |
+
"pooler_type": "first_token_transform",
|
107 |
+
"position_embedding_type": "absolute",
|
108 |
+
"torch_dtype": "float32",
|
109 |
+
"transformers_version": "4.35.2",
|
110 |
+
"type_vocab_size": 2,
|
111 |
+
"use_cache": true,
|
112 |
+
"vocab_size": 119547
|
113 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2403ff9da46121da482aec13408aab17ad2708238deded83a3db2991a21e442d
|
3 |
+
size 709194716
|
runs/Mar26_02-31-42_e3f97316e80a/events.out.tfevents.1711420312.e3f97316e80a.155.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfd936b6eaba6c1276be1018625bb435785852be72fcd542211db11c8fc046ea
|
3 |
+
size 13884
|
runs/Mar26_02-31-42_e3f97316e80a/events.out.tfevents.1711423085.e3f97316e80a.155.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7324be7aacb4ff4f3a8da5c774fef4f570fb62d25fa473e570c9ca98c7658665
|
3 |
+
size 560
|
runs/Mar26_03-25-17_e3f97316e80a/events.out.tfevents.1711423521.e3f97316e80a.155.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90f61001cc414d3ae95a22cdfa2f5eaad790ee1e87e45a3ecaeef0aa615dd6e1
|
3 |
+
size 13835
|
runs/Mar26_04-09-24_e3f97316e80a/events.out.tfevents.1711426167.e3f97316e80a.155.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:98c7680d9c194b992b97725fab8ced3547d0b93100a980f4f2816c384ac31ef8
|
3 |
+
size 13837
|
runs/Mar26_04-09-24_e3f97316e80a/events.out.tfevents.1711428742.e3f97316e80a.155.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6088502ef8c1f069c3d4f8803a48fbcc5ccde579661b4d91e542362725af18d3
|
3 |
+
size 560
|
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,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
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_lower_case": false,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 512,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"sep_token": "[SEP]",
|
51 |
+
"strip_accents": null,
|
52 |
+
"tokenize_chinese_chars": true,
|
53 |
+
"tokenizer_class": "BertTokenizer",
|
54 |
+
"unk_token": "[UNK]"
|
55 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:739810f8ea16ffb5da42d3899982469e618b75c6e8b88e316f8836a2e9ef55fe
|
3 |
+
size 4536
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|