Model save
Browse files- README.md +70 -0
- adapter-summarization/adapter_config.json +77 -0
- adapter-summarization/pytorch_adapter.bin +3 -0
- default/head_config.json +18 -0
- default/pytorch_model_head.bin +3 -0
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: LazarusNLP/IndoNanoT5-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- id_liputan6
|
8 |
+
metrics:
|
9 |
+
- rouge
|
10 |
+
model-index:
|
11 |
+
- name: liputan6-unipelt
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# liputan6-unipelt
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [LazarusNLP/IndoNanoT5-base](https://huggingface.co/LazarusNLP/IndoNanoT5-base) on the id_liputan6 dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 3.6316
|
23 |
+
- Rouge1: 1.8166
|
24 |
+
- Rouge2: 0.0438
|
25 |
+
- Rougel: 1.7867
|
26 |
+
- Rougelsum: 1.8115
|
27 |
+
- Gen Len: 127.0
|
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: 0.001
|
47 |
+
- train_batch_size: 16
|
48 |
+
- eval_batch_size: 32
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 5.0
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
58 |
+
| 4.4282 | 1.0 | 63 | 3.9181 | 6.5087 | 1.1507 | 5.6509 | 5.8646 | 127.0 |
|
59 |
+
| 3.5887 | 2.0 | 126 | 3.7178 | 2.446 | 0.2311 | 2.2699 | 2.3165 | 127.0 |
|
60 |
+
| 3.2648 | 3.0 | 189 | 3.6481 | 2.5164 | 0.1545 | 2.3984 | 2.4483 | 127.0 |
|
61 |
+
| 3.0219 | 4.0 | 252 | 3.6384 | 1.8155 | 0.0676 | 1.7586 | 1.7921 | 127.0 |
|
62 |
+
| 2.8422 | 5.0 | 315 | 3.6316 | 1.8166 | 0.0438 | 1.7867 | 1.8115 | 127.0 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.40.2
|
68 |
+
- Pytorch 2.3.1+cu121
|
69 |
+
- Datasets 2.20.0
|
70 |
+
- Tokenizers 0.19.1
|
adapter-summarization/adapter_config.json
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"architecture": "union",
|
4 |
+
"configs": [
|
5 |
+
{
|
6 |
+
"architecture": "prefix_tuning",
|
7 |
+
"bottleneck_size": 512,
|
8 |
+
"cross_prefix": true,
|
9 |
+
"dropout": 0.0,
|
10 |
+
"encoder_prefix": true,
|
11 |
+
"flat": false,
|
12 |
+
"leave_out": [],
|
13 |
+
"non_linearity": "tanh",
|
14 |
+
"prefix_length": 10,
|
15 |
+
"shared_gating": true,
|
16 |
+
"use_gating": true
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"adapter_residual_before_ln": false,
|
20 |
+
"cross_adapter": false,
|
21 |
+
"dropout": 0.0,
|
22 |
+
"factorized_phm_W": true,
|
23 |
+
"factorized_phm_rule": false,
|
24 |
+
"hypercomplex_nonlinearity": "glorot-uniform",
|
25 |
+
"init_weights": "bert",
|
26 |
+
"inv_adapter": null,
|
27 |
+
"inv_adapter_reduction_factor": null,
|
28 |
+
"is_parallel": false,
|
29 |
+
"learn_phm": true,
|
30 |
+
"leave_out": [],
|
31 |
+
"ln_after": false,
|
32 |
+
"ln_before": false,
|
33 |
+
"mh_adapter": false,
|
34 |
+
"non_linearity": "relu",
|
35 |
+
"original_ln_after": true,
|
36 |
+
"original_ln_before": true,
|
37 |
+
"output_adapter": true,
|
38 |
+
"phm_bias": true,
|
39 |
+
"phm_c_init": "normal",
|
40 |
+
"phm_dim": 4,
|
41 |
+
"phm_init_range": 0.0001,
|
42 |
+
"phm_layer": false,
|
43 |
+
"phm_rank": 1,
|
44 |
+
"reduction_factor": 16,
|
45 |
+
"residual_before_ln": true,
|
46 |
+
"scaling": 1.0,
|
47 |
+
"shared_W_phm": false,
|
48 |
+
"shared_phm_rule": true,
|
49 |
+
"use_gating": true
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"alpha": 2,
|
53 |
+
"architecture": "lora",
|
54 |
+
"attn_matrices": [
|
55 |
+
"q",
|
56 |
+
"v"
|
57 |
+
],
|
58 |
+
"composition_mode": "add",
|
59 |
+
"dropout": 0.0,
|
60 |
+
"init_weights": "lora",
|
61 |
+
"intermediate_lora": false,
|
62 |
+
"leave_out": [],
|
63 |
+
"output_lora": false,
|
64 |
+
"r": 8,
|
65 |
+
"selfattn_lora": true,
|
66 |
+
"use_gating": true
|
67 |
+
}
|
68 |
+
]
|
69 |
+
},
|
70 |
+
"config_id": "67ac4937c601ad56",
|
71 |
+
"hidden_size": 768,
|
72 |
+
"model_class": "T5AdapterModel",
|
73 |
+
"model_name": "LazarusNLP/IndoNanoT5-base",
|
74 |
+
"model_type": "t5",
|
75 |
+
"name": "adapter-summarization",
|
76 |
+
"version": "0.2.2"
|
77 |
+
}
|
adapter-summarization/pytorch_adapter.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4eee398b1987593b21fd37fae24b6b5da9339ba45d31466812370e957f3cd4a
|
3 |
+
size 129710588
|
default/head_config.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"activation_function": null,
|
4 |
+
"bias": false,
|
5 |
+
"head_type": "seq2seq_lm",
|
6 |
+
"label2id": null,
|
7 |
+
"layer_norm": false,
|
8 |
+
"layers": 1,
|
9 |
+
"shift_labels": false,
|
10 |
+
"vocab_size": 32128
|
11 |
+
},
|
12 |
+
"hidden_size": 768,
|
13 |
+
"model_class": "T5AdapterModel",
|
14 |
+
"model_name": "LazarusNLP/IndoNanoT5-base",
|
15 |
+
"model_type": "t5",
|
16 |
+
"name": "default",
|
17 |
+
"version": "0.2.2"
|
18 |
+
}
|
default/pytorch_model_head.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7630bc8df260791f15a81368176459211beed1769c6d484b76571a0f8d85a9e
|
3 |
+
size 98698515
|