CoolFace
Modelpublic

distily/distily_TinyStories-33M

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes85downloads
Model Card

distily_TinyStories-33M

This student model is distilled from the teacher model roneneldan/TinyStories-33M using the dataset (unspecified).

The Distily library was used for this distillation.

It achieves the following results on the evaluation set:

  • —eval_enwikippl: 5885.9341
  • —eval_frwikippl: 24294.9414
  • —eval_zhwikippl: 264331.3438
  • —eval_loss: 0.3987
  • —eval_runtime: 51.5838
  • —evalsamplesper_second: 48.465
  • —evalstepsper_second: 6.068

<!-- 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

Training and evaluation data

More information needed -->

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —distillationobjective: DistillationObjective(logitslosscomponent=LossComponent(label=logits, weight=1, lossfn=kl, layermapper=None, projector=None), hslosscomponent=LossComponent(label=hs, weight=0, lossfn=None, layermapper=None, projector=None), attnlosscomponent=LossComponent(label=attn, weight=0, lossfn=None, layer_mapper=None, projector=None))
  • —train_embeddings: True
  • —learning_rate: 4e-05
  • —trainbatchsize: 8
  • —evalbatchsize: 8
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: constant
  • —num_epochs: 1.0

Resource Usage

Peak GPU Memory: 8.1416 GB

Eval-Phase Metrics

stepepochenwikipplfrwikippllossruntimesamples_per_secondsteps_per_secondzhwikippl
teacher eval20633.1680131577.28127615.4468
0055266.37557180.43756.284326.423794.61211.84556806.5430
10000.032311414.338987921.11720.714226.340594.91111.883611931.1875
20000.06468814.868253295.23050.628751.041248.986.132507315.5625
30000.09708020.604041652.33200.566229.418784.9810.639268242.625
40000.12937153.709033178.59770.519740.047862.4257.816315367.9062
50000.16166865.261731042.18750.483336.65568.2038.539372857.25
60000.19396828.578130924.23240.453947.181152.9876.634379690.5
70000.22636329.185528375.39840.433151.602748.4476.066325812.875
80000.25866229.711928592.27730.412351.618448.4326.064318159.5
90000.29095885.934124294.94140.398751.583848.4656.068264331.3438
100000.32325634.589824401.38280.385651.623348.4286.063248118.4062
110000.35555849.934626113.85550.376151.594948.4546.066255583.9844
120000.38795588.832523138.04300.366651.538448.5086.073255106.6875
130000.42025498.435523102.16990.361851.677848.3776.057244239.3125
140000.45255495.871624775.83980.353051.453748.5876.083271776.25
150000.48485449.130923173.95120.349051.634748.4176.062235716.0625
160000.51725464.805725348.31840.343048.354651.7016.473305992.3125
170000.54955289.861823652.66020.342645.467354.9856.884290930.0625
180000.58185362.654823393.93750.337842.868158.3187.301237739.0938
190000.61415970.635732165.10160.333238.475764.9768.135492760.0312
200000.64655680.721730225.79880.332231.994378.1399.783391742.4062
210000.67885494.168527750.19140.328849.719150.2836.295288762.6875
220000.71115693.081524919.48830.327249.624450.3786.307263274.4375
230000.74345303.434625441.43750.323050.613749.3946.184261801.9844
240000.77575458.446326499.65430.321751.422748.6176.087229626.5781
250000.80815728.116228263.58590.320351.671748.3826.057258605.3594
260000.84045226.168923493.11520.318651.481148.5626.08180660.6719
270000.87275192.189022039.32620.316551.637648.4146.061194013.875
280000.90505418.747622450.23440.316951.653948.3996.06182503.5312
290000.93745170.861323860.36910.314151.494448.5496.078197516.9531
300000.96975569.337925081.66410.313051.333748.7016.097160202.3281
309381.05306.728025078.1250.313051.526648.5196.075179410.5625

Framework versions

  • —Distily 0.2.0
  • —Transformers 4.44.0
  • —Pytorch 2.3.0
  • —Datasets 2.21.0