wikimedia/wikipedia
Viewer • Updated • 61.6M • 260k • 1.23k
Distilled with Distily library using teacher model gpt2 on dataset wikimedia/wikipedia.
GPT2LMHeadModel| Metric | attn_layer_mapper=all, attn_loss_fn=logsum, attn_projector=miles | attn_layer_mapper=all, attn_loss_fn=raw_mse, attn_projector=miles | teacher |
|---|---|---|---|
| ai2_arc (acc) | 0.228 | 0.256 | 0.304 |
| ai2_arc (acc_norm) | 0.258 | 0.267 | 0.309 |
| arc_challenge (acc) | 0.186 | 0.177 | 0.184 |
| arc_challenge (acc_norm) | 0.227 | 0.202 | 0.214 |
| arc_easy (acc) | 0.27 | 0.335 | 0.424 |
| arc_easy (acc_norm) | 0.288 | 0.332 | 0.405 |
| boolq (acc) | 0.375 | 0.377 | 0.541 |
| cola (mcc) | 0.0 | 0.0 | 0.009 |
| glue (acc) | 0.454 | 0.444 | 0.41 |
| glue (f1) | 0.0 | 0.279 | 0.526 |
| glue (mcc) | 0.0 | 0.0 | 0.009 |
| hellaswag (acc) | 0.282 | 0.302 | 0.337 |
| hellaswag (acc_norm) | 0.275 | 0.308 | 0.384 |
| mnli (acc) | 0.326 | 0.331 | 0.323 |
| mnli_mismatch (acc) | 0.295 | 0.367 | 0.344 |
| mrpc (acc) | 0.316 | 0.336 | 0.515 |
| mrpc (f1) | 0.0 | 0.075 | 0.631 |
| qnli (acc) | 0.527 | 0.519 | 0.472 |
| qqp (acc) | 0.673 | 0.515 | 0.34 |
| qqp (f1) | 0.0 | 0.363 | 0.483 |
| rte (acc) | 0.52 | 0.57 | 0.516 |
| sst2 (acc) | 0.492 | 0.498 | 0.511 |
| wikitext (bits_per_byte) | 1.888 | 1.273 | 0.98 |
| wikitext (byte_perplexity) | 3.701 | 2.416 | 1.973 |
| wikitext (word_perplexity) | 1094.0 | 111.9 | 37.82 |
| wnli (acc) | 0.437 | 0.521 | 0.451 |
GPT2LMHeadModel -> GPT2LMHeadModel
Trained on 145,744,973 tokens from the wikimedia/wikipedia dataset.
247,50020231101.entrainDistillationObjective(logits_loss_component=LossComponent(label=logits, weight=1, loss_fn=kl), attn_loss_component=LossComponent(label=attn, weight=25.0, loss_fn=cos, layer_mapper=layer-2, projector=miles))
The following hyperparameters were used during training:
0.00014842Adam with betas=(0.9,0.999) and epsilon=1e-08cosine_with_min_lr0.51.0DistillationObjective(logits_loss_component=LossComponent(label=logits, weight=1, loss_fn=kl), attn_loss_component=LossComponent(label=attn, weight=25.0, loss_fn=cos, layer_mapper=layer-2, projector=miles))True<torch.optim.lr_scheduler.LambdaLR object at 0x7fae8845cd00>NoneNoneNoneNone[('lm_head', False)]TrueNonegpt2FalseFalsewikimedia/wikipedia20231101.entraintext2500000.0110.01.00.50TrueBase model
openai-community/gpt2