File size: 7,787 Bytes
3759291
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
{
  "config": {
    "vocab_size": 50257,
    "d_model": 256,
    "n_layers": 6,
    "n_heads": 8,
    "max_len": 5120,
    "d_ff": 1024,
    "dropout": 0.1,
    "evolution_rate": 0.1,
    "memory_decay": 0.85
  },
  "sequence_lengths": [
    512,
    1024,
    2048,
    3072,
    4096,
    5120
  ],
  "models_tested": [
    "TrueEvolvingV2"
  ],
  "results": [
    {
      "model_name": "TRUE Evolving Transformer",
      "model_type": "TrueEvolvingV2",
      "sequence_length": 512,
      "total_params": 32814768,
      "final_loss": 0.0625791023671627,
      "accuracy": 0.9997260284423828,
      "perplexity": Infinity,
      "peak_memory_gb": 1.1740226745605469,
      "training_time": 603.8568437099457,
      "tokens_per_second": 423.94153956623217,
      "inference_time_ms": 0.0,
      "memory_per_token": 0.002293013036251068,
      "throughput_ratio": 1.0,
      "evolution_rate": 0.1,
      "memory_decay": 0.85,
      "epoch_losses": [
        7.960473175048828,
        5.3850260353088375,
        4.381582746505737,
        3.393376121520996,
        2.378435282707214,
        1.4193279552459717,
        0.6766725361347199,
        0.2607351279258728,
        0.10574247568845749,
        0.0625791023671627
      ],
      "epoch_accuracies": [
        0.6920547978579998,
        0.9978082275390625,
        0.9985518646240235,
        0.9989041137695313,
        0.9992172241210937,
        0.9994520568847656,
        0.9996477508544922,
        0.9996868896484375,
        0.9997260284423828,
        0.9997260284423828
      ],
      "uses_position_embeddings": false
    },
    {
      "model_name": "TRUE Evolving Transformer",
      "model_type": "TrueEvolvingV2",
      "sequence_length": 1024,
      "total_params": 32814768,
      "final_loss": 0.05675256386399269,
      "accuracy": 0.9997849464416504,
      "perplexity": Infinity,
      "peak_memory_gb": 2.174757957458496,
      "training_time": 1205.6601700782776,
      "tokens_per_second": 424.6636097854658,
      "inference_time_ms": 0.0,
      "memory_per_token": 0.0021237870678305626,
      "throughput_ratio": 1.0,
      "evolution_rate": 0.1,
      "memory_decay": 0.85,
      "epoch_losses": [
        7.7546029472351075,
        5.177373161315918,
        4.123252258300782,
        3.0850088787078858,
        2.0497497749328613,
        1.1314725589752197,
        0.4969519209861755,
        0.18762388169765473,
        0.08753485530614853,
        0.05675256386399269
      ],
      "epoch_accuracies": [
        0.6638905222713948,
        0.9982013702392578,
        0.9992375373840332,
        0.9994330406188965,
        0.9996089935302734,
        0.9996089935302734,
        0.9996480941772461,
        0.9997262954711914,
        0.9997458457946777,
        0.9997849464416504
      ],
      "uses_position_embeddings": false
    },
    {
      "model_name": "TRUE Evolving Transformer",
      "model_type": "TrueEvolvingV2",
      "sequence_length": 2048,
      "total_params": 32814768,
      "final_loss": 0.06031969398260117,
      "accuracy": 0.9998632144927978,
      "perplexity": Infinity,
      "peak_memory_gb": 4.822490692138672,
      "training_time": 2416.882863521576,
      "tokens_per_second": 423.6862346352842,
      "inference_time_ms": 0.0,
      "memory_per_token": 0.002354731783270836,
      "throughput_ratio": 1.0,
      "evolution_rate": 0.1,
      "memory_decay": 0.85,
      "epoch_losses": [
        7.861018714904785,
        5.317575130462647,
        4.267076072692871,
        3.2475028896331786,
        2.21276376247406,
        1.2634674096107483,
        0.5726237607002258,
        0.21726105988025665,
        0.09596835613250733,
        0.06031969398260117
      ],
      "epoch_accuracies": [
        0.6497215498611331,
        0.9987982416152954,
        0.9996091842651367,
        0.999697117805481,
        0.9996873474121094,
        0.9996873474121094,
        0.9997166585922241,
        0.9998045921325683,
        0.9998534440994262,
        0.9998632144927978
      ],
      "uses_position_embeddings": false
    },
    {
      "model_name": "TRUE Evolving Transformer",
      "model_type": "TrueEvolvingV2",
      "sequence_length": 3072,
      "total_params": 32814768,
      "final_loss": 0.05636185869574547,
      "accuracy": 0.9999283576011657,
      "perplexity": Infinity,
      "peak_memory_gb": 8.32289981842041,
      "training_time": 3656.95658659935,
      "tokens_per_second": 420.02139309735304,
      "inference_time_ms": 0.0,
      "memory_per_token": 0.0027092772846420607,
      "throughput_ratio": 1.0,
      "evolution_rate": 0.1,
      "memory_decay": 0.85,
      "epoch_losses": [
        7.82059606552124,
        5.196153469085694,
        4.158706684112548,
        3.1704267406463624,
        2.1674926137924193,
        1.2426843786239623,
        0.5619384586811066,
        0.20882928609848023,
        0.0902446374297142,
        0.05636185869574547
      ],
      "epoch_accuracies": [
        0.6224682515859604,
        0.9960599136352539,
        0.9996027326583863,
        0.9996678519248963,
        0.9997069239616394,
        0.9997590255737304,
        0.9998306655883789,
        0.9998632264137268,
        0.9998957896232605,
        0.9999283576011657
      ],
      "uses_position_embeddings": false
    },
    {
      "model_name": "TRUE Evolving Transformer",
      "model_type": "TrueEvolvingV2",
      "sequence_length": 4096,
      "total_params": 32814768,
      "final_loss": 0.05972935035824776,
      "accuracy": 0.9999364972114563,
      "perplexity": Infinity,
      "peak_memory_gb": 12.680472373962402,
      "training_time": 4949.331746578217,
      "tokens_per_second": 413.7932361102912,
      "inference_time_ms": 0.0,
      "memory_per_token": 0.0030958184506744146,
      "throughput_ratio": 1.0,
      "evolution_rate": 0.1,
      "memory_decay": 0.85,
      "epoch_losses": [
        8.002217292785645,
        5.341106319427491,
        4.2782410144805905,
        3.2819403266906737,
        2.2687758350372316,
        1.325844838619232,
        0.616220315694809,
        0.2339270979166031,
        0.0981944552063942,
        0.05972935035824776
      ],
      "epoch_accuracies": [
        0.606739922836423,
        0.9988522434234619,
        0.9996776413917542,
        0.9997557854652405,
        0.999794852733612,
        0.9998046207427979,
        0.999838809967041,
        0.99986811876297,
        0.999926724433899,
        0.9999364972114563
      ],
      "uses_position_embeddings": false
    },
    {
      "model_name": "TRUE Evolving Transformer",
      "model_type": "TrueEvolvingV2",
      "sequence_length": 5120,
      "total_params": 32814768,
      "final_loss": 0.060042282789945604,
      "accuracy": 0.9999648332595825,
      "perplexity": Infinity,
      "peak_memory_gb": 17.89297103881836,
      "training_time": 6211.054224491119,
      "tokens_per_second": 412.1683545935786,
      "inference_time_ms": 0.0,
      "memory_per_token": 0.003494720906019211,
      "throughput_ratio": 1.0,
      "evolution_rate": 0.1,
      "memory_decay": 0.85,
      "epoch_losses": [
        8.038291702270508,
        5.409390144348144,
        4.3429282283782955,
        3.330506820678711,
        2.297604422569275,
        1.336431963443756,
        0.6169953203201294,
        0.23347721755504608,
        0.09844404190778733,
        0.060042282789945604
      ],
      "epoch_accuracies": [
        0.6136276634782553,
        0.9904942369461059,
        0.99972651720047,
        0.9998046588897705,
        0.9998241949081421,
        0.9998671627044677,
        0.9998593497276306,
        0.9999218535423279,
        0.9999374818801879,
        0.9999648332595825
      ],
      "uses_position_embeddings": false
    }
  ]
}