Text Classification
Transformers
PyTorch
TensorBoard
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use Hwijung/distilbert-base-uncased-finetuned-clinc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hwijung/distilbert-base-uncased-finetuned-clinc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hwijung/distilbert-base-uncased-finetuned-clinc")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Hwijung/distilbert-base-uncased-finetuned-clinc") model = AutoModelForSequenceClassification.from_pretrained("Hwijung/distilbert-base-uncased-finetuned-clinc") - Notebooks
- Google Colab
- Kaggle
metadata
license: apache-2.0
tags:
- generated_from_trainer
datasets:
- clinc_oos
metrics:
- accuracy
model_index:
- name: distilbert-base-uncased-finetuned-clinc
results:
- task:
name: Text Classification
type: text-classification
dataset:
name: clinc_oos
type: clinc_oos
args: plus
metric:
name: Accuracy
type: accuracy
value: 0.7706451612903226
distilbert-base-uncased-finetuned-clinc
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:
- Loss: 3.0672
- Accuracy: 0.7706
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 96
- eval_batch_size: 96
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 159 | 4.0708 | 0.62 |
| No log | 2.0 | 318 | 3.3162 | 0.7481 |
| No log | 3.0 | 477 | 3.0672 | 0.7706 |
Framework versions
- Transformers 4.10.0.dev0
- Pytorch 1.10.1+cu102
- Datasets 1.11.0
- Tokenizers 0.10.3