takala/financial_phrasebank
Updated • 9.08k • 288
How to use shandonk/distilbert-base-uncased-lora-text-classification with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased")
model = PeftModel.from_pretrained(base_model, "shandonk/distilbert-base-uncased-lora-text-classification")This model is a fine-tuned version of distilbert-base-uncased on the financial_phrasebank 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 |
|---|---|---|---|---|
| 0.6087 | 1.0 | 606 | 0.6192 | {'accuracy': 0.8018984729673958} |
| 0.4539 | 2.0 | 1212 | 0.5939 | {'accuracy': 0.8312009905076352} |
| 0.3768 | 3.0 | 1818 | 0.7302 | {'accuracy': 0.8283120099050764} |
| 0.3249 | 4.0 | 2424 | 0.7608 | {'accuracy': 0.8287247214197276} |
| 0.1923 | 5.0 | 3030 | 0.8825 | {'accuracy': 0.8283120099050764} |
| 0.1518 | 6.0 | 3636 | 1.0603 | {'accuracy': 0.8332645480808915} |
| 0.1068 | 7.0 | 4242 | 1.1702 | {'accuracy': 0.8262484523318201} |
| 0.0673 | 8.0 | 4848 | 1.2515 | {'accuracy': 0.8217086256706562} |
| 0.072 | 9.0 | 5454 | 1.2673 | {'accuracy': 0.8303755674783326} |
| 0.0315 | 10.0 | 6060 | 1.2612 | {'accuracy': 0.8287247214197276} |
Base model
distilbert/distilbert-base-uncased