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-pt-2
|
| 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-pt-2
|
| 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: 1.7899
|
| 21 |
+
- Rouge1: 0.7126
|
| 22 |
+
- Rouge2: 0.0
|
| 23 |
+
- Rougel: 0.7147
|
| 24 |
+
- Rougelsum: 0.7153
|
| 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: 0.001
|
| 45 |
+
- train_batch_size: 16
|
| 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 |
+
| 3.36 | 1.0 | 894 | 2.5706 | 0.5429 | 0.0 | 0.5401 | 0.543 | 1.0 |
|
| 57 |
+
| 2.9941 | 2.0 | 1788 | 2.2960 | 0.6505 | 0.0 | 0.6527 | 0.6516 | 1.0 |
|
| 58 |
+
| 2.7929 | 3.0 | 2682 | 2.0855 | 0.6409 | 0.0 | 0.6407 | 0.643 | 1.0 |
|
| 59 |
+
| 2.6099 | 4.0 | 3576 | 1.9074 | 0.6946 | 0.0 | 0.6969 | 0.6972 | 1.0 |
|
| 60 |
+
| 2.4602 | 5.0 | 4470 | 1.7899 | 0.7126 | 0.0 | 0.7147 | 0.7153 | 1.0 |
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
### Framework versions
|
| 64 |
+
|
| 65 |
+
- Transformers 4.40.2
|
| 66 |
+
- Pytorch 2.3.1+cu121
|
| 67 |
+
- Datasets 2.20.0
|
| 68 |
+
- Tokenizers 0.19.1
|
adapter-summarization/adapter_config.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"architecture": "prefix_tuning",
|
| 4 |
+
"bottleneck_size": 512,
|
| 5 |
+
"cross_prefix": true,
|
| 6 |
+
"dropout": 0.0,
|
| 7 |
+
"encoder_prefix": true,
|
| 8 |
+
"flat": false,
|
| 9 |
+
"leave_out": [],
|
| 10 |
+
"non_linearity": "tanh",
|
| 11 |
+
"prefix_length": 10,
|
| 12 |
+
"shared_gating": true,
|
| 13 |
+
"use_gating": false
|
| 14 |
+
},
|
| 15 |
+
"config_id": "e21f5a7ac06e3fee",
|
| 16 |
+
"hidden_size": 768,
|
| 17 |
+
"model_class": "T5ForConditionalGeneration",
|
| 18 |
+
"model_name": "LazarusNLP/IndoNanoT5-base",
|
| 19 |
+
"model_type": "t5",
|
| 20 |
+
"name": "adapter-summarization",
|
| 21 |
+
"version": "0.2.2"
|
| 22 |
+
}
|
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:4d40cbfdb66b0d1581a399db52fa53567244d5e6b6dc6b1e77397374a6eec0bd
|
| 3 |
+
size 118408001
|
adapter-summarization/pytorch_model_head.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33fa629797c720cd03a9aae8337fbd250c6e6ec211017d0a957d6d4090880985
|
| 3 |
+
size 216988098
|