agnewsDistilt / README.md
noviciusss's picture
Update README.md
bb6e40f verified
metadata
library_name: transformers
license: apache-2.0
base_model: distilbert/distilbert-base-uncased
tags:
  - generated_from_trainer
metrics:
  - accuracy
model-index:
  - name: agnewsDistilt
    results: []

agnewsDistilt

This model is a fine-tuned version of distilbert/distilbert-base-uncased on Ag_news Dataset. It achieves the following results on the evaluation set:

  • Loss: 0.1813
  • Accuracy: 0.9401
  • F1 Macro: 0.9401

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: 32
  • seed: 42
  • optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • num_epochs: 3
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss Accuracy F1 Macro
0.2031 1.0 7500 0.1813 0.9401 0.9401
0.1349 2.0 15000 0.1828 0.9476 0.9477
0.0908 3.0 22500 0.2132 0.9471 0.9472

Framework versions

  • Transformers 4.56.1
  • Pytorch 2.8.0+cu126
  • Datasets 4.0.0
  • Tokenizers 0.22.0