Edit model card

petro-twitter-assistant

This model is a fine-tuned version of flax-community/gpt-2-spanish on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 3.0562

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: 0.0001
  • train_batch_size: 20
  • eval_batch_size: 20
  • seed: 42
  • gradient_accumulation_steps: 2
  • total_train_batch_size: 40
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: cosine
  • lr_scheduler_warmup_steps: 100
  • num_epochs: 10
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss
3.1263 2.3 1000 3.0679
2.8236 4.6 2000 3.0305
2.6661 6.9 3000 3.0411
2.5905 9.2 4000 3.0562

Framework versions

  • Transformers 4.20.1
  • Pytorch 1.12.0
  • Datasets 2.1.0
  • Tokenizers 0.12.1
Downloads last month
11
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.

Dataset used to train jhonparra18/petro-twitter-assistant