PolyAI/banking77
Updated • 13.5k • 96
How to use AzadDjan/modernbert-large-banking77-lora with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("answerdotai/ModernBERT-large")
model = PeftModel.from_pretrained(base_model, "AzadDjan/modernbert-large-banking77-lora")How to use AzadDjan/modernbert-large-banking77-lora with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("AzadDjan/modernbert-large-banking77-lora", device_map="auto")This model is a fine-tuned version of answerdotai/ModernBERT-large on the banking77 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.9839 | 1.0 | 282 | 0.4775 | 0.8671 | 0.8759 | 0.8715 | 0.8626 |
| 0.5067 | 2.0 | 564 | 0.3470 | 0.9131 | 0.9183 | 0.9147 | 0.9116 |
| 0.2656 | 3.0 | 846 | 0.3133 | 0.9231 | 0.9313 | 0.9257 | 0.9249 |
| 0.1220 | 4.0 | 1128 | 0.2974 | 0.9301 | 0.9350 | 0.9337 | 0.9316 |
| 0.0677 | 5.0 | 1410 | 0.3167 | 0.9251 | 0.9309 | 0.9291 | 0.9271 |
| 0.0247 | 6.0 | 1692 | 0.3185 | 0.9271 | 0.9342 | 0.9267 | 0.9264 |
| 0.0051 | 7.0 | 1974 | 0.3102 | 0.9331 | 0.9367 | 0.9346 | 0.9330 |
| 0.0032 | 8.0 | 2256 | 0.3174 | 0.9351 | 0.9399 | 0.9378 | 0.9362 |
Base model
answerdotai/ModernBERT-large