update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: finetuning-sentiment
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# finetuning-sentiment
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
16 |
+
It achieves the following results on the evaluation set:
|
17 |
+
- Loss: 0.8125
|
18 |
+
- Accuracy@en: 0.9033
|
19 |
+
- F1@en: 0.9002
|
20 |
+
- Precision@en: 0.8989
|
21 |
+
- Recall@en: 0.9018
|
22 |
+
- Loss@en: 0.8125
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 2e-05
|
42 |
+
- train_batch_size: 8
|
43 |
+
- eval_batch_size: 4
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- num_epochs: 13
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy@en | F1@en | Precision@en | Recall@en | Loss@en |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:-----------:|:------:|:------------:|:---------:|:-------:|
|
53 |
+
| No log | 1.0 | 375 | 0.4653 | 0.8933 | 0.8895 | 0.8895 | 0.8895 | 0.4653 |
|
54 |
+
| 0.2086 | 2.0 | 750 | 0.4367 | 0.9033 | 0.9011 | 0.8979 | 0.9069 | 0.4367 |
|
55 |
+
| 0.1622 | 3.0 | 1125 | 0.4866 | 0.91 | 0.9081 | 0.9047 | 0.9151 | 0.4866 |
|
56 |
+
| 0.0622 | 4.0 | 1500 | 0.6156 | 0.9 | 0.8982 | 0.8951 | 0.9067 | 0.6156 |
|
57 |
+
| 0.0622 | 5.0 | 1875 | 0.6790 | 0.9133 | 0.9102 | 0.9102 | 0.9102 | 0.6790 |
|
58 |
+
| 0.0193 | 6.0 | 2250 | 0.6822 | 0.9 | 0.8978 | 0.8945 | 0.9041 | 0.6822 |
|
59 |
+
| 0.0202 | 7.0 | 2625 | 0.6595 | 0.91 | 0.9077 | 0.9047 | 0.9126 | 0.6595 |
|
60 |
+
| 0.0148 | 8.0 | 3000 | 0.6538 | 0.9067 | 0.9042 | 0.9014 | 0.9085 | 0.6538 |
|
61 |
+
| 0.0148 | 9.0 | 3375 | 0.6869 | 0.9067 | 0.9050 | 0.9018 | 0.9136 | 0.6869 |
|
62 |
+
| 0.0036 | 10.0 | 3750 | 0.7016 | 0.9033 | 0.9007 | 0.8981 | 0.9044 | 0.7016 |
|
63 |
+
| 0.0038 | 11.0 | 4125 | 0.8170 | 0.9 | 0.8961 | 0.8972 | 0.8951 | 0.8170 |
|
64 |
+
| 0.008 | 12.0 | 4500 | 0.8169 | 0.9033 | 0.9002 | 0.8989 | 0.9018 | 0.8169 |
|
65 |
+
| 0.008 | 13.0 | 4875 | 0.8125 | 0.9033 | 0.9002 | 0.8989 | 0.9018 | 0.8125 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- Transformers 4.17.0
|
71 |
+
- Pytorch 2.2.1+cu121
|
72 |
+
- Datasets 2.18.0
|
73 |
+
- Tokenizers 0.15.2
|