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-r16-4
|
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-r16-4
|
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.1644
|
24 |
+
- Precision: 0.7143
|
25 |
+
- Recall: 0.8689
|
26 |
+
- F1: 0.7841
|
27 |
+
- Accuracy: 0.9498
|
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 |
+
| 1.1516 | 1.0 | 106 | 0.7191 | 0.0 | 0.0 | 0.0 | 0.8366 |
|
59 |
+
| 0.6846 | 2.0 | 212 | 0.6016 | 0.0909 | 0.0028 | 0.0055 | 0.8383 |
|
60 |
+
| 0.5728 | 3.0 | 318 | 0.4865 | 0.2195 | 0.0513 | 0.0831 | 0.8536 |
|
61 |
+
| 0.4602 | 4.0 | 424 | 0.3772 | 0.4132 | 0.2849 | 0.3373 | 0.8875 |
|
62 |
+
| 0.3718 | 5.0 | 530 | 0.3013 | 0.5613 | 0.5869 | 0.5738 | 0.9222 |
|
63 |
+
| 0.3063 | 6.0 | 636 | 0.2611 | 0.6124 | 0.7293 | 0.6658 | 0.9323 |
|
64 |
+
| 0.2645 | 7.0 | 742 | 0.2272 | 0.6315 | 0.7664 | 0.6924 | 0.9367 |
|
65 |
+
| 0.2422 | 8.0 | 848 | 0.2093 | 0.6343 | 0.7806 | 0.6999 | 0.9399 |
|
66 |
+
| 0.2207 | 9.0 | 954 | 0.1960 | 0.6465 | 0.7920 | 0.7119 | 0.9417 |
|
67 |
+
| 0.2079 | 10.0 | 1060 | 0.1873 | 0.6714 | 0.8091 | 0.7339 | 0.9427 |
|
68 |
+
| 0.1973 | 11.0 | 1166 | 0.1791 | 0.6713 | 0.8205 | 0.7385 | 0.9439 |
|
69 |
+
| 0.1889 | 12.0 | 1272 | 0.1790 | 0.6720 | 0.8348 | 0.7446 | 0.9446 |
|
70 |
+
| 0.1812 | 13.0 | 1378 | 0.1712 | 0.6936 | 0.8319 | 0.7565 | 0.9461 |
|
71 |
+
| 0.1803 | 14.0 | 1484 | 0.1708 | 0.6907 | 0.8462 | 0.7606 | 0.9461 |
|
72 |
+
| 0.1754 | 15.0 | 1590 | 0.1712 | 0.6935 | 0.8575 | 0.7669 | 0.9466 |
|
73 |
+
| 0.1709 | 16.0 | 1696 | 0.1684 | 0.6943 | 0.8604 | 0.7684 | 0.9473 |
|
74 |
+
| 0.169 | 17.0 | 1802 | 0.1676 | 0.7044 | 0.8689 | 0.7781 | 0.9486 |
|
75 |
+
| 0.1681 | 18.0 | 1908 | 0.1679 | 0.7044 | 0.8689 | 0.7781 | 0.9486 |
|
76 |
+
| 0.1655 | 19.0 | 2014 | 0.1645 | 0.7160 | 0.8689 | 0.7851 | 0.9500 |
|
77 |
+
| 0.1654 | 20.0 | 2120 | 0.1644 | 0.7143 | 0.8689 | 0.7841 | 0.9498 |
|
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": 8,
|
4 |
+
"architecture": "lora",
|
5 |
+
"attn_matrices": [
|
6 |
+
"q",
|
7 |
+
"v"
|
8 |
+
],
|
9 |
+
"composition_mode": "add",
|
10 |
+
"dropout": 0.0,
|
11 |
+
"init_weights": "lora",
|
12 |
+
"intermediate_lora": false,
|
13 |
+
"leave_out": [],
|
14 |
+
"output_lora": false,
|
15 |
+
"r": 16,
|
16 |
+
"selfattn_lora": true,
|
17 |
+
"use_gating": false
|
18 |
+
},
|
19 |
+
"config_id": "141b248112091265",
|
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:d5ed526e260a4a03e48391c734c1aed0579053b6cca98a39424a691bf4bb7457
|
3 |
+
size 2376998
|
nerugm-lora/pytorch_model_head.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:06332789b98bfdcd6355b8b5476732f843216dd98af040d99645a033fdcd1b49
|
3 |
+
size 35354
|
runs/May27_05-39-56_indolem-petl-vm/events.out.tfevents.1716788403.indolem-petl-vm.3345068.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a52b92621c5a6675fd730e8268503d1f38264ba71a173b9339ad6f87096e84a7
|
3 |
+
size 19214
|