Dan Semin
commited on
Commit
•
c4b6ae9
1
Parent(s):
6b01bd6
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- text-classification
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- xnli
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
model-index:
|
11 |
+
- name: xnli_m_bert_only_sw
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Text Classification
|
15 |
+
type: text-classification
|
16 |
+
dataset:
|
17 |
+
name: xnli
|
18 |
+
type: xnli
|
19 |
+
config: sw
|
20 |
+
split: train
|
21 |
+
args: sw
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.6289156626506024
|
26 |
+
---
|
27 |
+
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
# xnli_m_bert_only_sw
|
32 |
+
|
33 |
+
This model is a fine-tuned version of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) on the xnli dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 1.5193
|
36 |
+
- Accuracy: 0.6289
|
37 |
+
|
38 |
+
## Model description
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Intended uses & limitations
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training and evaluation data
|
47 |
+
|
48 |
+
More information needed
|
49 |
+
|
50 |
+
## Training procedure
|
51 |
+
|
52 |
+
### Training hyperparameters
|
53 |
+
|
54 |
+
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
+
- train_batch_size: 128
|
57 |
+
- eval_batch_size: 128
|
58 |
+
- seed: 42
|
59 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
+
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 10
|
62 |
+
|
63 |
+
### Training results
|
64 |
+
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
|
67 |
+
| 0.8323 | 1.0 | 3068 | 0.8640 | 0.6217 |
|
68 |
+
| 0.7614 | 2.0 | 6136 | 0.7812 | 0.6598 |
|
69 |
+
| 0.6875 | 3.0 | 9204 | 0.8466 | 0.6394 |
|
70 |
+
| 0.6065 | 4.0 | 12272 | 0.8354 | 0.6538 |
|
71 |
+
| 0.5219 | 5.0 | 15340 | 0.8810 | 0.6550 |
|
72 |
+
| 0.4317 | 6.0 | 18408 | 0.9880 | 0.6554 |
|
73 |
+
| 0.3532 | 7.0 | 21476 | 1.1403 | 0.6390 |
|
74 |
+
| 0.2893 | 8.0 | 24544 | 1.1935 | 0.6390 |
|
75 |
+
| 0.2351 | 9.0 | 27612 | 1.3805 | 0.6390 |
|
76 |
+
| 0.1928 | 10.0 | 30680 | 1.5193 | 0.6289 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.24.0
|
82 |
+
- Pytorch 1.13.0
|
83 |
+
- Datasets 2.6.1
|
84 |
+
- Tokenizers 0.13.1
|