apwic commited on
Commit
9832006
1 Parent(s): 06ad3d8

Model save

Browse files
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: indolem/indobert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: nerugm-lora-r4a0d0.15
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
+ # nerugm-lora-r4a0d0.15
20
+
21
+ This model is a fine-tuned version of [indolem/indobert-base-uncased](https://huggingface.co/indolem/indobert-base-uncased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.1301
24
+ - Precision: 0.7357
25
+ - Recall: 0.8652
26
+ - F1: 0.7952
27
+ - Accuracy: 0.9577
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: 5e-05
47
+ - train_batch_size: 16
48
+ - eval_batch_size: 64
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 20.0
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | 0.7663 | 1.0 | 528 | 0.4380 | 0.3934 | 0.1116 | 0.1738 | 0.8659 |
59
+ | 0.3481 | 2.0 | 1056 | 0.2220 | 0.6018 | 0.7403 | 0.6639 | 0.9339 |
60
+ | 0.2139 | 3.0 | 1584 | 0.1790 | 0.6561 | 0.8327 | 0.7339 | 0.9400 |
61
+ | 0.1777 | 4.0 | 2112 | 0.1535 | 0.7164 | 0.8559 | 0.7800 | 0.9512 |
62
+ | 0.1578 | 5.0 | 2640 | 0.1445 | 0.7367 | 0.8698 | 0.7978 | 0.9535 |
63
+ | 0.1469 | 6.0 | 3168 | 0.1441 | 0.7139 | 0.8745 | 0.7861 | 0.9535 |
64
+ | 0.1399 | 7.0 | 3696 | 0.1453 | 0.7175 | 0.8838 | 0.7920 | 0.9524 |
65
+ | 0.1333 | 8.0 | 4224 | 0.1403 | 0.7298 | 0.8838 | 0.7995 | 0.9547 |
66
+ | 0.1273 | 9.0 | 4752 | 0.1368 | 0.7387 | 0.8722 | 0.7999 | 0.9563 |
67
+ | 0.1246 | 10.0 | 5280 | 0.1342 | 0.7426 | 0.8768 | 0.8042 | 0.9569 |
68
+ | 0.1195 | 11.0 | 5808 | 0.1351 | 0.7359 | 0.8791 | 0.8012 | 0.9571 |
69
+ | 0.1172 | 12.0 | 6336 | 0.1349 | 0.7373 | 0.8791 | 0.8020 | 0.9573 |
70
+ | 0.1155 | 13.0 | 6864 | 0.1296 | 0.7441 | 0.8768 | 0.8050 | 0.9581 |
71
+ | 0.1118 | 14.0 | 7392 | 0.1302 | 0.7367 | 0.8698 | 0.7978 | 0.9577 |
72
+ | 0.1111 | 15.0 | 7920 | 0.1322 | 0.7426 | 0.8768 | 0.8042 | 0.9577 |
73
+ | 0.1097 | 16.0 | 8448 | 0.1303 | 0.7353 | 0.8698 | 0.7969 | 0.9577 |
74
+ | 0.1094 | 17.0 | 8976 | 0.1306 | 0.7343 | 0.8722 | 0.7973 | 0.9573 |
75
+ | 0.1077 | 18.0 | 9504 | 0.1319 | 0.7372 | 0.8722 | 0.7990 | 0.9577 |
76
+ | 0.1065 | 19.0 | 10032 | 0.1296 | 0.7376 | 0.8675 | 0.7973 | 0.9577 |
77
+ | 0.1078 | 20.0 | 10560 | 0.1301 | 0.7357 | 0.8652 | 0.7952 | 0.9577 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.39.3
83
+ - Pytorch 2.3.0+cu121
84
+ - Datasets 2.19.1
85
+ - Tokenizers 0.15.2
nerugm-lora/adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "alpha": 0,
4
+ "architecture": "lora",
5
+ "attn_matrices": [
6
+ "q",
7
+ "v"
8
+ ],
9
+ "composition_mode": "add",
10
+ "dropout": 0.15,
11
+ "init_weights": "lora",
12
+ "intermediate_lora": false,
13
+ "leave_out": [],
14
+ "output_lora": false,
15
+ "r": 4,
16
+ "selfattn_lora": true,
17
+ "use_gating": false
18
+ },
19
+ "config_id": "6d5614c18adc2c4b",
20
+ "hidden_size": 768,
21
+ "model_class": "BertForTokenClassification",
22
+ "model_name": "indolem/indobert-base-uncased",
23
+ "model_type": "bert",
24
+ "name": "nerugm-lora",
25
+ "version": "0.2.0"
26
+ }
nerugm-lora/head_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": null,
3
+ "hidden_size": 768,
4
+ "label2id": {
5
+ "B-LOCATION": 0,
6
+ "B-ORGANIZATION": 1,
7
+ "B-PERSON": 2,
8
+ "B-QUANTITY": 3,
9
+ "B-TIME": 4,
10
+ "I-LOCATION": 5,
11
+ "I-ORGANIZATION": 6,
12
+ "I-PERSON": 7,
13
+ "I-QUANTITY": 8,
14
+ "I-TIME": 9,
15
+ "O": 10
16
+ },
17
+ "model_class": "BertForTokenClassification",
18
+ "model_name": "indolem/indobert-base-uncased",
19
+ "model_type": "bert",
20
+ "name": null,
21
+ "num_labels": 11,
22
+ "version": "0.2.0"
23
+ }
nerugm-lora/pytorch_adapter.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc1c3f1fd394547f31627946d0f2f50a3fc8933362d10a8b38289e86cae1c1ac
3
+ size 607526
nerugm-lora/pytorch_model_head.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:810847d12e188a05f899c2145ea720e8b838e1b37b52d3cbe5da85554daf284c
3
+ size 35354
runs/May24_22-36-40_indolem-petl-vm/events.out.tfevents.1716590207.indolem-petl-vm.1767874.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ff203f11da6a6a6c88dbe633f76ef1fa7db6e545503774ed723d90c74888a35e
3
- size 18202
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:986d32016bfe6e0b7fab4b919cb3c60480db109125a16afee7bfb22920e54b58
3
+ size 19239