Edit model card

roberta-large-mnli

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

  • Loss: 0.0890
  • Precision: 0.9362
  • Recall: 0.9536
  • F1: 0.9448
  • Accuracy: 0.9805

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 adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • num_epochs: 10

Training results

Training Loss Epoch Step Validation Loss Precision Recall F1 Accuracy
0.4679 1.0 612 0.1006 0.9119 0.9484 0.9298 0.9723
0.1176 2.0 1224 0.0789 0.9261 0.9582 0.9419 0.9789
0.0815 3.0 1836 0.0746 0.9398 0.9617 0.9506 0.9822
0.0662 4.0 2448 0.0762 0.9408 0.9606 0.9506 0.9817
0.0486 5.0 3060 0.0782 0.9364 0.9598 0.9479 0.9804
0.0436 6.0 3672 0.0831 0.9307 0.9545 0.9424 0.9795
0.0374 7.0 4284 0.0812 0.9376 0.9606 0.9490 0.9813
0.0342 8.0 4896 0.0864 0.9368 0.9566 0.9466 0.9808
0.0281 9.0 5508 0.0862 0.9408 0.9572 0.9489 0.9814
0.026 10.0 6120 0.0890 0.9362 0.9536 0.9448 0.9805

Framework versions

  • Transformers 4.46.2
  • Pytorch 2.5.0+cu121
  • Datasets 3.1.0
  • Tokenizers 0.20.3
Downloads last month
6
Safetensors
Model size
277M params
Tensor type
F32
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for paanfipo/roberta-large-mnli

Finetuned
(2557)
this model

Evaluation results