ahmed792002's picture
ahmed792002/Finetuning_XLNET_Paraphrase_Classification
fef23b4 verified
|
raw
history blame
1.6 kB
metadata
library_name: transformers
license: mit
base_model: xlnet-base-cased
tags:
  - generated_from_trainer
metrics:
  - accuracy
  - f1
model-index:
  - name: Finetuning_XLNET_Paraphrase_Classification
    results: []

Finetuning_XLNET_Paraphrase_Classification

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

  • Loss: 0.5316
  • Accuracy: 0.7794
  • F1: 0.7422

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: 8
  • eval_batch_size: 8
  • 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: 2

Training results

Training Loss Epoch Step Validation Loss Accuracy F1
0.647 1.0 619 0.4576 0.7696 0.7447
0.4575 2.0 1238 0.5316 0.7794 0.7422

Framework versions

  • Transformers 4.46.2
  • Pytorch 2.5.1+cu121
  • Datasets 3.1.0
  • Tokenizers 0.20.3