Model save
Browse files
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: LazarusNLP/IndoNanoT5-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: summarization-lora-1
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# summarization-lora-1
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [LazarusNLP/IndoNanoT5-base](https://huggingface.co/LazarusNLP/IndoNanoT5-base) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.5838
|
21 |
+
- Rouge1: 0.5174
|
22 |
+
- Rouge2: 0.0
|
23 |
+
- Rougel: 0.523
|
24 |
+
- Rougelsum: 0.5165
|
25 |
+
- Gen Len: 1.0
|
26 |
+
|
27 |
+
## Model description
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Intended uses & limitations
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training and evaluation data
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training procedure
|
40 |
+
|
41 |
+
### Training hyperparameters
|
42 |
+
|
43 |
+
The following hyperparameters were used during training:
|
44 |
+
- learning_rate: 5e-05
|
45 |
+
- train_batch_size: 8
|
46 |
+
- eval_batch_size: 32
|
47 |
+
- seed: 42
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- num_epochs: 5.0
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
55 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
56 |
+
| 1.3911 | 1.0 | 1783 | 0.6611 | 0.4074 | 0.0 | 0.4062 | 0.4066 | 1.0 |
|
57 |
+
| 0.8526 | 2.0 | 3566 | 0.6167 | 0.5108 | 0.0 | 0.515 | 0.51 | 1.0 |
|
58 |
+
| 0.7928 | 3.0 | 5349 | 0.5968 | 0.4966 | 0.0 | 0.5042 | 0.4969 | 1.0 |
|
59 |
+
| 0.7651 | 4.0 | 7132 | 0.5860 | 0.5171 | 0.0 | 0.5228 | 0.5173 | 1.0 |
|
60 |
+
| 0.7528 | 5.0 | 8915 | 0.5838 | 0.5174 | 0.0 | 0.523 | 0.5165 | 1.0 |
|
61 |
+
|
62 |
+
|
63 |
+
### Framework versions
|
64 |
+
|
65 |
+
- Transformers 4.40.2
|
66 |
+
- Pytorch 2.3.0+cu121
|
67 |
+
- Datasets 2.19.1
|
68 |
+
- 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": "T5ForConditionalGeneration",
|
22 |
+
"model_name": "LazarusNLP/IndoNanoT5-base",
|
23 |
+
"model_type": "t5",
|
24 |
+
"name": "adapter-summarization",
|
25 |
+
"version": "0.2.2"
|
26 |
+
}
|
adapter-summarization/head_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": null,
|
3 |
+
"hidden_size": 768,
|
4 |
+
"label2id": {
|
5 |
+
"LABEL_0": 0,
|
6 |
+
"LABEL_1": 1
|
7 |
+
},
|
8 |
+
"model_class": "T5ForConditionalGeneration",
|
9 |
+
"model_name": "LazarusNLP/IndoNanoT5-base",
|
10 |
+
"model_type": "t5",
|
11 |
+
"name": null,
|
12 |
+
"num_labels": 2,
|
13 |
+
"version": "0.2.2"
|
14 |
+
}
|
adapter-summarization/pytorch_adapter.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8379347c8327fadf3ebd35823d389c16d8e23e015a03ee837acb975ddd85bb6a
|
3 |
+
size 3593010
|
adapter-summarization/pytorch_model_head.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7467a987e0db5b7ef33f0dba6f30173b6f2a0fa4327e8d394e655fc96809b7cf
|
3 |
+
size 98698515
|