Downloads · 30 days
9
17% of all-time downloads
distily/distily_test_attn_linear
distily_test_attn_linear is a machine learning model from distily. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for Distily. The card lists the license as mit.
Distilled with Distily library using teacher model gpt2 on dataset wikimedia/wikipedia.
Downloads · 30 days
9
17% of all-time downloads
All-time downloads
52
Public
Parameters
124M
29.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.e3f806ea38c9296 MB · 54%
From the Hugging Face model README
Distilled with Distily library using teacher model gpt2 on dataset wikimedia/wikipedia.
<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. # Model description More information needed # Intended uses & limitations More information needed -->GPT2LMHeadModel| Metric | | | :--- |
GPT2LMHeadModel -> GPT2LMHeadModel
</details>
<br/>
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=linear))
The following hyperparameters were used during training:
<details> <summary>Expand</summary>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=linear))True<torch.optim.lr_scheduler.LambdaLR object at 0x7fa4f426c3d0>NoneNoneNoneNone[('lm_head', False)]TrueNonegpt2FalseFalsewikimedia/wikipedia20231101.entraintext2500000.0110.01.00.50True