juraj-juraj commited on
Commit
044c63f
1 Parent(s): 1e7781f

End of training

Browse files
README.md CHANGED
@@ -1,199 +1,65 @@
1
  ---
2
- library_name: transformers
3
- tags: []
 
 
 
 
 
4
  ---
5
 
6
- # Model Card for Model ID
 
7
 
8
- <!-- Provide a quick summary of what the model is/does. -->
9
 
 
 
 
 
 
 
10
 
 
11
 
12
- ## Model Details
13
 
14
- ### Model Description
15
 
16
- <!-- Provide a longer summary of what this model is. -->
17
 
18
- This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
 
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
 
28
- ### Model Sources [optional]
29
 
30
- <!-- Provide the basic links for the model. -->
31
 
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
 
 
 
 
 
 
 
 
 
35
 
36
- ## Uses
37
 
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
 
 
 
39
 
40
- ### Direct Use
41
 
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
 
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Evaluation
104
-
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
194
-
195
- [More Information Needed]
196
-
197
- ## Model Card Contact
198
-
199
- [More Information Needed]
 
1
  ---
2
+ license: apache-2.0
3
+ base_model: allenai/led-base-16384
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: led_large_16384_docstring
8
+ results: []
9
  ---
10
 
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
 
14
+ # led_large_16384_docstring
15
 
