Edit model card

roberta-base-squad2-finetuned-DouRC_squad

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

  • Loss: 1.3122
  • Exact Match: 0.665
  • F1: 0.5188

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: 56
  • eval_batch_size: 56
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 5
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss Exact Match F1
1.0639 1.0 536 1.1383 0.69 0.5419
0.8267 2.0 1072 1.1227 0.685 0.5475
0.683 3.0 1608 1.1890 0.685 0.5436
0.5774 4.0 2144 1.2262 0.695 0.5595
0.4885 5.0 2680 1.3122 0.665 0.5188

Framework versions

  • Transformers 4.41.2
  • Pytorch 2.1.2
  • Datasets 2.19.2
  • Tokenizers 0.19.1
Downloads last month
9
Safetensors
Model size
124M params
Tensor type
F32
Inference API
This model can be loaded on Inference API (serverless).

Finetuned from

Space using suthanhcong/roberta-base-squad2-finetuned-DouRC_squad 1