clinc/clinc_oos
Viewer • Updated • 59.3k • 26.5k • 20
How to use shmuhammad/distilbert-base-uncased-distilled-clinc with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="shmuhammad/distilbert-base-uncased-distilled-clinc") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("shmuhammad/distilbert-base-uncased-distilled-clinc")
model = AutoModelForSequenceClassification.from_pretrained("shmuhammad/distilbert-base-uncased-distilled-clinc", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased on the clinc_oos 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 |
|---|---|---|---|---|
| 2.643 | 1.0 | 318 | 1.9110 | 0.7452 |
| 1.4751 | 2.0 | 636 | 0.9678 | 0.8606 |
| 0.7736 | 3.0 | 954 | 0.5578 | 0.9168 |
| 0.4652 | 4.0 | 1272 | 0.4081 | 0.9352 |
| 0.3364 | 5.0 | 1590 | 0.3538 | 0.9442 |
| 0.2801 | 6.0 | 1908 | 0.3294 | 0.9465 |
| 0.2515 | 7.0 | 2226 | 0.3165 | 0.9471 |
| 0.2366 | 8.0 | 2544 | 0.3107 | 0.9487 |
| 0.2292 | 9.0 | 2862 | 0.3069 | 0.9490 |
| 0.2247 | 10.0 | 3180 | 0.3060 | 0.9487 |