CoolFace
Modelpublic

strickvl/nlp-redaction-classifier

sourceHugging Facemitupdated 4y agoView on Hugging Face
2likes34downloads
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. -->

Redaction Classifier: NLP Edition

This model is a fine-tuned version of microsoft/deberta-v3-small on a custom dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0893
  • Pearson: 0.8273

Model description

Read more about the process and the code used to train this model on my blog here.

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: 0.0001
  • trainbatchsize: 4
  • evalbatchsize: 8
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: cosine
  • lrschedulerwarmup_ratio: 0.1
  • num_epochs: 6
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossPearson
0.20541.07290.13820.6771
0.13862.014580.10990.7721
0.07823.021870.09500.8083
0.0544.029160.09450.8185
0.03195.036450.08800.8251
0.02546.043740.08930.8273

Framework versions

  • Transformers 4.19.2
  • Pytorch 1.11.0a0+17540c5
  • Datasets 2.2.2
  • Tokenizers 0.12.1