CoolFace
Modelpublic

annabellehuether/topic-legal-bert-base-uncased-supreme-court-32batch_5epoch_2e5lr_01wd

sourceHugging Facecc-by-sa-4.0updated 3y agoView on Hugging Face
0likes17downloads
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. -->

topic-legal-bert-base-uncased-supreme-court-32batch5epoch2e5lr_01wd

This model is a fine-tuned version of nlpaueb/legal-bert-base-uncased on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.8083
  • —Accuracy: 0.7799

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: 32
  • —evalbatchsize: 32
  • —seed: 7
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 5

Training results

Training LossEpochStepValidation LossAccuracy
1.1461.06600.79590.7525
0.69652.013200.74910.7688
0.57243.019800.73840.7807
0.33954.026400.77310.7847
0.28245.033000.80830.7799

Framework versions

  • —Transformers 4.35.1
  • —Pytorch 2.1.0+cu121
  • —Datasets 2.14.6
  • —Tokenizers 0.14.1