Edit model card

bertimbau-base-finetuned-brazilian_court_decisions

This model is a fine-tuned version of neuralmind/bert-base-portuguese-cased on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.6424
  • Accuracy: 0.7921

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

Training results

Training Loss Epoch Step Validation Loss Accuracy
No log 1.0 203 0.7726 0.6683
No log 2.0 406 0.5948 0.7673
0.7112 3.0 609 0.6424 0.7723
0.7112 4.0 812 0.6376 0.7772
0.3383 5.0 1015 0.6424 0.7921

Framework versions

  • Transformers 4.22.0
  • Pytorch 1.12.1+cu113
  • Datasets 2.4.0
  • Tokenizers 0.12.1
Downloads last month
54
Safetensors
Model size
109M params
Tensor type
I64
·
F32
·

Finetuned from

Dataset used to train Luciano/bertimbau-base-finetuned-brazilian_court_decisions

Evaluation results