Commit
•
b45a713
1
Parent(s):
443b466
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- amazon_reviews_multi
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: distilbert-base-multilingual-cased-sentiment
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Text Classification
|
15 |
+
type: text-classification
|
16 |
+
dataset:
|
17 |
+
name: amazon_reviews_multi
|
18 |
+
type: amazon_reviews_multi
|
19 |
+
args: all_languages
|
20 |
+
metrics:
|
21 |
+
- name: Accuracy
|
22 |
+
type: accuracy
|
23 |
+
value: 0.7648
|
24 |
+
- name: F1
|
25 |
+
type: f1
|
26 |
+
value: 0.7648
|
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-multilingual-cased-sentiment
|
33 |
+
|
34 |
+
This model is a fine-tuned version of [distilbert-base-multilingual-cased](https://huggingface.co/distilbert-base-multilingual-cased) on the amazon_reviews_multi dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.5842
|
37 |
+
- Accuracy: 0.7648
|
38 |
+
- F1: 0.7648
|
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: 5e-05
|
58 |
+
- train_batch_size: 16
|
59 |
+
- eval_batch_size: 16
|
60 |
+
- seed: 33
|
61 |
+
- distributed_type: sagemaker_data_parallel
|
62 |
+
- num_devices: 8
|
63 |
+
- total_train_batch_size: 128
|
64 |
+
- total_eval_batch_size: 128
|
65 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
66 |
+
- lr_scheduler_type: linear
|
67 |
+
- lr_scheduler_warmup_steps: 500
|
68 |
+
- num_epochs: 5
|
69 |
+
- mixed_precision_training: Native AMP
|
70 |
+
|
71 |
+
### Training results
|
72 |
+
|
73 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
74 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|
|
75 |
+
| 0.6405 | 0.53 | 5000 | 0.5826 | 0.7498 | 0.7498 |
|
76 |
+
| 0.5698 | 1.07 | 10000 | 0.5686 | 0.7612 | 0.7612 |
|
77 |
+
| 0.5286 | 1.6 | 15000 | 0.5593 | 0.7636 | 0.7636 |
|
78 |
+
| 0.5141 | 2.13 | 20000 | 0.5842 | 0.7648 | 0.7648 |
|
79 |
+
| 0.4763 | 2.67 | 25000 | 0.5736 | 0.7637 | 0.7637 |
|
80 |
+
| 0.4549 | 3.2 | 30000 | 0.6027 | 0.7593 | 0.7593 |
|
81 |
+
| 0.4231 | 3.73 | 35000 | 0.6017 | 0.7552 | 0.7552 |
|
82 |
+
| 0.3965 | 4.27 | 40000 | 0.6489 | 0.7551 | 0.7551 |
|
83 |
+
| 0.3744 | 4.8 | 45000 | 0.6426 | 0.7534 | 0.7534 |
|
84 |
+
|
85 |
+
|
86 |
+
### Framework versions
|
87 |
+
|
88 |
+
- Transformers 4.12.3
|
89 |
+
- Pytorch 1.9.1
|
90 |
+
- Datasets 1.15.1
|
91 |
+
- Tokenizers 0.10.3
|
logs/events.out.tfevents.1643020135.algo-1.507.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:169de649ae659914475b7c65b8a1a25386241cd1d563ee2a270607b6759f59dc
|
3 |
+
size 8386
|
logs/events.out.tfevents.1643026480.algo-1.507.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55f7ccc520b3f9ac36a44ef36990e62eb9cbe578185bc57857a726f168711bf2
|
3 |
+
size 416
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 541347953
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8a69a3d946d158e4fcc855d671387cde2520d1862ec6e075fc941e35dc14008
|
3 |
size 541347953
|