CFPB/consumer-finance-complaints
Updated • 301 • 20
How to use Kayvane/distilroberta-base-wandb-week-3-complaints-classifier-512 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Kayvane/distilroberta-base-wandb-week-3-complaints-classifier-512") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Kayvane/distilroberta-base-wandb-week-3-complaints-classifier-512")
model = AutoModelForSequenceClassification.from_pretrained("Kayvane/distilroberta-base-wandb-week-3-complaints-classifier-512")This model is a fine-tuned version of distilroberta-base on the consumer-finance-complaints 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 | F1 | Recall | Precision |
|---|---|---|---|---|---|---|---|
| 0.7559 | 0.61 | 1500 | 0.7307 | 0.7733 | 0.7411 | 0.7733 | 0.7286 |
| 0.6361 | 1.22 | 3000 | 0.6559 | 0.7846 | 0.7699 | 0.7846 | 0.7718 |
| 0.5774 | 1.83 | 4500 | 0.6004 | 0.8038 | 0.7919 | 0.8038 | 0.7922 |