buruzaemon commited on
Commit
6733187
1 Parent(s): 5885a19

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -8
README.md CHANGED
@@ -4,9 +4,22 @@ tags:
4
  - generated_from_trainer
5
  datasets:
6
  - clinc_oos
 
 
7
  model-index:
8
  - name: distilbert-base-uncased-finetuned-clinc
9
- results: []
 
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -14,11 +27,14 @@ should probably proofread and complete it, then remove this comment. -->
14
 
15
  # distilbert-base-uncased-finetuned-clinc
16
 
17
- This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the [clinc_oos](https://huggingface.co/datasets/clinc_oos) dataset.
 
 
 
18
 
19
  ## Model description
20
 
21
- This is an initial example of knowledge-distillation where the student loss is all cross-entropy loss \\(L_{CE}\\) of the ground-truth labels and none of the distillation loss \\(L_{KD}\\).
22
 
23
  ## Intended uses & limitations
24
 
@@ -26,17 +42,13 @@ More information needed
26
 
27
  ## Training and evaluation data
28
 
29
- The training and evaluation data come straight from the `train` and `validation` splits in the clinc_oos dataset, respectively; and tokenized using the `distilbert-base-uncased` tokenization.
30
 
31
  ## Training procedure
32
 
33
- Please see page 224 in Chapter 8: Making Transformers Efficient in Production, Natural Language Processing with Transformers, May 2022.
34
-
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
- - alpha: 1.0
39
- - temperature: 2.0
40
  - learning_rate: 2e-05
41
  - train_batch_size: 48
42
  - eval_batch_size: 48
@@ -45,6 +57,17 @@ The following hyperparameters were used during training:
45
  - lr_scheduler_type: linear
46
  - num_epochs: 5
47
 
 
 
 
 
 
 
 
 
 
 
 
48
  ### Framework versions
49
 
50
  - Transformers 4.16.2
 
4
  - generated_from_trainer
5
  datasets:
6
  - clinc_oos
7
+ metrics:
8
+ - accuracy
9
  model-index:
10
  - name: distilbert-base-uncased-finetuned-clinc
11
+ results:
12
+ - task:
13
+ name: Text Classification
14
+ type: text-classification
15
+ dataset:
16
+ name: clinc_oos
17
+ type: clinc_oos
18
+ args: plus
19
+ metrics:
20
+ - name: Accuracy
21
+ type: accuracy
22
+ value: 0.9180645161290323
23
  ---
24
 
25
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
27
 
28
  # distilbert-base-uncased-finetuned-clinc
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.7719
33
+ - Accuracy: 0.9181
34
 
35
  ## Model description
36
 
37
+ More information needed
38
 
39
  ## Intended uses & limitations
40
 
 
42
 
43
  ## Training and evaluation data
44
 
45
+ More information needed
46
 
47
  ## Training procedure
48
 
 
 
49
  ### Training hyperparameters
50
 
51
  The following hyperparameters were used during training:
 
 
52
  - learning_rate: 2e-05
53
  - train_batch_size: 48
54
  - eval_batch_size: 48
 
57
  - lr_scheduler_type: linear
58
  - num_epochs: 5
59
 
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
63
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
64
+ | No log | 1.0 | 318 | 3.2882 | 0.7426 |
65
+ | 3.7861 | 2.0 | 636 | 1.8744 | 0.8381 |
66
+ | 3.7861 | 3.0 | 954 | 1.1567 | 0.8958 |
67
+ | 1.6922 | 4.0 | 1272 | 0.8569 | 0.9132 |
68
+ | 0.9055 | 5.0 | 1590 | 0.7719 | 0.9181 |
69
+
70
+
71
  ### Framework versions
72
 
73
  - Transformers 4.16.2