asadfgglie
commited on
End of training
Browse files- .gitattributes +1 -0
- README.md +85 -0
- added_tokens.json +3 -0
- config.json +43 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +9 -0
- spm.model +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +20 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: asadfgglie/mDeBERTa-v3-base-xnli-multilingual-zeroshot-v1.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
model-index:
|
8 |
+
- name: mDeBERTa-v3-base-xnli-multilingual-zeroshot-v1.1
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# mDeBERTa-v3-base-xnli-multilingual-zeroshot-v1.1
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [asadfgglie/mDeBERTa-v3-base-xnli-multilingual-zeroshot-v1.0](https://huggingface.co/asadfgglie/mDeBERTa-v3-base-xnli-multilingual-zeroshot-v1.0) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.5335
|
20 |
+
- F1 Macro: 0.8675
|
21 |
+
- F1 Micro: 0.8692
|
22 |
+
- Accuracy Balanced: 0.8674
|
23 |
+
- Accuracy: 0.8692
|
24 |
+
- Precision Macro: 0.8677
|
25 |
+
- Recall Macro: 0.8674
|
26 |
+
- Precision Micro: 0.8692
|
27 |
+
- Recall Micro: 0.8692
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 2e-05
|
47 |
+
- train_batch_size: 16
|
48 |
+
- eval_batch_size: 128
|
49 |
+
- seed: 42
|
50 |
+
- gradient_accumulation_steps: 2
|
51 |
+
- total_train_batch_size: 32
|
52 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
53 |
+
- lr_scheduler_type: linear
|
54 |
+
- lr_scheduler_warmup_ratio: 0.06
|
55 |
+
- num_epochs: 3
|
56 |
+
|
57 |
+
### Training results
|
58 |
+
|
59 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 Macro | F1 Micro | Accuracy Balanced | Accuracy | Precision Macro | Recall Macro | Precision Micro | Recall Micro |
|
60 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-----------------:|:--------:|:---------------:|:------------:|:---------------:|:------------:|
|
61 |
+
| 0.1975 | 0.17 | 200 | 0.3474 | 0.8688 | 0.8708 | 0.8678 | 0.8708 | 0.8701 | 0.8678 | 0.8708 | 0.8708 |
|
62 |
+
| 0.1974 | 0.34 | 400 | 0.3580 | 0.8600 | 0.8624 | 0.8585 | 0.8624 | 0.8621 | 0.8585 | 0.8624 | 0.8624 |
|
63 |
+
| 0.2054 | 0.51 | 600 | 0.3616 | 0.8520 | 0.8565 | 0.8476 | 0.8565 | 0.8638 | 0.8476 | 0.8565 | 0.8565 |
|
64 |
+
| 0.2094 | 0.68 | 800 | 0.3772 | 0.8658 | 0.8687 | 0.8630 | 0.8687 | 0.8710 | 0.8630 | 0.8687 | 0.8687 |
|
65 |
+
| 0.2118 | 0.85 | 1000 | 0.3701 | 0.8729 | 0.8740 | 0.8747 | 0.8740 | 0.8719 | 0.8747 | 0.8740 | 0.8740 |
|
66 |
+
| 0.1948 | 1.02 | 1200 | 0.3778 | 0.8698 | 0.8714 | 0.8702 | 0.8714 | 0.8696 | 0.8702 | 0.8714 | 0.8714 |
|
67 |
+
| 0.1447 | 1.19 | 1400 | 0.3964 | 0.8666 | 0.8692 | 0.8642 | 0.8692 | 0.8706 | 0.8642 | 0.8692 | 0.8692 |
|
68 |
+
| 0.1723 | 1.35 | 1600 | 0.3855 | 0.8718 | 0.8735 | 0.8716 | 0.8735 | 0.8720 | 0.8716 | 0.8735 | 0.8735 |
|
69 |
+
| 0.1476 | 1.52 | 1800 | 0.4164 | 0.8637 | 0.8661 | 0.8620 | 0.8661 | 0.8661 | 0.8620 | 0.8661 | 0.8661 |
|
70 |
+
| 0.1515 | 1.69 | 2000 | 0.3958 | 0.8724 | 0.8740 | 0.8725 | 0.8740 | 0.8724 | 0.8725 | 0.8740 | 0.8740 |
|
71 |
+
| 0.1378 | 1.86 | 2200 | 0.4390 | 0.8694 | 0.8708 | 0.8699 | 0.8708 | 0.8689 | 0.8699 | 0.8708 | 0.8708 |
|
72 |
+
| 0.1332 | 2.03 | 2400 | 0.4535 | 0.8732 | 0.8745 | 0.8740 | 0.8745 | 0.8726 | 0.8740 | 0.8745 | 0.8745 |
|
73 |
+
| 0.0913 | 2.2 | 2600 | 0.5235 | 0.8638 | 0.8661 | 0.8625 | 0.8661 | 0.8656 | 0.8625 | 0.8661 | 0.8661 |
|
74 |
+
| 0.1076 | 2.37 | 2800 | 0.5339 | 0.8638 | 0.8661 | 0.8623 | 0.8661 | 0.8659 | 0.8623 | 0.8661 | 0.8661 |
|
75 |
+
| 0.09 | 2.54 | 3000 | 0.5388 | 0.8670 | 0.8687 | 0.8667 | 0.8687 | 0.8672 | 0.8667 | 0.8687 | 0.8687 |
|
76 |
+
| 0.0928 | 2.71 | 3200 | 0.5266 | 0.8649 | 0.8666 | 0.8648 | 0.8666 | 0.8650 | 0.8648 | 0.8666 | 0.8666 |
|
77 |
+
| 0.0805 | 2.88 | 3400 | 0.5433 | 0.8658 | 0.8677 | 0.8654 | 0.8677 | 0.8663 | 0.8654 | 0.8677 | 0.8677 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.33.3
|
83 |
+
- Pytorch 2.5.1+cu121
|
84 |
+
- Datasets 2.14.7
|
85 |
+
- Tokenizers 0.13.3
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[MASK]": 250101
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "asadfgglie/mDeBERTa-v3-base-xnli-multilingual-zeroshot-v1.0",
|
3 |
+
"architectures": [
|
4 |
+
"DebertaV2ForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "entailment",
|
12 |
+
"1": "not_entailment"
|
13 |
+
},
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 3072,
|
16 |
+
"label2id": {
|
17 |
+
"entailment": 0,
|
18 |
+
"not_entailment": 1
|
19 |
+
},
|
20 |
+
"layer_norm_eps": 1e-07,
|
21 |
+
"max_position_embeddings": 512,
|
22 |
+
"max_relative_positions": -1,
|
23 |
+
"model_type": "deberta-v2",
|
24 |
+
"norm_rel_ebd": "layer_norm",
|
25 |
+
"num_attention_heads": 12,
|
26 |
+
"num_hidden_layers": 12,
|
27 |
+
"pad_token_id": 0,
|
28 |
+
"pooler_dropout": 0,
|
29 |
+
"pooler_hidden_act": "gelu",
|
30 |
+
"pooler_hidden_size": 768,
|
31 |
+
"pos_att_type": [
|
32 |
+
"p2c",
|
33 |
+
"c2p"
|
34 |
+
],
|
35 |
+
"position_biased_input": false,
|
36 |
+
"position_buckets": 256,
|
37 |
+
"relative_attention": true,
|
38 |
+
"share_att_key": true,
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.33.3",
|
41 |
+
"type_vocab_size": 0,
|
42 |
+
"vocab_size": 251000
|
43 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:16db08d0e39fc2fe34a2a7ef946f1c86b936320411d8b9f7566a5c3ec1a60035
|
3 |
+
size 1115313586
|
special_tokens_map.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"eos_token": "[SEP]",
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"pad_token": "[PAD]",
|
7 |
+
"sep_token": "[SEP]",
|
8 |
+
"unk_token": "[UNK]"
|
9 |
+
}
|
spm.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:13c8d666d62a7bc4ac8f040aab68e942c861f93303156cc28f5c7e885d86d6e3
|
3 |
+
size 4305025
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e23095eb61ba944c7be3a5d3e8ec19e37ce7ced0daa03550bde03e83c21b3f8a
|
3 |
+
size 16316151
|
tokenizer_config.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"cls_token": "[CLS]",
|
5 |
+
"do_lower_case": false,
|
6 |
+
"eos_token": "[SEP]",
|
7 |
+
"mask_token": "[MASK]",
|
8 |
+
"max_length": 512,
|
9 |
+
"model_max_length": 512,
|
10 |
+
"pad_token": "[PAD]",
|
11 |
+
"sep_token": "[SEP]",
|
12 |
+
"sp_model_kwargs": {},
|
13 |
+
"split_by_punct": false,
|
14 |
+
"stride": 0,
|
15 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
16 |
+
"truncation_side": "right",
|
17 |
+
"truncation_strategy": "longest_first",
|
18 |
+
"unk_token": "[UNK]",
|
19 |
+
"vocab_type": "spm"
|
20 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:22a59860775aa152a9ca91abced8ee65a115d8862e7dc3a4dc12477411e3f6e7
|
3 |
+
size 4728
|