Edit model card

longformer-base-4096-finetuned-smartcontract

This model is a fine-tuned version of allenai/longformer-base-4096 on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.1021
  • F1: 0.9526
  • Roc Auc: 0.9662
  • Accuracy: 0.7676

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: 1
  • eval_batch_size: 1
  • 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 F1 Roc Auc Accuracy
0.1752 1.0 14383 0.1695 0.8965 0.9209 0.5820
0.1454 2.0 28766 0.1453 0.9221 0.9433 0.6598
0.0989 3.0 43149 0.1265 0.9351 0.9523 0.7082
0.0908 4.0 57532 0.1091 0.9470 0.9612 0.7476
0.0595 5.0 71915 0.1021 0.9526 0.9662 0.7676

Framework versions

  • Transformers 4.44.0
  • Pytorch 2.4.0
  • Datasets 2.21.0
  • Tokenizers 0.19.1
Downloads last month
2
Safetensors
Model size
149M params
Tensor type
F32
·
Inference API
Unable to determine this model's library. Check the docs .

Model tree for JakeClark/longformer-base-4096-finetuned-smartcontract

Finetuned
(76)
this model