Beta
Explore
Marketplace
Neural Labs
Playground
Wallet
Docs
legalbert-case-classifier – AI Model by pj-pj-pj | AlphaNeural AI
You can deploy this model and start earning money today!
pj-pj-pj
/
legalbert-case-classifier
like
0
safetensors
bert
generated_from_trainer
nlpaueb/legal-bert-base-uncased
finetune
cc-by-sa-4.0
us
Views
No views yet
Model card
Files and Versions
Community
API
Deploy
legalbert-case-classifier
This model is a fine-tuned version of
nlpaueb/legal-bert-base-uncased
on the None dataset. It achieves the following results on the evaluation set:
Loss: 0.0689
Accuracy: 0.9958
Precision Macro: 0.9954
Recall Macro: 0.9877
F1 Macro: 0.9915
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: 5e-05
train_batch_size: 8
eval_batch_size: 8
seed: 42
optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
lr_scheduler_type: linear
num_epochs: 2
mixed_precision_training: Native AMP
Training results
Training Loss
Epoch
Step
Validation Loss
Accuracy
Precision Macro
Recall Macro
F1 Macro
0.0024
1.0
1673
0.0863
0.9952
0.9971
0.9836
0.9902
0.2727
2.0
3346
0.0689
0.9958
0.9954
0.9877
0.9915
Framework versions
Transformers 4.41.2
Pytorch 2.9.0+cu126
Datasets 4.0.0
Tokenizers 0.19.1