inlegalbert

This model is a fine-tuned version of law-ai/InLegalBERT on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.9421
  • Macro F1: 0.7250
  • Weighted F1: 0.7122
  • Accuracy: 0.7115

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: 3e-05
  • train_batch_size: 32
  • eval_batch_size: 64
  • 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
  • lr_scheduler_warmup_steps: 500
  • num_epochs: 5
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss Macro F1 Weighted F1 Accuracy
1.1353 1.0 1033 1.0279 0.6474 0.6633 0.6639
0.8496 2.0 2066 0.9001 0.6950 0.6926 0.6921
0.6278 3.0 3099 0.8716 0.7131 0.7026 0.7033
0.4837 4.0 4132 0.8955 0.7247 0.7071 0.7068
0.3742 5.0 5165 0.9421 0.7250 0.7122 0.7115

Framework versions

  • Transformers 5.0.0
  • Pytorch 2.10.0+cu128
  • Datasets 4.8.3
  • Tokenizers 0.22.2
Downloads last month
200
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for 3huvan/inlegalbertbackup

Finetuned
(17)
this model