CoolFace
Modelpublic

versae/nb-sbert-base-edu-scorer-lr3e4-bs32

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

nb-sbert-base-edu-scorer-lr3e4-bs32

This model is a fine-tuned version of NbAiLab/nb-sbert-base on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 1.1391
  • Precision: 0.4950
  • Recall: 0.32
  • F1 Macro: 0.3154
  • Accuracy: 0.3455

Model description

More information needed

Intended uses & limitations

More information needed

Test results

Binary classification accuracy (threshold at label 3) ≈ 79.27%

Test Report:

              precision    recall  f1-score   support

           0       0.78      0.49      0.60       100
           1       0.32      0.38      0.35       100
           2       0.29      0.51      0.37       100
           3       0.24      0.34      0.28       100
           4       0.35      0.16      0.22       100
           5       1.00      0.04      0.08        50

    accuracy                           0.35       550
   macro avg       0.49      0.32      0.32       550
weighted avg       0.45      0.35      0.34       550

Confusion Matrix:

[[49 43  5  3  0  0]
 [12 38 42  7  1  0]
 [ 2 30 51 17  0  0]
 [ 0  8 47 34 11  0]
 [ 0  1 24 59 16  0]
 [ 0  0  6 24 18  2]]

Test metrics

  epoch                   =       20.0
  eval_accuracy           =     0.3455
  eval_f1_macro           =     0.3154
  eval_loss               =     1.1391
  eval_precision          =      0.495
  eval_recall             =       0.32
  eval_runtime            = 0:00:05.66
  eval_samples_per_second =     97.116
  eval_steps_per_second   =      3.178

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.0003
  • trainbatchsize: 32
  • evalbatchsize: 32
  • seed: 42
  • optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • lrschedulertype: linear
  • num_epochs: 20

Training results

Training LossEpochStepValidation LossPrecisionRecallF1 MacroAccuracy
No log003.29950.05870.16670.08690.3524
0.76480.336810000.73040.40280.33580.33630.4918
0.75370.673620000.70050.40790.34830.34810.493
0.71741.010430000.67920.41570.36070.36250.5032
0.67131.347340000.67720.42120.36060.36300.484
0.67031.684150000.65700.42030.35850.36300.514
0.69362.020960000.64640.41160.35630.36030.5134
0.69422.357770000.65970.40050.36060.36270.5014
0.6782.694580000.65170.41920.36520.37050.5244
0.63973.031390000.63970.43710.36690.37000.5126
0.65283.3681100000.67250.41780.36990.37040.4856
0.62213.7050110000.63700.42080.36720.36980.5108
0.59524.0418120000.64640.42010.36290.36840.5248
0.6144.3786130000.63360.42470.36190.36670.5248
0.59784.7154140000.63840.42050.38790.39030.5146
0.59925.0522150000.63780.42380.38480.38860.516
0.615.3890160000.62520.43020.37210.37640.5262
0.59365.7258170000.64890.47540.40150.40920.517
0.57156.0626180000.63270.42160.37690.38160.5168
0.56246.3995190000.64250.43050.38120.38780.537
0.59796.7363200000.63880.42430.37270.37590.5246
0.52847.0731210000.62720.42340.37700.38140.5234
0.59267.4099220000.63290.49780.39480.41080.531
0.55097.7467230000.63610.50740.40010.41450.5198
0.54778.0835240000.62810.43440.37760.38480.5284
0.54318.4203250000.65860.43330.35680.35920.533
0.5528.7572260000.63110.50800.39370.40910.5242
0.50679.0940270000.63170.41880.37940.38290.5194
0.53519.4308280000.63390.41920.37820.38330.5254
0.54299.7676290000.62770.41920.38110.38390.5226
0.517110.1044300000.63140.50870.38890.40050.523
0.50410.4412310000.66080.42050.38070.38130.4998
0.531510.7780320000.63890.42100.37670.38070.5198
0.504211.1149330000.63750.41970.37950.38380.5258
0.524111.4517340000.64230.40850.37830.37980.5168
0.527711.7885350000.64280.41300.37950.38290.5282
0.50512.1253360000.65430.41820.39030.39050.5148
0.492312.4621370000.64530.41810.37910.38320.5192
0.468912.7989380000.66120.43170.40200.40420.5092
0.465813.1357390000.64250.41310.37420.37810.522
0.484813.4725400000.65490.47090.38440.39340.5064
0.488913.8094410000.64590.44640.38930.39690.5198
0.458614.1462420000.65150.45290.39270.40030.5218
0.464414.4830430000.64290.47690.38250.39440.5258
0.466614.8198440000.65650.46190.39630.40780.5182
0.452415.1566450000.64870.45580.38820.39770.5222
0.443115.4934460000.64750.47390.38510.39670.5266
0.459115.8302470000.65210.45340.38620.39590.5244
0.450416.1671480000.65430.47030.38170.39300.5234
0.440216.5039490000.66010.43930.39750.40420.5132
0.439516.8407500000.65560.46950.38490.39620.5238
0.428517.1775510000.65770.46720.38520.39460.5178
0.418117.5143520000.65400.44440.38540.39440.5226
0.440717.8511530000.65440.44220.38680.39560.5262
0.395718.1879540000.65940.42000.38680.39150.5182
0.405118.5248550000.65720.43540.38610.39350.5192
0.42418.8616560000.65490.44760.38470.39410.5256
0.427119.1984570000.65660.44710.38470.39360.5172
0.422519.5352580000.65570.44730.38980.39840.5206
0.431219.8720590000.65560.44680.38840.39730.5228

Framework versions

  • Transformers 4.53.2
  • Pytorch 2.7.1+cu126
  • Datasets 4.0.0
  • Tokenizers 0.21.2