emilstabil
commited on
Commit
·
ed3ed3c
1
Parent(s):
21a2ef9
Training in progress, step 500
Browse files- README.md +80 -0
- config.json +38 -0
- generation_config.json +11 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +5 -0
- spiece.model +3 -0
- tokenizer_config.json +13 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: Danish-summarisation/DanSumT5-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: DanSumT5-base-finetuned-test_6887
|
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 |
+
# DanSumT5-base-finetuned-test_6887
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [Danish-summarisation/DanSumT5-base](https://huggingface.co/Danish-summarisation/DanSumT5-base) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 2.5277
|
21 |
+
- Rouge1: 31.3188
|
22 |
+
- Rouge2: 7.8236
|
23 |
+
- Rougel: 17.8296
|
24 |
+
- Rougelsum: 28.6162
|
25 |
+
- Gen Len: 127.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: 2e-05
|
45 |
+
- train_batch_size: 3
|
46 |
+
- eval_batch_size: 3
|
47 |
+
- seed: 42
|
48 |
+
- gradient_accumulation_steps: 4
|
49 |
+
- total_train_batch_size: 12
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 15
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:-------:|:------:|:-------:|:---------:|:-------:|
|
58 |
+
| No log | 0.99 | 66 | 2.7401 | 29.9221 | 6.3861 | 16.5877 | 27.0611 | 125.09 |
|
59 |
+
| No log | 1.99 | 133 | 2.6815 | 30.6874 | 6.9413 | 16.9609 | 27.8851 | 125.98 |
|
60 |
+
| No log | 3.0 | 200 | 2.6440 | 31.2045 | 7.4012 | 17.7421 | 28.3497 | 126.63 |
|
61 |
+
| No log | 4.0 | 267 | 2.6199 | 31.3329 | 7.4574 | 17.8549 | 28.643 | 126.98 |
|
62 |
+
| No log | 4.99 | 333 | 2.5984 | 31.5184 | 7.7763 | 17.9153 | 29.0627 | 127.0 |
|
63 |
+
| No log | 5.99 | 400 | 2.5822 | 31.8839 | 7.9755 | 18.0572 | 29.2282 | 126.65 |
|
64 |
+
| No log | 7.0 | 467 | 2.5677 | 31.5939 | 7.9515 | 17.865 | 29.2019 | 126.45 |
|
65 |
+
| 2.8684 | 8.0 | 534 | 2.5587 | 31.4931 | 7.6042 | 17.6853 | 28.8366 | 126.79 |
|
66 |
+
| 2.8684 | 8.99 | 600 | 2.5496 | 31.105 | 7.6714 | 17.5128 | 28.5242 | 126.78 |
|
67 |
+
| 2.8684 | 9.99 | 667 | 2.5423 | 31.6087 | 8.0358 | 17.9956 | 28.9514 | 126.78 |
|
68 |
+
| 2.8684 | 11.0 | 734 | 2.5364 | 31.411 | 7.9534 | 17.895 | 28.7595 | 127.0 |
|
69 |
+
| 2.8684 | 12.0 | 801 | 2.5326 | 31.4648 | 7.9777 | 17.9589 | 28.8168 | 127.0 |
|
70 |
+
| 2.8684 | 12.99 | 867 | 2.5296 | 31.374 | 7.8341 | 17.8341 | 28.8146 | 127.0 |
|
71 |
+
| 2.8684 | 13.99 | 934 | 2.5278 | 31.2822 | 7.7789 | 17.7983 | 28.5903 | 127.0 |
|
72 |
+
| 2.8684 | 14.83 | 990 | 2.5277 | 31.3188 | 7.8236 | 17.8296 | 28.6162 | 127.0 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.32.1
|
78 |
+
- Pytorch 2.1.0
|
79 |
+
- Datasets 2.12.0
|
80 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Danish-summarisation/DanSumT5-base",
|
3 |
+
"architectures": [
|
4 |
+
"MT5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 2048,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 768,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "gelu_new",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "gated-gelu",
|
15 |
+
"initializer_factor": 1.0,
|
16 |
+
"is_encoder_decoder": true,
|
17 |
+
"is_gated_act": true,
|
18 |
+
"layer_norm_epsilon": 1e-06,
|
19 |
+
"length_penalty": 5.0,
|
20 |
+
"max_length": 128,
|
21 |
+
"min_length": 9,
|
22 |
+
"model_type": "mt5",
|
23 |
+
"no_repeat_ngram_size": 3,
|
24 |
+
"num_beams": 2,
|
25 |
+
"num_decoder_layers": 12,
|
26 |
+
"num_heads": 12,
|
27 |
+
"num_layers": 12,
|
28 |
+
"output_past": true,
|
29 |
+
"pad_token_id": 0,
|
30 |
+
"relative_attention_max_distance": 128,
|
31 |
+
"relative_attention_num_buckets": 32,
|
32 |
+
"tie_word_embeddings": false,
|
33 |
+
"tokenizer_class": "T5Tokenizer",
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.32.1",
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 250112
|
38 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"length_penalty": 5.0,
|
5 |
+
"max_length": 128,
|
6 |
+
"min_length": 9,
|
7 |
+
"no_repeat_ngram_size": 3,
|
8 |
+
"num_beams": 2,
|
9 |
+
"pad_token_id": 0,
|
10 |
+
"transformers_version": "4.32.1"
|
11 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2ff0faf7d1067e7e0bbc1866314781b5adddf23abfe7c46549a03810c1058b2
|
3 |
+
size 2329703026
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": "</s>",
|
3 |
+
"pad_token": "<pad>",
|
4 |
+
"unk_token": "<unk>"
|
5 |
+
}
|
spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef78f86560d809067d12bac6c09f19a462cb3af3f54d2b8acbba26e1433125d6
|
3 |
+
size 4309802
|
tokenizer_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": null,
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"extra_ids": 0,
|
6 |
+
"legacy": true,
|
7 |
+
"model_max_length": 1000000000000000019884624838656,
|
8 |
+
"pad_token": "<pad>",
|
9 |
+
"sp_model_kwargs": {},
|
10 |
+
"tokenizer_class": "T5Tokenizer",
|
11 |
+
"tokenizer_file": null,
|
12 |
+
"unk_token": "<unk>"
|
13 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:424af56ba1b2d5bb44d71095b31df5523da967dad11900db150e5a9668be1f9b
|
3 |
+
size 4664
|