CFPB/consumer-finance-complaints
Updated • 267 • 22
How to use Kayvane/distilbert-complaints-wandb-product with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Kayvane/distilbert-complaints-wandb-product") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Kayvane/distilbert-complaints-wandb-product")
model = AutoModelForSequenceClassification.from_pretrained("Kayvane/distilbert-complaints-wandb-product", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased 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.562 | 0.51 | 2000 | 0.5107 | 0.8452 | 0.8346 | 0.8452 | 0.8252 |
| 0.4548 | 1.01 | 4000 | 0.4628 | 0.8565 | 0.8481 | 0.8565 | 0.8466 |
| 0.3439 | 1.52 | 6000 | 0.4519 | 0.8605 | 0.8544 | 0.8605 | 0.8545 |
| 0.2626 | 2.03 | 8000 | 0.4412 | 0.8678 | 0.8618 | 0.8678 | 0.8626 |
| 0.2717 | 2.53 | 10000 | 0.4431 | 0.8691 | 0.8645 | 0.8691 | 0.8629 |