CoolFace
Modelpublic

pszemraj/mega-ar-small-4096-wikitext-103-raw-v1

sourceHugging Faceapache-2.0updated 9mo agoView on Hugging Face
1likes34downloads
Model Card

mega-ar-small-4096: MWE

mega-ar on wikitext-103-raw-v1 (document level)

This model is a fine-tuned version of pszemraj/random-mega-ar-small-4096 on the EleutherAI/wikitext_document_level dataset (wikitext-103-raw-v1). This model has ~ 65M params.

It achieves the following results on the evaluation set:

  • —Loss: 4.0338
  • —Accuracy: 0.3243

Training procedure

This was tuned with bf16, while the authors recommend tuning with fp32. Will try fp32 later.

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 0.0005
  • —trainbatchsize: 4
  • —evalbatchsize: 1
  • —seed: 80085
  • —gradientaccumulationsteps: 32
  • —totaltrainbatch_size: 128
  • —optimizer: Adam with betas=(0.9,0.98) and epsilon=1e-07
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.05
  • —num_epochs: 3.0

Training results

Training LossEpochStepValidation LossAccuracy
7.36620.111007.27820.0935
6.30640.222006.20660.1634
5.82030.333005.72990.1931
5.550.444005.41730.2117
5.31940.555005.19370.2278
5.16780.666005.02060.2406
5.03750.777004.88910.2508
4.91940.888004.75920.2605
4.82720.999004.66530.2681
4.75711.110004.58170.2754
4.63451.2111004.50660.2820
4.62181.3212004.44720.2867
4.55851.4313004.38270.2923
4.50471.5414004.33280.2963
4.47261.6515004.28600.3002
4.40941.7616004.24520.3038
4.37051.8717004.21680.3062
4.37391.9818004.18520.3095
4.28362.0919004.15990.3112
4.3022.220004.13070.3149
4.28472.3121004.11130.3165
4.23482.4222004.09250.3184
4.28372.5323004.07430.3207
4.20582.6424004.06120.3217
4.222.7525004.04940.3224
4.18272.8626004.03970.3237
4.19672.9727004.03380.3243

Framework versions

  • —Transformers 4.32.1
  • —Pytorch 2.1.0.dev20230727+cu118
  • —Datasets 2.13.1
  • —Tokenizers 0.13.3