Edit model card

NLP_A2

Homework model for NLP class (A2). It achieves the following results on the evaluation set:

  • Loss: 0.3488
  • Accuracy: 0.8840

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: 6e-06
  • train_batch_size: 8
  • eval_batch_size: 8
  • seed: 42
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 32
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_steps: 50
  • num_epochs: 2

Training results

Training Loss Epoch Step Validation Loss Accuracy
No log 0.9988 419 0.3791 0.8706
0.1279 1.9976 838 0.3488 0.8840

Framework versions

  • Transformers 4.41.2
  • Pytorch 2.1.2
  • Datasets 2.18.0
  • Tokenizers 0.19.1
Downloads last month
3
Safetensors
Model size
435M params
Tensor type
F32
·
Inference API
Inference API (serverless) does not yet support transformers models for this pipeline type.

Model tree for Peppizza/NLP_A2

Finetuned
(1)
this model