CFPB/consumer-finance-complaints
Updated โข 646 โข 23
How to use Kayvane/distilroberta-base-wandb-week-3-complaints-classifier-1024 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-1024") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Kayvane/distilroberta-base-wandb-week-3-complaints-classifier-1024")
model = AutoModelForSequenceClassification.from_pretrained("Kayvane/distilroberta-base-wandb-week-3-complaints-classifier-1024", device_map="auto")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.7756 | 0.61 | 1500 | 0.7411 | 0.7647 | 0.7375 | 0.7647 | 0.7606 |
| 0.5804 | 1.22 | 3000 | 0.6140 | 0.8088 | 0.8052 | 0.8088 | 0.8077 |
| 0.5008 | 1.83 | 4500 | 0.5351 | 0.8280 | 0.8237 | 0.8280 | 0.8236 |