Team Ai
Modelpublic

ppsingh/mpnet-multilabel-sector-classifier

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes9downloads
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. -->

mpnet-multilabel-sector-classifier

This model is a fine-tuned version of sentence-transformers/all-mpnet-base-v2 on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.2273
  • —Precision Micro: 0.8075
  • —Precision Weighted: 0.8110
  • —Precision Samples: 0.8365
  • —Recall Micro: 0.8897
  • —Recall Weighted: 0.8897
  • —Recall Samples: 0.8922
  • —F1-score: 0.8464

Model description

This model is trained for performing Multi Label Sector Classification.

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 6.9e-05
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 200
  • —num_epochs: 8
  • —weight_decay: 0.001
  • —gradientacumulationsteps: 1

Training results

Training LossEpochStepValidation LossPrecision MicroPrecision WeightedPrecision SamplesRecall MicroRecall WeightedRecall SamplesF1-score
0.44781.08970.22770.67310.71830.74600.88220.88220.89890.7871
0.22412.017940.18620.70880.74850.77540.89330.89330.91100.8108
0.16473.026910.20250.67850.70230.76340.91240.91240.92520.8077
0.12324.035880.18390.72740.73220.79760.90290.90290.91340.8286
0.08995.044850.18890.79190.80070.83500.89090.89090.90600.8483
0.06536.053820.20390.74780.75440.80980.89730.89730.91140.8346
0.04627.062790.21490.74470.75000.80600.89890.89890.91070.8323
0.03368.071760.21810.77330.77800.82210.89090.89090.90310.8400

Environmental Impact

Carbon emissions were estimated using the [codecarbon](https://github.com/mlco2/codecarbon). The carbon emission reported are incluidng the hyperparamter search performed on subset of training data.

  • —Hardware Type: 16GB T4
  • —Hours used: 3
  • —Cloud Provider: Google Colab
  • —Carbon Emitted : 0.276132

Framework versions

  • —Transformers 4.28.0
  • —Pytorch 2.0.1+cu118
  • —Datasets 2.12.0
  • —Tokenizers 0.13.3