mental-roberta

This model is a fine-tuned version of mental/mental-roberta-base on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.8519
  • Accuracy: 0.8522
  • Precision: 0.8552
  • Recall: 0.8523
  • F1 Macro: 0.8534
  • F1 Weighted: 0.8516

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
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_ratio: 0.1
  • num_epochs: 5
  • mixed_precision_training: Native AMP
  • label_smoothing_factor: 0.1

Training results

Training Loss Epoch Step Validation Loss Accuracy Precision Recall F1 Macro F1 Weighted
1.0295 0.1964 500 0.9598 0.7426 0.6054 0.5665 0.5515 0.7214
0.8447 0.3928 1000 0.8180 0.8112 0.7952 0.7593 0.7726 0.8106
0.8077 0.5892 1500 0.7892 0.8218 0.8076 0.7857 0.7952 0.8204
0.8142 0.7855 2000 0.7705 0.8260 0.8063 0.8128 0.8090 0.8263
0.781 0.9819 2500 0.7734 0.8247 0.7989 0.8303 0.8112 0.8260
0.7092 1.1783 3000 0.7783 0.8369 0.8323 0.8182 0.8205 0.8371
0.7342 1.3747 3500 0.7530 0.8442 0.8318 0.8387 0.8350 0.8439
0.7171 1.5711 4000 0.7719 0.8421 0.8375 0.8252 0.8307 0.8417
0.704 1.7675 4500 0.7557 0.8451 0.8451 0.8338 0.8392 0.8460
0.6896 1.9639 5000 0.7455 0.8459 0.8324 0.8464 0.8389 0.8468
0.6679 2.1603 5500 0.7553 0.8488 0.8343 0.8448 0.8383 0.8488
0.6409 2.3566 6000 0.7679 0.8501 0.8413 0.8484 0.8447 0.8501
0.6287 2.5530 6500 0.7660 0.8480 0.8554 0.8382 0.8445 0.8486
0.6394 2.7494 7000 0.7687 0.8499 0.8522 0.8481 0.8497 0.8506
0.6193 2.9458 7500 0.7754 0.8510 0.8522 0.8528 0.8516 0.8511
0.5773 3.1422 8000 0.8297 0.8477 0.8610 0.8361 0.8477 0.8471
0.5873 3.3386 8500 0.8236 0.8512 0.8561 0.8509 0.8522 0.8511
0.5823 3.5350 9000 0.8304 0.8505 0.8493 0.8551 0.8519 0.8512
0.5743 3.7313 9500 0.8121 0.8511 0.8433 0.8599 0.8511 0.8513
0.5728 3.9277 10000 0.8083 0.8509 0.8480 0.8545 0.8502 0.8507
0.547 4.1241 10500 0.8519 0.8522 0.8552 0.8523 0.8534 0.8516
0.5619 4.3205 11000 0.8549 0.8490 0.8494 0.8575 0.8530 0.8494
0.5654 4.5169 11500 0.8490 0.8499 0.8483 0.8572 0.8526 0.8500
0.5492 4.7133 12000 0.8473 0.8484 0.8489 0.8540 0.8512 0.8488
0.5724 4.9097 12500 0.8563 0.8488 0.8495 0.8556 0.8522 0.8490

Framework versions

  • Transformers 4.46.1
  • Pytorch 2.3.0+cu121
  • Datasets 4.4.1
  • Tokenizers 0.20.3
Downloads last month
28
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for NaveenTNS/mental-roberta

Finetuned
(18)
this model