16
+ This model is a fine-tuned version of [allenai/led-base-16384](https://huggingface.co/allenai/led-base-16384) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.4572
19
+ - Rouge2 Precision: 0.091
20
+ - Rouge2 Recall: 0.2244
21
+ - Rouge2 Fmeasure: 0.1219
22
 
23
+ ## Model description
24
 
25
+ More information needed
26
 
27
+ ## Intended uses & limitations
28
 
29
+ More information needed
30
 
31
+ ## Training and evaluation data
32
 
33
+ More information needed
 
 
 
 
 
 
34
 
35
+ ## Training procedure
36
 
37
+ ### Training hyperparameters
38
 
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 2
42
+ - eval_batch_size: 2
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 8
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_steps: 1500
49
+ - num_epochs: 3.0
50
+ - mixed_precision_training: Native AMP
51
 
52
+ ### Training results
53
 
54
+ | Training Loss | Epoch | Step | Validation Loss | Rouge2 Precision | Rouge2 Recall | Rouge2 Fmeasure |
55
+ |:-------------:|:-----:|:-----:|:---------------:|:----------------:|:-------------:|:---------------:|
56
+ | 1.099 | 1.33 | 5000 | 1.5197 | 0.0898 | 0.22 | 0.1202 |
57
+ | 0.9149 | 2.67 | 10000 | 1.4572 | 0.091 | 0.2244 | 0.1219 |
58
 
 
59
 
60
+ ### Framework versions
61
 
62
+ - Transformers 4.39.2
63
+ - Pytorch 2.1.2+cu121
64
+ - Datasets 2.14.5
65
+ - Tokenizers 0.15.2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
config.json CHANGED
@@ -1,6 +1,5 @@
1
  {
2
- "_name_or_path": "./led_large/",
3
- "_num_labels": 3,
4
  "activation_dropout": 0.0,
5
  "activation_function": "gelu",
6
  "architectures": [
@@ -8,12 +7,6 @@
8
  ],
9
  "attention_dropout": 0.0,
10
  "attention_window": [
11
- 1024,
12
- 1024,
13
- 1024,
14
- 1024,
15
- 1024,
16
- 1024,
17
  1024,
18
  1024,
19
  1024,
@@ -24,17 +17,18 @@
24
  "bos_token_id": 0,
25
  "classif_dropout": 0.0,
26
  "classifier_dropout": 0.0,
27
- "d_model": 1024,
28
- "decoder_attention_heads": 16,
29
- "decoder_ffn_dim": 4096,
30
  "decoder_layerdrop": 0.0,
31
- "decoder_layers": 12,
32
  "decoder_start_token_id": 2,
33
  "dropout": 0.1,
34
- "encoder_attention_heads": 16,
35
- "encoder_ffn_dim": 4096,
 
36
  "encoder_layerdrop": 0.0,
37
- "encoder_layers": 12,
38
  "eos_token_id": 2,
39
  "gradient_checkpointing": false,
40
  "id2label": {
@@ -49,13 +43,16 @@
49
  "LABEL_1": 1,
50
  "LABEL_2": 2
51
  },
 
52
  "max_decoder_position_embeddings": 1024,
53
  "max_encoder_position_embeddings": 16384,
 
 
54
  "model_type": "led",
55
- "num_hidden_layers": 12,
56
- "output_past": false,
 
57
  "pad_token_id": 1,
58
- "prefix": " ",
59
  "torch_dtype": "float32",
60
  "transformers_version": "4.39.2",
61
  "use_cache": true,
 
1
  {
2
+ "_name_or_path": "allenai/led-base-16384",
 
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
  "architectures": [
 
7
  ],
8
  "attention_dropout": 0.0,
9
  "attention_window": [
 
 
 
 
 
 
10
  1024,
11
  1024,
12
  1024,
 
17
  "bos_token_id": 0,
18
  "classif_dropout": 0.0,
19
  "classifier_dropout": 0.0,
20
+ "d_model": 768,
21
+ "decoder_attention_heads": 12,
22
+ "decoder_ffn_dim": 3072,
23
  "decoder_layerdrop": 0.0,
24
+ "decoder_layers": 6,
25
  "decoder_start_token_id": 2,
26
  "dropout": 0.1,
27
+ "early_stopping": true,
28
+ "encoder_attention_heads": 12,
29
+ "encoder_ffn_dim": 3072,
30
  "encoder_layerdrop": 0.0,
31
+ "encoder_layers": 6,
32
  "eos_token_id": 2,
33
  "gradient_checkpointing": false,
34
  "id2label": {
 
43
  "LABEL_1": 1,
44
  "LABEL_2": 2
45
  },
46
+ "length_penalty": 2.0,
47
  "max_decoder_position_embeddings": 1024,
48
  "max_encoder_position_embeddings": 16384,
49
+ "max_length": 512,
50
+ "min_length": 100,
51
  "model_type": "led",
52
+ "no_repeat_ngram_size": 3,
53
+ "num_beams": 4,
54
+ "num_hidden_layers": 6,
55
  "pad_token_id": 1,
 
56
  "torch_dtype": "float32",
57
  "transformers_version": "4.39.2",
58
  "use_cache": true,
generation_config.json CHANGED
@@ -1,8 +1,13 @@
1
  {
2
- "_from_model_config": true,
3
  "bos_token_id": 0,
4
  "decoder_start_token_id": 2,
 
5
  "eos_token_id": 2,
 
 
 
 
 
6
  "pad_token_id": 1,
7
  "transformers_version": "4.39.2"
8
  }
 
1
  {
 
2
  "bos_token_id": 0,
3
  "decoder_start_token_id": 2,
4
+ "early_stopping": true,
5
  "eos_token_id": 2,
6
+ "length_penalty": 2.0,
7
+ "max_length": 512,
8
+ "min_length": 100,
9
+ "no_repeat_ngram_size": 3,
10
+ "num_beams": 4,
11
  "pad_token_id": 1,
12
  "transformers_version": "4.39.2"
13
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:12e13b132ec9c12914bf8d59f3fb695d6f49bfd665c6c7eb5b3bcb8170dc088d
3
- size 1839478364
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14c6c5a873de1119cbff44192df0ef8e5dec83a70e18c87e1e1d1b60f8fec12c
3
+ size 647614116
runs/Apr04_00-13-23_pcknot9/events.out.tfevents.1712182404.pcknot9.2886154.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31aa09639ae71c692d7b2915c737edfda2a6cc7b5808659d83efb651fc3a51c7
3
+ size 5543
runs/Apr04_00-18-23_pcknot9/events.out.tfevents.1712182722.pcknot9.2886217.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:427a7ab037c49c0d99de68d8b8d3a5eab9aad075a8210164af58e5cec9d1604d
3
+ size 16158
tokenizer.json CHANGED
@@ -2,13 +2,13 @@
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
- "max_length": 256,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
  "padding": {
10
  "strategy": {
11
- "Fixed": 256
12
  },
13
  "direction": "Right",
14
  "pad_to_multiple_of": null,
 
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
+ "max_length": 512,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
  "padding": {
10
  "strategy": {
11
+ "Fixed": 512
12
  },
13
  "direction": "Right",
14
  "pad_to_multiple_of": null,
tokenizer_config.json CHANGED
@@ -48,17 +48,10 @@
48
  "eos_token": "</s>",
49
  "errors": "replace",
50
  "mask_token": "<mask>",
51
- "max_length": 256,
52
  "model_max_length": 16384,
53
- "pad_to_multiple_of": null,
54
  "pad_token": "<pad>",
55
- "pad_token_type_id": 0,
56
- "padding_side": "right",
57
  "sep_token": "</s>",
58
- "stride": 0,
59
  "tokenizer_class": "LEDTokenizer",
60
  "trim_offsets": true,
61
- "truncation_side": "right",
62
- "truncation_strategy": "longest_first",
63
  "unk_token": "<unk>"
64
  }
 
48
  "eos_token": "</s>",
49
  "errors": "replace",
50
  "mask_token": "<mask>",
 
51
  "model_max_length": 16384,
 
52
  "pad_token": "<pad>",
 
 
53
  "sep_token": "</s>",
 
54
  "tokenizer_class": "LEDTokenizer",
55
  "trim_offsets": true,
 
 
56
  "unk_token": "<unk>"
57
  }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f31372b07035370a5160ce2ab22a709b1cbdf6fe701b7c5726780917b949624f
3
+ size 5112