Training
Browse files- README.md +71 -0
- config.json +36 -0
- generation_config.json +9 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +5 -0
- spiece.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +18 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: IlyaGusev/rut5_base_sum_gazeta
|
4 |
+
tags:
|
5 |
+
- summarization_2
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- rouge
|
9 |
+
model-index:
|
10 |
+
- name: rut5_base_sum_gazeta-finetuned
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# rut5_base_sum_gazeta-finetuned
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [IlyaGusev/rut5_base_sum_gazeta](https://huggingface.co/IlyaGusev/rut5_base_sum_gazeta) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 2.1124
|
22 |
+
- Rouge1: 0.0
|
23 |
+
- Rouge2: 0.0
|
24 |
+
- Rougel: 0.0
|
25 |
+
- Rougelsum: 0.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: 5.6e-05
|
45 |
+
- train_batch_size: 8
|
46 |
+
- eval_batch_size: 8
|
47 |
+
- seed: 42
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- num_epochs: 8
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|
55 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:---------:|
|
56 |
+
| 2.9877 | 1.0 | 12 | 2.3994 | 0.0 | 0.0 | 0.0 | 0.0 |
|
57 |
+
| 2.5964 | 2.0 | 24 | 2.2629 | 0.0 | 0.0 | 0.0 | 0.0 |
|
58 |
+
| 2.3873 | 3.0 | 36 | 2.2001 | 0.0 | 0.0 | 0.0 | 0.0 |
|
59 |
+
| 2.2627 | 4.0 | 48 | 2.1574 | 0.0 | 0.0 | 0.0 | 0.0 |
|
60 |
+
| 2.1536 | 5.0 | 60 | 2.1319 | 0.0 | 0.0 | 0.0 | 0.0 |
|
61 |
+
| 2.0937 | 6.0 | 72 | 2.1214 | 0.0 | 0.0 | 0.0 | 0.0 |
|
62 |
+
| 1.9039 | 7.0 | 84 | 2.1149 | 0.0 | 0.0 | 0.0 | 0.0 |
|
63 |
+
| 1.9739 | 8.0 | 96 | 2.1124 | 0.0 | 0.0 | 0.0 | 0.0 |
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- Transformers 4.33.0
|
69 |
+
- Pytorch 2.0.0
|
70 |
+
- Datasets 2.1.0
|
71 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "IlyaGusev/rut5_base_sum_gazeta",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"bos_token_id": 2,
|
7 |
+
"classifier_dropout": 0.0,
|
8 |
+
"d_ff": 2048,
|
9 |
+
"d_kv": 64,
|
10 |
+
"d_model": 768,
|
11 |
+
"decoder_start_token_id": 2,
|
12 |
+
"dense_act_fn": "gelu_new",
|
13 |
+
"dropout_rate": 0.1,
|
14 |
+
"eos_token_id": 1,
|
15 |
+
"feed_forward_proj": "gated-gelu",
|
16 |
+
"initializer_factor": 1.0,
|
17 |
+
"is_encoder_decoder": true,
|
18 |
+
"is_gated_act": true,
|
19 |
+
"layer_norm_epsilon": 1e-06,
|
20 |
+
"max_length": 200,
|
21 |
+
"model_type": "t5",
|
22 |
+
"num_beams": 5,
|
23 |
+
"num_decoder_layers": 12,
|
24 |
+
"num_heads": 12,
|
25 |
+
"num_layers": 12,
|
26 |
+
"output_past": true,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"relative_attention_max_distance": 128,
|
29 |
+
"relative_attention_num_buckets": 32,
|
30 |
+
"tie_word_embeddings": false,
|
31 |
+
"tokenizer_class": "T5Tokenizer",
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.33.0",
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 30000
|
36 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 2,
|
3 |
+
"decoder_start_token_id": 2,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"max_length": 200,
|
6 |
+
"num_beams": 5,
|
7 |
+
"pad_token_id": 0,
|
8 |
+
"transformers_version": "4.33.0"
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:984b6d1b86d3992740d8eb3df5f0934adb912f2160b6364ce92938a59de672ca
|
3 |
+
size 977334453
|
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:76927654c70c667e967c8caca165a3bb1311b415316b6aed8037ed5ede86b10e
|
3 |
+
size 827566
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": null,
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"extra_ids": 0,
|
6 |
+
"max_length": 200,
|
7 |
+
"model_max_length": 1000000000000000019884624838656,
|
8 |
+
"pad_to_multiple_of": null,
|
9 |
+
"pad_token": "<pad>",
|
10 |
+
"pad_token_type_id": 0,
|
11 |
+
"padding_side": "right",
|
12 |
+
"sp_model_kwargs": {},
|
13 |
+
"stride": 0,
|
14 |
+
"tokenizer_class": "T5Tokenizer",
|
15 |
+
"truncation_side": "right",
|
16 |
+
"truncation_strategy": "longest_first",
|
17 |
+
"unk_token": "<unk>"
|
18 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0bbfe39f2176bdfec95878c2ea7eb8307a4243eb086a6fc5e158baf1c8cece2
|
3 |
+
size 4219
|