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
Training complete
Browse files- README.md +14 -7
- pytorch_model.bin +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -19,7 +19,7 @@ model_index:
|
|
| 19 |
metric:
|
| 20 |
name: Accuracy
|
| 21 |
type: accuracy
|
| 22 |
-
value: 0.
|
| 23 |
---
|
| 24 |
|
| 25 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -29,8 +29,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 29 |
|
| 30 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the clinc_oos dataset.
|
| 31 |
It achieves the following results on the evaluation set:
|
| 32 |
-
- Loss:
|
| 33 |
-
- Accuracy: 0.
|
| 34 |
|
| 35 |
## Model description
|
| 36 |
|
|
@@ -55,15 +55,22 @@ The following hyperparameters were used during training:
|
|
| 55 |
- seed: 42
|
| 56 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 57 |
- lr_scheduler_type: linear
|
| 58 |
-
- num_epochs:
|
| 59 |
|
| 60 |
### Training results
|
| 61 |
|
| 62 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 63 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 64 |
-
| No log | 1.0 | 159 |
|
| 65 |
-
| No log | 2.0 | 318 |
|
| 66 |
-
| No log | 3.0 | 477 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
|
| 68 |
|
| 69 |
### Framework versions
|
|
|
|
| 19 |
metric:
|
| 20 |
name: Accuracy
|
| 21 |
type: accuracy
|
| 22 |
+
value: 0.9419354838709677
|
| 23 |
---
|
| 24 |
|
| 25 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 29 |
|
| 30 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the clinc_oos dataset.
|
| 31 |
It achieves the following results on the evaluation set:
|
| 32 |
+
- Loss: 0.2929
|
| 33 |
+
- Accuracy: 0.9419
|
| 34 |
|
| 35 |
## Model description
|
| 36 |
|
|
|
|
| 55 |
- seed: 42
|
| 56 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 57 |
- lr_scheduler_type: linear
|
| 58 |
+
- num_epochs: 10
|
| 59 |
|
| 60 |
### Training results
|
| 61 |
|
| 62 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 63 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 64 |
+
| No log | 1.0 | 159 | 1.7692 | 0.6606 |
|
| 65 |
+
| No log | 2.0 | 318 | 1.1246 | 0.7997 |
|
| 66 |
+
| No log | 3.0 | 477 | 0.7261 | 0.8681 |
|
| 67 |
+
| 1.5283 | 4.0 | 636 | 0.5132 | 0.9106 |
|
| 68 |
+
| 1.5283 | 5.0 | 795 | 0.4002 | 0.9232 |
|
| 69 |
+
| 1.5283 | 6.0 | 954 | 0.3460 | 0.9342 |
|
| 70 |
+
| 0.4714 | 7.0 | 1113 | 0.3171 | 0.9384 |
|
| 71 |
+
| 0.4714 | 8.0 | 1272 | 0.3028 | 0.9410 |
|
| 72 |
+
| 0.4714 | 9.0 | 1431 | 0.2947 | 0.9416 |
|
| 73 |
+
| 0.2878 | 10.0 | 1590 | 0.2929 | 0.9419 |
|
| 74 |
|
| 75 |
|
| 76 |
### Framework versions
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 268318385
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02c19ea8164f25b2ff3a7fc58ce64626ea4f7fe51bc8820fd4872ced4954cec8
|
| 3 |
size 268318385
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2735
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfcd76008ac333db5209f9ba9aded2929557ff1a3d94ca5de542c8e4fe5ab5b1
|
| 3 |
size 2735
|