update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- banking77
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: distilbert-base-uncased-finetuned-banking77
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Text Classification
|
15 |
+
type: text-classification
|
16 |
+
dataset:
|
17 |
+
name: banking77
|
18 |
+
type: banking77
|
19 |
+
args: default
|
20 |
+
metrics:
|
21 |
+
- name: Accuracy
|
22 |
+
type: accuracy
|
23 |
+
value: 0.925
|
24 |
+
- name: F1
|
25 |
+
type: f1
|
26 |
+
value: 0.925018570680639
|
27 |
+
---
|
28 |
+
|
29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
30 |
+
should probably proofread and complete it, then remove this comment. -->
|
31 |
+
|
32 |
+
# distilbert-base-uncased-finetuned-banking77
|
33 |
+
|
34 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the banking77 dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.2935
|
37 |
+
- Accuracy: 0.925
|
38 |
+
- F1: 0.9250
|
39 |
+
|
40 |
+
## Model description
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Intended uses & limitations
|
45 |
+
|
46 |
+
More information needed
|
47 |
+
|
48 |
+
## Training and evaluation data
|
49 |
+
|
50 |
+
More information needed
|
51 |
+
|
52 |
+
## Training procedure
|
53 |
+
|
54 |
+
### Training hyperparameters
|
55 |
+
|
56 |
+
The following hyperparameters were used during training:
|
57 |
+
- learning_rate: 9.686210354742596e-05
|
58 |
+
- train_batch_size: 64
|
59 |
+
- eval_batch_size: 32
|
60 |
+
- seed: 40
|
61 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
+
- lr_scheduler_type: linear
|
63 |
+
- num_epochs: 5
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
69 |
+
| No log | 1.0 | 126 | 1.1457 | 0.7896 | 0.7685 |
|
70 |
+
| No log | 2.0 | 252 | 0.4673 | 0.8906 | 0.8889 |
|
71 |
+
| No log | 3.0 | 378 | 0.3488 | 0.9150 | 0.9151 |
|
72 |
+
| 0.9787 | 4.0 | 504 | 0.3238 | 0.9180 | 0.9179 |
|
73 |
+
| 0.9787 | 5.0 | 630 | 0.3126 | 0.9225 | 0.9226 |
|
74 |
+
|
75 |
+
|
76 |
+
### Framework versions
|
77 |
+
|
78 |
+
- Transformers 4.17.0
|
79 |
+
- Pytorch 1.11.0
|
80 |
+
- Datasets 2.0.0
|
81 |
+
- Tokenizers 0.11.6
|