CoolFace
Modelpublic

muhtasham/bert-small-finetuned-legal-definitions-longer

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes16downloads
Model Card

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

bertuncasedL-4H-512A-8-finetuned-legal-definitions-longer

This model is a fine-tuned version of google/bert_uncased_L-4_H-512_A-8 on the legal-definitions dataset. It achieves the following results on the evaluation set:

  • —Loss: 1.3701

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:

  • —learning_rate: 2e-05
  • —trainbatchsize: 64
  • —evalbatchsize: 8
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 10

Training results

Training LossEpochStepValidation Loss
1.48671.08011.4951
1.4292.016021.4872
1.40553.024031.4147
1.37034.032041.4231
1.34145.040051.4094
1.32546.048061.3913
1.30647.056071.3827
1.29678.064081.3905
1.29619.072091.3719
1.282410.080101.3701

Framework versions

  • —Transformers 4.21.1
  • —Pytorch 1.12.1+cu113
  • —Datasets 2.4.0
  • —Tokenizers 0.12.1