pszemraj SFconvertbot autoevaluator HF Staff commited on
Commit
1bdc28b
·
verified ·
0 Parent(s):

Super-squash branch 'main' using huggingface_hub

Browse files

Co-authored-by: SFconvertbot <SFconvertbot@users.noreply.huggingface.co>
Co-authored-by: autoevaluator <autoevaluator@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ftz filter=lfs diff=lfs merge=lfs -text
6
+ *.gz filter=lfs diff=lfs merge=lfs -text
7
+ *.h5 filter=lfs diff=lfs merge=lfs -text
8
+ *.joblib filter=lfs diff=lfs merge=lfs -text
9
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
10
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
11
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.npy filter=lfs diff=lfs merge=lfs -text
14
+ *.npz filter=lfs diff=lfs merge=lfs -text
15
+ *.onnx filter=lfs diff=lfs merge=lfs -text
16
+ *.ot filter=lfs diff=lfs merge=lfs -text
17
+ *.parquet filter=lfs diff=lfs merge=lfs -text
18
+ *.pb filter=lfs diff=lfs merge=lfs -text
19
+ *.pickle filter=lfs diff=lfs merge=lfs -text
20
+ *.pkl filter=lfs diff=lfs merge=lfs -text
21
+ *.pt filter=lfs diff=lfs merge=lfs -text
22
+ *.pth filter=lfs diff=lfs merge=lfs -text
23
+ *.rar filter=lfs diff=lfs merge=lfs -text
24
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
25
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
26
+ *.tflite filter=lfs diff=lfs merge=lfs -text
27
+ *.tgz filter=lfs diff=lfs merge=lfs -text
28
+ *.wasm filter=lfs diff=lfs merge=lfs -text
29
+ *.xz filter=lfs diff=lfs merge=lfs -text
30
+ *.zip filter=lfs diff=lfs merge=lfs -text
31
+ *.zst filter=lfs diff=lfs merge=lfs -text
32
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
33
+ model.safetensors filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,363 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license:
3
+ - apache-2.0
4
+ - bsd-3-clause
5
+ tags:
6
+ - summarization
7
+ - summary
8
+ - booksum
9
+ - long-document
10
+ - long-form
11
+ datasets:
12
+ - kmfoda/booksum
13
+ metrics:
14
+ - rouge
15
+ widget:
16
+ - text: large earthquakes along a given fault segment do not occur at random intervals
17
+ because it takes time to accumulate the strain energy for the rupture. The rates
18
+ at which tectonic plates move and accumulate strain at their boundaries are approximately
19
+ uniform. Therefore, in first approximation, one may expect that large ruptures
20
+ of the same fault segment will occur at approximately constant time intervals.
21
+ If subsequent main shocks have different amounts of slip across the fault, then
22
+ the recurrence time may vary, and the basic idea of periodic mainshocks must be
23
+ modified. For great plate boundary ruptures the length and slip often vary by
24
+ a factor of 2. Along the southern segment of the San Andreas fault the recurrence
25
+ interval is 145 years with variations of several decades. The smaller the standard
26
+ deviation of the average recurrence interval, the more specific could be the long
27
+ term prediction of a future mainshock.
28
+ example_title: earthquakes
29
+ - text: ' A typical feed-forward neural field algorithm. Spatiotemporal coordinates
30
+ are fed into a neural network that predicts values in the reconstructed domain.
31
+ Then, this domain is mapped to the sensor domain where sensor measurements are
32
+ available as supervision. Class and Section Problems Addressed Generalization
33
+ (Section 2) Inverse problems, ill-posed problems, editability; symmetries. Hybrid
34
+ Representations (Section 3) Computation & memory efficiency, representation capacity,
35
+ editability: Forward Maps (Section 4) Inverse problems Network Architecture (Section
36
+ 5) Spectral bias, integration & derivatives. Manipulating Neural Fields (Section
37
+ 6) Edit ability, constraints, regularization. Table 2: The five classes of techniques
38
+ in the neural field toolbox each addresses problems that arise in learning, inference,
39
+ and control. (Section 3). We can supervise reconstruction via differentiable forward
40
+ maps that transform Or project our domain (e.g, 3D reconstruction via 2D images;
41
+ Section 4) With appropriate network architecture choices, we can overcome neural
42
+ network spectral biases (blurriness) and efficiently compute derivatives and integrals
43
+ (Section 5). Finally, we can manipulate neural fields to add constraints and regularizations,
44
+ and to achieve editable representations (Section 6). Collectively, these classes
45
+ constitute a ''toolbox'' of techniques to help solve problems with neural fields
46
+ There are three components in a conditional neural field: (1) An encoder or inference
47
+ function € that outputs the conditioning latent variable 2 given an observation
48
+ 0 E(0) =2. 2 is typically a low-dimensional vector, and is often referred to aS
49
+ a latent code Or feature code_ (2) A mapping function 4 between Z and neural field
50
+ parameters O: Y(z) = O; (3) The neural field itself $. The encoder € finds the
51
+ most probable z given the observations O: argmaxz P(2/0). The decoder maximizes
52
+ the inverse conditional probability to find the most probable 0 given Z: arg-
53
+ max P(Olz). We discuss different encoding schemes with different optimality guarantees
54
+ (Section 2.1.1), both global and local conditioning (Section 2.1.2), and different
55
+ mapping functions Y (Section 2.1.3) 2. Generalization Suppose we wish to estimate
56
+ a plausible 3D surface shape given a partial or noisy point cloud. We need a suitable
57
+ prior over the sur- face in its reconstruction domain to generalize to the partial
58
+ observations. A neural network expresses a prior via the function space of its
59
+ architecture and parameters 0, and generalization is influenced by the inductive
60
+ bias of this function space (Section 5).'
61
+ example_title: scientific paper
62
+ - text: 'Is a else or outside the cob and tree written being of early client rope
63
+ and you have is for good reasons. On to the ocean in Orange for time. By''s the
64
+ aggregate we can bed it yet. Why this please pick up on a sort is do and also
65
+ M Getoi''s nerocos and do rain become you to let so is his brother is made in
66
+ use and Mjulia''s''s the lay major is aging Masastup coin present sea only of
67
+ Oosii rooms set to you We do er do we easy this private oliiishs lonthen might
68
+ be okay. Good afternoon everybody. Welcome to this lecture of Computational Statistics.
69
+ As you can see, I''m not socially my name is Michael Zelinger. I''m one of the
70
+ task for this class and you might have already seen me in the first lecture where
71
+ I made a quick appearance. I''m also going to give the tortillas in the last third
72
+ of this course. So to give you a little bit about me, I''m a old student here
73
+ with better Bulman and my research centres on casual inference applied to biomedical
74
+ disasters, so that could be genomics or that could be hospital data. If any of
75
+ you is interested in writing a bachelor thesis, a semester paper may be mastathesis
76
+ about this topic feel for reach out to me. you have my name on models and my email
77
+ address you can find in the directory I''d Be very happy to talk about it. you
78
+ do not need to be sure about it, we can just have a chat. So with that said, let''s
79
+ get on with the lecture. There''s an exciting topic today I''m going to start
80
+ by sharing some slides with you and later on during the lecture we''ll move to
81
+ the paper. So bear with me for a few seconds. Well, the projector is starting
82
+ up. Okay, so let''s get started. Today''s topic is a very important one. It''s
83
+ about a technique which really forms one of the fundamentals of data science,
84
+ machine learning, and any sort of modern statistics. It''s called cross validation.
85
+ I know you really want to understand this topic I Want you to understand this
86
+ and frankly, nobody''s gonna leave Professor Mineshousen''s class without understanding
87
+ cross validation. So to set the stage for this, I Want to introduce you to the
88
+ validation problem in computational statistics. So the problem is the following:
89
+ You trained a model on available data. You fitted your model, but you know the
90
+ training data you got could always have been different and some data from the
91
+ environment. Maybe it''s a random process. You do not really know what it is,
92
+ but you know that somebody else who gets a different batch of data from the same
93
+ environment they would get slightly different training data and you do not care
94
+ that your method performs as well. On this training data. you want to to perform
95
+ well on other data that you have not seen other data from the same environment.
96
+ So in other words, the validation problem is you want to quantify the performance
97
+ of your model on data that you have not seen. So how is this even possible? How
98
+ could you possibly measure the performance on data that you do not know The solution
99
+ to? This is the following realization is that given that you have a bunch of data,
100
+ you were in charge. You get to control how much that your model sees. It works
101
+ in the following way: You can hide data firms model. Let''s say you have a training
102
+ data set which is a bunch of doubtless so X eyes are the features those are typically
103
+ hide and national vector. It''s got more than one dimension for sure. And the
104
+ why why eyes. Those are the labels for supervised learning. As you''ve seen before,
105
+ it''s the same set up as we have in regression. And so you have this training
106
+ data and now you choose that you only use some of those data to fit your model.
107
+ You''re not going to use everything, you only use some of it the other part you
108
+ hide from your model. And then you can use this hidden data to do validation from
109
+ the point of you of your model. This hidden data is complete by unseen. In other
110
+ words, we solve our problem of validation.'
111
+ example_title: transcribed audio - lecture
112
+ - text: 'Transformer-based models have shown to be very useful for many NLP tasks.
113
+ However, a major limitation of transformers-based models is its O(n^2)O(n 2) time
114
+ & memory complexity (where nn is sequence length). Hence, it''s computationally
115
+ very expensive to apply transformer-based models on long sequences n > 512n>512.
116
+ Several recent papers, e.g. Longformer, Performer, Reformer, Clustered attention
117
+ try to remedy this problem by approximating the full attention matrix. You can
118
+ checkout 🤗''s recent blog post in case you are unfamiliar with these models.
119
+
120
+ BigBird (introduced in paper) is one of such recent models to address this issue.
121
+ BigBird relies on block sparse attention instead of normal attention (i.e. BERT''s
122
+ attention) and can handle sequences up to a length of 4096 at a much lower computational
123
+ cost compared to BERT. It has achieved SOTA on various tasks involving very long
124
+ sequences such as long documents summarization, question-answering with long contexts.
125
+
126
+ BigBird RoBERTa-like model is now available in 🤗Transformers. The goal of this
127
+ post is to give the reader an in-depth understanding of big bird implementation
128
+ & ease one''s life in using BigBird with 🤗Transformers. But, before going into
129
+ more depth, it is important to remember that the BigBird''s attention is an approximation
130
+ of BERT''s full attention and therefore does not strive to be better than BERT''s
131
+ full attention, but rather to be more efficient. It simply allows to apply transformer-based
132
+ models to much longer sequences since BERT''s quadratic memory requirement quickly
133
+ becomes unbearable. Simply put, if we would have ∞ compute & ∞ time, BERT''s attention
134
+ would be preferred over block sparse attention (which we are going to discuss
135
+ in this post).
136
+
137
+ If you wonder why we need more compute when working with longer sequences, this
138
+ blog post is just right for you!
139
+
140
+ Some of the main questions one might have when working with standard BERT-like
141
+ attention include:
142
+
143
+ Do all tokens really have to attend to all other tokens? Why not compute attention
144
+ only over important tokens? How to decide what tokens are important? How to attend
145
+ to just a few tokens in a very efficient way? In this blog post, we will try to
146
+ answer those questions.
147
+
148
+ What tokens should be attended to? We will give a practical example of how attention
149
+ works by considering the sentence ''BigBird is now available in HuggingFace for
150
+ extractive question answering''. In BERT-like attention, every word would simply
151
+ attend to all other tokens.
152
+
153
+ Let''s think about a sensible choice of key tokens that a queried token actually
154
+ only should attend to by writing some pseudo-code. Will will assume that the token
155
+ available is queried and build a sensible list of key tokens to attend to.
156
+
157
+ >>> # let''s consider following sentence as an example >>> example = [''BigBird'',
158
+ ''is'', ''now'', ''available'', ''in'', ''HuggingFace'', ''for'', ''extractive'',
159
+ ''question'', ''answering'']
160
+
161
+ >>> # further let''s assume, we''re trying to understand the representation of
162
+ ''available'' i.e. >>> query_token = ''available'' >>> # We will initialize an
163
+ empty `set` and fill up the tokens of our interest as we proceed in this section.
164
+ >>> key_tokens = [] # => currently ''available'' token doesn''t have anything
165
+ to attend Nearby tokens should be important because, in a sentence (sequence of
166
+ words), the current word is highly dependent on neighboring past & future tokens.
167
+ This intuition is the idea behind the concept of sliding attention.'
168
+ example_title: bigbird blog intro
169
+ - text: 'To be fair, you have to have a very high IQ to understand Rick and Morty.
170
+ The humour is extremely subtle, and without a solid grasp of theoretical physics
171
+ most of the jokes will go over a typical viewer''s head. There''s also Rick''s
172
+ nihilistic outlook, which is deftly woven into his characterisation- his personal
173
+ philosophy draws heavily from Narodnaya Volya literature, for instance. The fans
174
+ understand this stuff; they have the intellectual capacity to truly appreciate
175
+ the depths of these jokes, to realise that they''re not just funny- they say something
176
+ deep about LIFE. As a consequence people who dislike Rick & Morty truly ARE idiots-
177
+ of course they wouldn''t appreciate, for instance, the humour in Rick''s existential
178
+ catchphrase ''Wubba Lubba Dub Dub,'' which itself is a cryptic reference to Turgenev''s
179
+ Russian epic Fathers and Sons. I''m smirking right now just imagining one of those
180
+ addlepated simpletons scratching their heads in confusion as Dan Harmon''s genius
181
+ wit unfolds itself on their television screens. What fools.. how I pity them.
182
+ 😂
183
+
184
+ And yes, by the way, i DO have a Rick & Morty tattoo. And no, you cannot see it.
185
+ It''s for the ladies'' eyes only- and even then they have to demonstrate that
186
+ they''re within 5 IQ points of my own (preferably lower) beforehand. Nothin personnel
187
+ kid 😎'
188
+ example_title: Richard & Mortimer
189
+ parameters:
190
+ max_length: 64
191
+ min_length: 8
192
+ no_repeat_ngram_size: 3
193
+ early_stopping: true
194
+ repetition_penalty: 3.5
195
+ length_penalty: 0.3
196
+ encoder_no_repeat_ngram_size: 3
197
+ num_beams: 4
198
+ model-index:
199
+ - name: pszemraj/long-t5-tglobal-base-16384-booksum-V12
200
+ results:
201
+ - task:
202
+ type: summarization
203
+ name: Summarization
204
+ dataset:
205
+ name: samsum
206
+ type: samsum
207
+ config: samsum
208
+ split: test
209
+ metrics:
210
+ - type: rouge
211
+ value: 30.0032
212
+ name: ROUGE-1
213
+ verified: true
214
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNjk2MTRiNDljZTM4NzliNDdmMTdkZGY3MGY4OTVmMzFhOTdjNGFjYjJhYTBjYTI4Y2VkOGMxYWI5M2M3YWEyZSIsInZlcnNpb24iOjF9.cZtcCwB1Bnnn1g4x8Ia_8oTSK89feGF80r20jwjSb-xy5Xt3eR3dOVjJyjurfN0UOGyEe7inTpneJhcAoRwwBg
215
+ - type: rouge
216
+ value: 7.2671
217
+ name: ROUGE-2
218
+ verified: true
219
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNThiYmJhN2NkYmU0MmZmZGY5MGU2NmEzZGQwNjM0MDEwNzlhNDgzY2E2MzkxMWVkZTUwMWFlZmFhYWEwN2M5ZSIsInZlcnNpb24iOjF9.IaaaHiOxUdh6IDGbb2vCCEcL-YhXCtaFlZnIpcgQwsC3KRgfrpQi5vdhyaaIJSieA2pzbFjUO--WqjylvpysCA
220
+ - type: rouge
221
+ value: 21.8779
222
+ name: ROUGE-L
223
+ verified: true
224
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNTc1N2YwODk4YmU1Mjk3NGQ2ZDVkYWVjN2Y1ZDVlOTNkMjU5MjcyYjY0ZWY5NjJkNzZjNjMwZWUxNWY0NTY1ZiIsInZlcnNpb24iOjF9.HhYA0t2Ee3YhtBDPneU7hzEEz5c4FeBcTo-3TSSClltG3A5E3RIgbxUbQNbldRAL9Y44Z8uzEHfe676eL22vBg
225
+ - type: rouge
226
+ value: 26.4371
227
+ name: ROUGE-LSUM
228
+ verified: true
229
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiOTJmZmJhZTBiZDczYmNkNWQ0MGQ3ZTIyNzc2NGExMGY1MGNkOThlNDg0OWQ3YWFmNDRmYTUxZTYzN2U5Yzc4MCIsInZlcnNpb24iOjF9.fgr8NNlhDCvtXMudOce1pf_slujIhXAEC3a6fH6AAlgIvzxg1oGV5QiUcrPDNhyFD2XazZ39Xk1GhoMk4AnxAQ
230
+ - type: loss
231
+ value: 2.6383285522460938
232
+ name: loss
233
+ verified: true
234
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNjRiMjAyMjJkM2M5NGZjYzRiZGFlNTJhM2UyNjExODlmNjM4NjRmZTRlMWEzMTUzYTI2NjYzYTAyNmVlYjJjMCIsInZlcnNpb24iOjF9.wKAqpXyvHNGDpxwLmR6mzI4gRwVQI88uFJZJoRAWQD_d-H97y5cpP4VSBes_YfVpFpYzEF8miN9fv660xukiBA
235
+ - type: gen_len
236
+ value: 54.2357
237
+ name: gen_len
238
+ verified: true
239
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNzA1Y2IxN2Q4OGU0N2FkNDFmNTFmMjQwZDA4MTczMDJmNWIyMjdhYzhkNTE5ZjI4M2NjZTdkMmUwMTFjMzk1ZCIsInZlcnNpb24iOjF9.JuADjJNIcaqmZTw1RFnklHJYEYfTEKQ0YnmvL1TmvSihIVJORbK-3cFkJLVJdyaaRq40HjhQRw6mmpur9Lq1CQ
240
+ - task:
241
+ type: summarization
242
+ name: Summarization
243
+ dataset:
244
+ name: launch/gov_report
245
+ type: launch/gov_report
246
+ config: plain_text
247
+ split: test
248
+ metrics:
249
+ - type: rouge
250
+ value: 37.0538
251
+ name: ROUGE-1
252
+ verified: true
253
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMzViY2Y2ZWIwMDdhNDEzMDU3MmE4ZTBlZjQ2MDI2YTVjOGZjZDM5NzhiZDk2MWJhZWY5MDUwY2NhZTY2OTc5ZSIsInZlcnNpb24iOjF9.p2z_oZD9uVTnBtf7vRRKvisW-rXWVibpU0QQ-S_16CIYLc2kTJRZMLzaMJqbi1d8icBTeG5PdIzKcAVwu7JKCA
254
+ - type: rouge
255
+ value: 8.1512
256
+ name: ROUGE-2
257
+ verified: true
258
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMWUzZGM0ZGJiMDYwM2ZmYjI5Mzk5MTU2N2JlZGVlOGRjMTJjY2QwOWIwMjgyMjM0ZjIzY2Q4MzJjNDkxZmVhMCIsInZlcnNpb24iOjF9.z6pMF8l4uMQIEcdyU1kgDc1v3rCn-0TVxntKP3hmOEwRJqfbeqDmhhAROWadYTPNewpfsCpShVHGJt9DvH55BQ
259
+ - type: rouge
260
+ value: 17.6645
261
+ name: ROUGE-L
262
+ verified: true
263
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZWNkYzY2NGY4YmFiNWRhODAwZmFmOTkzM2M3MGY0ZTQzZTUwNmExNDc5ZDdhZWVhZjFhYTUyYjFlZjQ3ZDA4ZCIsInZlcnNpb24iOjF9.XbVCDhR_l7OalwF2DsHJSZ39z_HHdG3PlwKL0Ls9lBvRo4E8sk00vrQy4IRCqPF8hPJusl2Nb65V3CvgIldqAA
264
+ - type: rouge
265
+ value: 33.4275
266
+ name: ROUGE-LSUM
267
+ verified: true
268
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNDdiYzI0MDlmYjg0MWFjZDBmMmIyZWUyNzNhYTUyNTU1ZDdhODE4ZTlmMTg5MDY1MDhhMGRlMGU1OTA3YzM4ZSIsInZlcnNpb24iOjF9.pDHKUDMXHihmLSQzYq6bxclcLyajcRf6Q5ImhpvpoepG8du5ggwb1q_2anGfDjJ0kkFa-Iwtbl8KmdqD7TTCAQ
269
+ - type: loss
270
+ value: 2.6052205562591553
271
+ name: loss
272
+ verified: true
273
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNjk0YWNjMjkxZjUwMDBlODNkNjE0ZWRkYzYxZmRjNjBhMmVjNTE2OWFkZTU1OTYzMzMxNzdkMGFlODVjOWVkNCIsInZlcnNpb24iOjF9.n-p8JJBe9nOsKwvS2CHO6HBiI6b-0dUZuVaL9aQgX_qFhETvwR_gHggWXU6sCiLCzkElH6ZpGpcMw9AogJWkCw
274
+ - type: gen_len
275
+ value: 201.5951
276
+ name: gen_len
277
+ verified: true
278
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMzMyYWViNDNjMzY2NmQyZjI5MWU2ZjMwMmYyOGFkMzM0YzgwMzg5ZDhmYzYzYzg0OTMzOWY5ZDRiM2NkNWViOSIsInZlcnNpb24iOjF9.6T6C1dimUVOHNbqm5drVZmiWVrQEC0VBc7nSAiyLm2K3WE99FisSByk4zhBtUf_CntT_TZm1dBpfTaAUVPDOAQ
279
+ - task:
280
+ type: summarization
281
+ name: Summarization
282
+ dataset:
283
+ name: kmfoda/booksum
284
+ type: kmfoda/booksum
285
+ config: kmfoda--booksum
286
+ split: test
287
+ metrics:
288
+ - type: rouge
289
+ value: 36.1423
290
+ name: ROUGE-1
291
+ verified: true
292
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiOTZkYTA5N2FhNjVhMzg1ZDRjOThhZjcwMjdmYzQ1MGE5N2RhNTM0MmNjMzVkYjNlYmZjOGZjMDFlZDBkMGM5MSIsInZlcnNpb24iOjF9.odQ-NMcQ06o2mqzXOfGY1c967_RUfg93YfGnMTpKUXPM5dGawkdVYGO8rPCHt5bttPvYlBmRgNl6Z7H_OhgnCA
293
+ - type: rouge
294
+ value: 5.634
295
+ name: ROUGE-2
296
+ verified: true
297
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZmFkODViOTg2MDYxZDhlMjZiOTNjZWE2ZTI5YmVhYWRiNGM1OTAzZDEzN2Y1ODI4OWI3NzU2ZmZlMGJjNGIyZiIsInZlcnNpb24iOjF9.4-VpnxVDiC0AG-de1dFr6VHNNbK2qZhAMQ62EpVU7Et-n25w8GPcoyr9l4AXIodQpU6p0H0pdntEUqQwJOHaDg
298
+ - type: rouge
299
+ value: 16.3747
300
+ name: ROUGE-L
301
+ verified: true
302
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiYzkzYWY1NmEyMWNkODQ2N2ExYzMwNWExZDgwNTkxMTg5OTNjYjU5NjMwNWU3NzZhZDYwYzA4M2I0ZmU3Yjg2NiIsInZlcnNpb24iOjF9.tY2mQ0bZU9GMYYTJPot_vgvmiAoubdYWAzEQSQskigleh7AWtsXbO2CnhBsE_7UpsLPVWGccP0IWkHdHRg9zAA
303
+ - type: rouge
304
+ value: 33.0665
305
+ name: ROUGE-LSUM
306
+ verified: true
307
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiZTEyZGZlNmRhNjllMGExZTJhOWE0NDQwN2Q3MjQyZmM5OGZjZDQwMGE4MGRiMjJmMWVmNjc2ZTQwOWFlMTdmNyIsInZlcnNpb24iOjF9.W1bgFs6XhmbeWJlX_6IvWx6MX-yUj5ErdBU1cGAAZRrEA0elBa_-FdbRkwnLDcBNmBm16vtxPAQfQgJQXmIcDA
308
+ - type: loss
309
+ value: 2.454127550125122
310
+ name: loss
311
+ verified: true
312
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMTQ0OGMyZGNmZjVlMDYzOTA1NjdlZjZhOThhN2M3ZTZjNWM5N2Y2MjQwZjg4Y2E4MjhiOWUzODFiMzY1YzU0NyIsInZlcnNpb24iOjF9.TOjsyBEWqDD5N9FzJPE9Z7Poj0oXefGryUy7rgj4uXbbWb8DMsMXMcxNVEKixG_vbGyFyASSmgyeW6bAFHaPCw
313
+ - type: gen_len
314
+ value: 239.4179
315
+ name: gen_len
316
+ verified: true
317
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMGZmOWY5NmMyNjUzZDM2NmNjNzBjMzU2OTMxYWE2MGFhM2JiMmFmNzQwOTg4NGY5Yzc1NmZjNGZmZjM5NWQzNyIsInZlcnNpb24iOjF9.piE6u39D58dKz2HimpE4Fng7cHELJPuSpZaoEU3gOXSXYw_lx2KQhi2VfFg-mUasmLuQn4bBvMJcWXyBTY8YBw
318
+ - task:
319
+ type: summarization
320
+ name: Summarization
321
+ dataset:
322
+ name: big_patent
323
+ type: big_patent
324
+ config: y
325
+ split: test
326
+ metrics:
327
+ - type: rouge
328
+ value: 35.615
329
+ name: ROUGE-1
330
+ verified: true
331
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMWM4ZWQxMjBmNzFlYWMwODg5YTEzOWRmYzBiNmI4ZjBmNmFiZjk2NWQxNDFmY2QzNTA3ZTc5ODZkNmJkZGE4NSIsInZlcnNpb24iOjF9.MABjYbSyTQrT0QxzXM9VRpdDb5dchk1GI_TD_NSB27ozZdWEXyZ-dp44jR-M9mJTSsGk60czxmCF1gq-e4YhAQ
332
+ - type: rouge
333
+ value: 8.2625
334
+ name: ROUGE-2
335
+ verified: true
336
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiNTk3MmI3ZmQyOTlmYzc4YTkwNjBjOTM3YmE5NjQxOGVkMDFlODc4YjgxMzlhNGRkYThkMzQ5OTU4YWFjYTg0NiIsInZlcnNpb24iOjF9.KHipwLhPWwc55GQpvNe3bSrKOgaAs4sFvLEGvzVa4HWWyvz4oX2ZaytYnURH9Xid7d9nTr7zWYYiwQ7TmSXPDA
337
+ - type: rouge
338
+ value: 19.9883
339
+ name: ROUGE-L
340
+ verified: true
341
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiOTlhZDk5ZmEyYzgxY2IyNWI1MTk1Nzg2YmVlNmRhMjcyZmFmMWZkNGQ4OWEwYjQwYTk3YzllODdiNzRkN2M5ZCIsInZlcnNpb24iOjF9.ah1-tJ5rUuUToNUHUMf9v9_TGJdhffBMdPDthvo3fmKcFtUQFAMwIloGLp0ePcCS_h8IMEyrtpMwqcDc7jrgAw
342
+ - type: rouge
343
+ value: 30.1801
344
+ name: ROUGE-LSUM
345
+ verified: true
346
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiMzViMzBiY2I2NWNkMjJmMmZhOTk2YzY3NTFhZTIxOTAzY2ZmNmJlYTlmZDI4YjAyYmRiNDRlNTk0MWJjMmY1MCIsInZlcnNpb24iOjF9.KUPyHMK77clPtJHyXR5WirKcy5O5hZP-MBZE-gFRy21S_sIsHpZNnBuGTJ6AMVi_38MNvDgLQWwSE-4y9eG8Dg
347
+ - type: loss
348
+ value: 2.8106656074523926
349
+ name: loss
350
+ verified: true
351
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiYjA1ZTk2NzA5NDUwMjQ1ZDcxZTA0ZTA3YzdjYzhhZWM1ZjI3MTllYTg2YzAxOTk0Nzk1Yjc0OTRiNzIyOWExZSIsInZlcnNpb24iOjF9.q2sdYyFeFxpjGPKGpJDnoOmzTznwA1Z99GBWOHA-9YUI5q_w_kbV8JdfbiQ9GsaN8EqDlmkCL2kv5lC3xvvUAA
352
+ - type: gen_len
353
+ value: 170.3483
354
+ name: gen_len
355
+ verified: true
356
+ verifyToken: eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9.eyJoYXNoIjoiY2MxNWFjYTg1Yjc3YmNjMjViYjM5ZDdmY2NhNjFjMWQxYWQwOWI3NTczY2M5ZWVmMGM2MmQ0ZmY3M2Y0MDEwZiIsInZlcnNpb24iOjF9.J80uRlSZCVIsvyVkO8rqQ4vyZrgBMu1YpOckAzIaj_jTWKGaOPM3kj6sSePiEN8OLZYwDueqLsKkPa0B6ZXIBw
357
+ ---
358
+ # pszemraj/long-t5-tglobal-base-16384-booksum-V12
359
+
360
+ > this checkpoint has some further training and is **exists separately to confirm metrics before merging to main**
361
+
362
+ - training metadata data in [this json](training_metadata.json)
363
+ - the main model can be found [here](https://huggingface.co/pszemraj/long-t5-tglobal-base-16384-book-summary)
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "pszemraj/long-t5-tglobal-base-16384-booksum-V11",
3
+ "architectures": [
4
+ "LongT5ForConditionalGeneration"
5
+ ],
6
+ "d_ff": 2048,
7
+ "d_kv": 64,
8
+ "d_model": 768,
9
+ "decoder_start_token_id": 0,
10
+ "dense_act_fn": "gelu_new",
11
+ "dropout_rate": 0.1,
12
+ "early_stopping": true,
13
+ "encoder_attention_type": "transient-global",
14
+ "encoder_no_repeat_ngram_size": 4,
15
+ "eos_token_id": 1,
16
+ "feed_forward_proj": "gated-gelu",
17
+ "global_block_size": 16,
18
+ "initializer_factor": 1.0,
19
+ "is_encoder_decoder": true,
20
+ "is_gated_act": true,
21
+ "layer_norm_epsilon": 1e-06,
22
+ "length_penalty": 0.8,
23
+ "local_radius": 127,
24
+ "max_length": 512,
25
+ "min_length": 8,
26
+ "model_type": "longt5",
27
+ "n_positions": 4096,
28
+ "no_repeat_ngram_size": 3,
29
+ "num_beams": 2,
30
+ "num_decoder_layers": 12,
31
+ "num_heads": 12,
32
+ "num_layers": 12,
33
+ "output_past": true,
34
+ "pad_token_id": 0,
35
+ "relative_attention_max_distance": 128,
36
+ "relative_attention_num_buckets": 32,
37
+ "repetition_penalty": 3.5,
38
+ "tie_word_embeddings": false,
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.22.0.dev0",
41
+ "use_cache": false,
42
+ "vocab_size": 32128
43
+ }
long-t5-tglobal-base-16384-booksum-V11-ft25-booksum_training_metadata.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"output_dir": "/content/drive/MyDrive/Programming/hf-trainer/long-t5-tglobal-base-16384-booksum-V11-ft25-booksum", "overwrite_output_dir": true, "do_train": false, "do_eval": false, "do_predict": false, "evaluation_strategy": "no", "prediction_loss_only": false, "per_device_train_batch_size": 2, "per_device_eval_batch_size": 1, "per_gpu_train_batch_size": "None", "per_gpu_eval_batch_size": "None", "gradient_accumulation_steps": 32, "eval_accumulation_steps": "None", "eval_delay": 0, "learning_rate": 0.001, "weight_decay": 0, "adam_beta1": 0.9, "adam_beta2": 0.999, "adam_epsilon": 1e-08, "max_grad_norm": 1, "num_train_epochs": 1, "max_steps": -1, "lr_scheduler_type": "constant_with_warmup", "warmup_ratio": 0.03, "warmup_steps": 0, "log_level": -1, "log_level_replica": -1, "log_on_each_node": true, "logging_dir": "/content/drive/MyDrive/Programming/hf-trainer/long-t5-tglobal-base-16384-booksum-V11-ft25-booksum/logs", "logging_strategy": "steps", "logging_first_step": false, "logging_steps": 2, "logging_nan_inf_filter": true, "save_strategy": "steps", "save_steps": 25, "save_total_limit": 1, "save_on_each_node": false, "no_cuda": false, "use_mps_device": false, "seed": 42, "data_seed": "None", "jit_mode_eval": false, "use_ipex": false, "bf16": false, "fp16": false, "fp16_opt_level": "O1", "half_precision_backend": "auto", "bf16_full_eval": false, "fp16_full_eval": false, "tf32": "None", "local_rank": 0, "xpu_backend": "None", "tpu_num_cores": "None", "tpu_metrics_debug": false, "debug": "[]", "dataloader_drop_last": false, "eval_steps": "None", "dataloader_num_workers": 0, "past_index": -1, "run_name": "/content/drive/MyDrive/Programming/hf-trainer/long-t5-tglobal-base-16384-booksum-V11-ft25-booksum", "disable_tqdm": false, "remove_unused_columns": true, "label_names": "None", "load_best_model_at_end": false, "metric_for_best_model": "None", "greater_is_better": "None", "ignore_data_skip": false, "sharded_ddp": "[]", "fsdp": "[]", "fsdp_min_num_params": 0, "fsdp_transformer_layer_cls_to_wrap": "None", "deepspeed": "None", "label_smoothing_factor": 0.0, "optim": "adamw_hf", "adafactor": false, "group_by_length": false, "length_column_name": "length", "report_to": "['tensorboard']", "ddp_find_unused_parameters": "None", "ddp_bucket_cap_mb": "None", "dataloader_pin_memory": true, "skip_memory_metrics": false, "use_legacy_prediction_loop": false, "push_to_hub": true, "resume_from_checkpoint": "None", "hub_model_id": "long-t5-tglobal-base-16384-booksum-V11-ft25-booksum", "hub_strategy": "end", "hub_token": "<HUB_TOKEN>", "hub_private_repo": true, "gradient_checkpointing": true, "include_inputs_for_metrics": false, "fp16_backend": "auto", "push_to_hub_model_id": "None", "push_to_hub_organization": "None", "push_to_hub_token": "<PUSH_TO_HUB_TOKEN>", "_n_gpu": 1, "mp_parameters": "", "auto_find_batch_size": false, "full_determinism": false, "torchdynamo": "None", "ray_scope": "last", "ddp_timeout": 1800, "sortish_sampler": false, "predict_with_generate": false, "generation_max_length": "None", "generation_num_beams": "None", "train_batch_size": 2, "eval_batch_size": 1, "configs_src": "long-t5-tglobal-base-16384-booksum-V11-ft25-booksum", "use_adam8bit": false, "use_adan_optim": false, "optim_params": "(Adafactor (\nParameter Group 0\n beta1: None\n clip_threshold: 1.0\n decay_rate: -0.8\n eps: (1e-30, 0.001)\n lr: 0.0\n relative_step: True\n scale_parameter: True\n warmup_init: True\n weight_decay: 0.0\n), <transformers.optimization.AdafactorSchedule object at 0x7f6ab0187890>)"}
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5bcc158f8647ec8103d5e0e1f08ebd3542be99939fec65a1cfe4d9f82691a1f
3
+ size 990386200
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:711f8193d127002390e12f1a522026d85c53d0a269df7ef0a0db7f4e7037ab70
3
+ size 990450547
special_tokens_map.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<extra_id_0>",
4
+ "<extra_id_1>",
5
+ "<extra_id_2>",
6
+ "<extra_id_3>",
7
+ "<extra_id_4>",
8
+ "<extra_id_5>",
9
+ "<extra_id_6>",
10
+ "<extra_id_7>",
11
+ "<extra_id_8>",
12
+ "<extra_id_9>",
13
+ "<extra_id_10>",
14
+ "<extra_id_11>",
15
+ "<extra_id_12>",
16
+ "<extra_id_13>",
17
+ "<extra_id_14>",
18
+ "<extra_id_15>",
19
+ "<extra_id_16>",
20
+ "<extra_id_17>",
21
+ "<extra_id_18>",
22
+ "<extra_id_19>",
23
+ "<extra_id_20>",
24
+ "<extra_id_21>",
25
+ "<extra_id_22>",
26
+ "<extra_id_23>",
27
+ "<extra_id_24>",
28
+ "<extra_id_25>",
29
+ "<extra_id_26>",
30
+ "<extra_id_27>",
31
+ "<extra_id_28>",
32
+ "<extra_id_29>",
33
+ "<extra_id_30>",
34
+ "<extra_id_31>",
35
+ "<extra_id_32>",
36
+ "<extra_id_33>",
37
+ "<extra_id_34>",
38
+ "<extra_id_35>",
39
+ "<extra_id_36>",
40
+ "<extra_id_37>",
41
+ "<extra_id_38>",
42
+ "<extra_id_39>",
43
+ "<extra_id_40>",
44
+ "<extra_id_41>",
45
+ "<extra_id_42>",
46
+ "<extra_id_43>",
47
+ "<extra_id_44>",
48
+ "<extra_id_45>",
49
+ "<extra_id_46>",
50
+ "<extra_id_47>",
51
+ "<extra_id_48>",
52
+ "<extra_id_49>",
53
+ "<extra_id_50>",
54
+ "<extra_id_51>",
55
+ "<extra_id_52>",
56
+ "<extra_id_53>",
57
+ "<extra_id_54>",
58
+ "<extra_id_55>",
59
+ "<extra_id_56>",
60
+ "<extra_id_57>",
61
+ "<extra_id_58>",
62
+ "<extra_id_59>",
63
+ "<extra_id_60>",
64
+ "<extra_id_61>",
65
+ "<extra_id_62>",
66
+ "<extra_id_63>",
67
+ "<extra_id_64>",
68
+ "<extra_id_65>",
69
+ "<extra_id_66>",
70
+ "<extra_id_67>",
71
+ "<extra_id_68>",
72
+ "<extra_id_69>",
73
+ "<extra_id_70>",
74
+ "<extra_id_71>",
75
+ "<extra_id_72>",
76
+ "<extra_id_73>",
77
+ "<extra_id_74>",
78
+ "<extra_id_75>",
79
+ "<extra_id_76>",
80
+ "<extra_id_77>",
81
+ "<extra_id_78>",
82
+ "<extra_id_79>",
83
+ "<extra_id_80>",
84
+ "<extra_id_81>",
85
+ "<extra_id_82>",
86
+ "<extra_id_83>",
87
+ "<extra_id_84>",
88
+ "<extra_id_85>",
89
+ "<extra_id_86>",
90
+ "<extra_id_87>",
91
+ "<extra_id_88>",
92
+ "<extra_id_89>",
93
+ "<extra_id_90>",
94
+ "<extra_id_91>",
95
+ "<extra_id_92>",
96
+ "<extra_id_93>",
97
+ "<extra_id_94>",
98
+ "<extra_id_95>",
99
+ "<extra_id_96>",
100
+ "<extra_id_97>",
101
+ "<extra_id_98>",
102
+ "<extra_id_99>"
103
+ ],
104
+ "eos_token": "</s>",
105
+ "pad_token": "<pad>",
106
+ "unk_token": "<unk>"
107
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
3
+ size 791656
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<extra_id_0>",
4
+ "<extra_id_1>",
5
+ "<extra_id_2>",
6
+ "<extra_id_3>",
7
+ "<extra_id_4>",
8
+ "<extra_id_5>",
9
+ "<extra_id_6>",
10
+ "<extra_id_7>",
11
+ "<extra_id_8>",
12
+ "<extra_id_9>",
13
+ "<extra_id_10>",
14
+ "<extra_id_11>",
15
+ "<extra_id_12>",
16
+ "<extra_id_13>",
17
+ "<extra_id_14>",
18
+ "<extra_id_15>",
19
+ "<extra_id_16>",
20
+ "<extra_id_17>",
21
+ "<extra_id_18>",
22
+ "<extra_id_19>",
23
+ "<extra_id_20>",
24
+ "<extra_id_21>",
25
+ "<extra_id_22>",
26
+ "<extra_id_23>",
27
+ "<extra_id_24>",
28
+ "<extra_id_25>",
29
+ "<extra_id_26>",
30
+ "<extra_id_27>",
31
+ "<extra_id_28>",
32
+ "<extra_id_29>",
33
+ "<extra_id_30>",
34
+ "<extra_id_31>",
35
+ "<extra_id_32>",
36
+ "<extra_id_33>",
37
+ "<extra_id_34>",
38
+ "<extra_id_35>",
39
+ "<extra_id_36>",
40
+ "<extra_id_37>",
41
+ "<extra_id_38>",
42
+ "<extra_id_39>",
43
+ "<extra_id_40>",
44
+ "<extra_id_41>",
45
+ "<extra_id_42>",
46
+ "<extra_id_43>",
47
+ "<extra_id_44>",
48
+ "<extra_id_45>",
49
+ "<extra_id_46>",
50
+ "<extra_id_47>",
51
+ "<extra_id_48>",
52
+ "<extra_id_49>",
53
+ "<extra_id_50>",
54
+ "<extra_id_51>",
55
+ "<extra_id_52>",
56
+ "<extra_id_53>",
57
+ "<extra_id_54>",
58
+ "<extra_id_55>",
59
+ "<extra_id_56>",
60
+ "<extra_id_57>",
61
+ "<extra_id_58>",
62
+ "<extra_id_59>",
63
+ "<extra_id_60>",
64
+ "<extra_id_61>",
65
+ "<extra_id_62>",
66
+ "<extra_id_63>",
67
+ "<extra_id_64>",
68
+ "<extra_id_65>",
69
+ "<extra_id_66>",
70
+ "<extra_id_67>",
71
+ "<extra_id_68>",
72
+ "<extra_id_69>",
73
+ "<extra_id_70>",
74
+ "<extra_id_71>",
75
+ "<extra_id_72>",
76
+ "<extra_id_73>",
77
+ "<extra_id_74>",
78
+ "<extra_id_75>",
79
+ "<extra_id_76>",
80
+ "<extra_id_77>",
81
+ "<extra_id_78>",
82
+ "<extra_id_79>",
83
+ "<extra_id_80>",
84
+ "<extra_id_81>",
85
+ "<extra_id_82>",
86
+ "<extra_id_83>",
87
+ "<extra_id_84>",
88
+ "<extra_id_85>",
89
+ "<extra_id_86>",
90
+ "<extra_id_87>",
91
+ "<extra_id_88>",
92
+ "<extra_id_89>",
93
+ "<extra_id_90>",
94
+ "<extra_id_91>",
95
+ "<extra_id_92>",
96
+ "<extra_id_93>",
97
+ "<extra_id_94>",
98
+ "<extra_id_95>",
99
+ "<extra_id_96>",
100
+ "<extra_id_97>",
101
+ "<extra_id_98>",
102
+ "<extra_id_99>"
103
+ ],
104
+ "eos_token": "</s>",
105
+ "extra_ids": 100,
106
+ "name_or_path": "pszemraj/long-t5-tglobal-base-16384-booksum-V11",
107
+ "pad_token": "<pad>",
108
+ "special_tokens_map_file": null,
109
+ "tokenizer_class": "T5Tokenizer",
110
+ "unk_token": "<unk>"
111
+ }
trainer_state.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.1510859301227573,
5
+ "global_step": 25,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.01,
12
+ "learning_rate": 2.017781116592232e-05,
13
+ "loss": 2.0957,
14
+ "step": 2
15
+ },
16
+ {
17
+ "epoch": 0.02,
18
+ "learning_rate": 4.035562233184464e-05,
19
+ "loss": 1.8833,
20
+ "step": 4
21
+ },
22
+ {
23
+ "epoch": 0.04,
24
+ "learning_rate": 6.053343531675637e-05,
25
+ "loss": 1.835,
26
+ "step": 6
27
+ },
28
+ {
29
+ "epoch": 0.05,
30
+ "learning_rate": 8.071124466368929e-05,
31
+ "loss": 1.7892,
32
+ "step": 8
33
+ },
34
+ {
35
+ "epoch": 0.06,
36
+ "learning_rate": 0.0001008890540106222,
37
+ "loss": 1.8125,
38
+ "step": 10
39
+ },
40
+ {
41
+ "epoch": 0.07,
42
+ "learning_rate": 0.00012106687063351274,
43
+ "loss": 1.8234,
44
+ "step": 12
45
+ },
46
+ {
47
+ "epoch": 0.08,
48
+ "learning_rate": 0.00014124467270448804,
49
+ "loss": 1.8613,
50
+ "step": 14
51
+ },
52
+ {
53
+ "epoch": 0.1,
54
+ "learning_rate": 0.00016142248932737857,
55
+ "loss": 1.7927,
56
+ "step": 16
57
+ },
58
+ {
59
+ "epoch": 0.11,
60
+ "learning_rate": 0.0001816003059502691,
61
+ "loss": 1.7335,
62
+ "step": 18
63
+ },
64
+ {
65
+ "epoch": 0.12,
66
+ "learning_rate": 0.0002017781080212444,
67
+ "loss": 1.7266,
68
+ "step": 20
69
+ },
70
+ {
71
+ "epoch": 0.13,
72
+ "learning_rate": 0.00022195592464413494,
73
+ "loss": 1.6341,
74
+ "step": 22
75
+ },
76
+ {
77
+ "epoch": 0.15,
78
+ "learning_rate": 0.00024213374126702547,
79
+ "loss": 1.6133,
80
+ "step": 24
81
+ }
82
+ ],
83
+ "max_steps": 165,
84
+ "num_train_epochs": 1,
85
+ "total_flos": 3.50610259968e+16,
86
+ "trial_name": null,
87
+ "trial_params": null
88
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:537c87eb30149c857a5af3752e3861426d439ac5430bc7f8a69da8a4cfde379c
3
+ size 3695
training_metadata.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir":"/content/drive/MyDrive/Programming/hf-trainer/long-t5-tglobal-base-16384-booksum-V11-ft25-booksum",
3
+ "overwrite_output_dir":true,
4
+ "do_train":false,
5
+ "do_eval":false,
6
+ "do_predict":false,
7
+ "evaluation_strategy":"no",
8
+ "prediction_loss_only":false,
9
+ "per_device_train_batch_size":2,
10
+ "per_device_eval_batch_size":1,
11
+ "per_gpu_train_batch_size":"None",
12
+ "per_gpu_eval_batch_size":"None",
13
+ "gradient_accumulation_steps":32,
14
+ "eval_accumulation_steps":"None",
15
+ "eval_delay":0,
16
+ "learning_rate":0.001,
17
+ "weight_decay":0,
18
+ "adam_beta1":0.9,
19
+ "adam_beta2":0.999,
20
+ "adam_epsilon":1e-08,
21
+ "max_grad_norm":1,
22
+ "num_train_epochs":1,
23
+ "max_steps":-1,
24
+ "lr_scheduler_type":"constant_with_warmup",
25
+ "warmup_ratio":0.03,
26
+ "warmup_steps":0,
27
+ "log_level":-1,
28
+ "log_level_replica":-1,
29
+ "log_on_each_node":true,
30
+ "logging_dir":"/content/drive/MyDrive/Programming/hf-trainer/long-t5-tglobal-base-16384-booksum-V11-ft25-booksum/logs",
31
+ "logging_strategy":"steps",
32
+ "logging_first_step":false,
33
+ "logging_steps":2,
34
+ "logging_nan_inf_filter":true,
35
+ "save_strategy":"steps",
36
+ "save_steps":25,
37
+ "save_total_limit":1,
38
+ "save_on_each_node":false,
39
+ "no_cuda":false,
40
+ "use_mps_device":false,
41
+ "seed":42,
42
+ "data_seed":"None",
43
+ "jit_mode_eval":false,
44
+ "use_ipex":false,
45
+ "bf16":false,
46
+ "fp16":false,
47
+ "fp16_opt_level":"O1",
48
+ "half_precision_backend":"auto",
49
+ "bf16_full_eval":false,
50
+ "fp16_full_eval":false,
51
+ "tf32":"None",
52
+ "local_rank":0,
53
+ "xpu_backend":"None",
54
+ "tpu_num_cores":"None",
55
+ "tpu_metrics_debug":false,
56
+ "debug":"[]",
57
+ "dataloader_drop_last":false,
58
+ "eval_steps":"None",
59
+ "dataloader_num_workers":0,
60
+ "past_index":-1,
61
+ "run_name":"/content/drive/MyDrive/Programming/hf-trainer/long-t5-tglobal-base-16384-booksum-V11-ft25-booksum",
62
+ "disable_tqdm":false,
63
+ "remove_unused_columns":true,
64
+ "label_names":"None",
65
+ "load_best_model_at_end":false,
66
+ "metric_for_best_model":"None",
67
+ "greater_is_better":"None",
68
+ "ignore_data_skip":false,
69
+ "sharded_ddp":"[]",
70
+ "fsdp":"[]",
71
+ "fsdp_min_num_params":0,
72
+ "fsdp_transformer_layer_cls_to_wrap":"None",
73
+ "deepspeed":"None",
74
+ "label_smoothing_factor":0.0,
75
+ "optim":"adamw_hf",
76
+ "adafactor":false,
77
+ "group_by_length":false,
78
+ "length_column_name":"length",
79
+ "report_to":"['tensorboard']",
80
+ "ddp_find_unused_parameters":"None",
81
+ "ddp_bucket_cap_mb":"None",
82
+ "dataloader_pin_memory":true,
83
+ "skip_memory_metrics":false,
84
+ "use_legacy_prediction_loop":false,
85
+ "push_to_hub":true,
86
+ "resume_from_checkpoint":"None",
87
+ "hub_model_id":"long-t5-tglobal-base-16384-booksum-V11-ft25-booksum",
88
+ "hub_strategy":"end",
89
+ "hub_token":"<HUB_TOKEN>",
90
+ "hub_private_repo":true,
91
+ "gradient_checkpointing":true,
92
+ "include_inputs_for_metrics":false,
93
+ "fp16_backend":"auto",
94
+ "push_to_hub_model_id":"None",
95
+ "push_to_hub_organization":"None",
96
+ "push_to_hub_token":"<PUSH_TO_HUB_TOKEN>",
97
+ "_n_gpu":1,
98
+ "mp_parameters":"",
99
+ "auto_find_batch_size":false,
100
+ "full_determinism":false,
101
+ "torchdynamo":"None",
102
+ "ray_scope":"last",
103
+ "ddp_timeout":1800,
104
+ "sortish_sampler":false,
105
+ "predict_with_generate":false,
106
+ "generation_max_length":"None",
107
+ "generation_num_beams":"None",
108
+ "train_batch_size":2,
109
+ "eval_batch_size":1,
110
+ "configs_src":"long-t5-tglobal-base-16384-booksum-V11-ft25-booksum",
111
+ "use_adam8bit":false,
112
+ "use_adan_optim":false,
113
+ "optim_params":"(Adafactor (\nParameter Group 0\n beta1: None\n clip_threshold: 1.0\n decay_rate: -0.8\n eps: (1e-30, 0.001)\n lr: 0.0\n relative_step: True\n scale_parameter: True\n warmup_init: True\n weight_decay: 0.0\n), <transformers.optimization.AdafactorSchedule object at 0x7f6ab0187890>)"
114
+ }