Model save
Browse files- README.md +70 -0
- adapter-summarization/adapter_config.json +26 -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-lora-8
|
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-lora-8
|
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: 2.6385
|
23 |
+
- Rouge1: 28.3508
|
24 |
+
- Rouge2: 12.5031
|
25 |
+
- Rougel: 24.1992
|
26 |
+
- Rougelsum: 26.092
|
27 |
+
- Gen Len: 32.655
|
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 |
+
| 3.1146 | 1.0 | 63 | 2.7775 | 25.1926 | 10.831 | 21.8588 | 23.0603 | 28.445 |
|
59 |
+
| 2.3694 | 2.0 | 126 | 2.6682 | 27.3169 | 12.0479 | 23.5983 | 25.0305 | 35.297 |
|
60 |
+
| 2.2462 | 3.0 | 189 | 2.6106 | 27.8939 | 12.0631 | 23.6765 | 25.5954 | 31.547 |
|
61 |
+
| 2.1582 | 4.0 | 252 | 2.6337 | 28.8883 | 12.7056 | 24.6102 | 26.4945 | 31.688 |
|
62 |
+
| 2.1188 | 5.0 | 315 | 2.6385 | 28.3508 | 12.5031 | 24.1992 | 26.092 | 32.655 |
|
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,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": 8,
|
16 |
+
"selfattn_lora": true,
|
17 |
+
"use_gating": false
|
18 |
+
},
|
19 |
+
"config_id": "625403edad0bf919",
|
20 |
+
"hidden_size": 768,
|
21 |
+
"model_class": "T5AdapterModel",
|
22 |
+
"model_name": "LazarusNLP/IndoNanoT5-base",
|
23 |
+
"model_type": "t5",
|
24 |
+
"name": "adapter-summarization",
|
25 |
+
"version": "0.2.2"
|
26 |
+
}
|
adapter-summarization/pytorch_adapter.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e27cf9812a79b06d9504ae9fec9cea94b6a5fdc77b703b292aa073c6ef68d7fa
|
3 |
+
size 3594738
|
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
|