nRuaif commited on
Commit
f08fcba
·
1 Parent(s): 6ff6fd7

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: microsoft/deberta-v3-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ model-index:
9
+ - name: out_2
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # out_2
17
+
18
+ This model is a fine-tuned version of [microsoft/deberta-v3-base](https://huggingface.co/microsoft/deberta-v3-base) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.6774
21
+ - F1: 0.7444
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 6e-06
41
+ - train_batch_size: 3
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 16
45
+ - total_train_batch_size: 48
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: cosine
48
+ - num_epochs: 5.0
49
+ - mixed_precision_training: Native AMP
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Accuracy | Validation Loss |
54
+ |:-------------:|:-----:|:-----:|:--------:|:---------------:|
55
+ | 0.6448 | 0.21 | 500 | 0.6347 | 0.6498 |
56
+ | 0.6401 | 0.41 | 1000 | 0.6442 | 0.6312 |
57
+ | 0.6557 | 0.62 | 1500 | 0.6582 | 0.6314 |
58
+ | 0.5819 | 0.83 | 2000 | 0.6588 | 0.6320 |
59
+ | 0.6086 | 1.04 | 2500 | 0.6563 | 0.6343 |
60
+ | 0.6011 | 1.24 | 3000 | 0.6557 | 0.6165 |
61
+ | 0.5616 | 1.45 | 3500 | 0.6461 | 0.6376 |
62
+ | 0.5885 | 1.66 | 4000 | 0.6468 | 0.6304 |
63
+ | 0.6198 | 1.87 | 4500 | 0.6423 | 0.6448 |
64
+ | 0.5838 | 2.07 | 5000 | 0.6665 | 0.6320 |
65
+ | 0.5564 | 2.28 | 5500 | 0.6684 | 0.6428 |
66
+ | 0.5726 | 2.49 | 6000 | 0.6703 | 0.6401 |
67
+ | 0.5491 | 2.7 | 6500 | 0.6684 | 0.6455 |
68
+ | 0.5303 | 2.9 | 7000 | 0.6703 | 0.6339 |
69
+ | 0.497 | 3.11 | 7500 | 0.6607 | 0.6541 |
70
+ | 0.5041 | 3.32 | 8000 | 0.6760 | 0.6653 |
71
+ | 0.4978 | 3.53 | 8500 | 0.6696 | 0.6627 |
72
+ | 0.5272 | 3.73 | 9000 | 0.6677 | 0.6684 |
73
+ | 0.5487 | 3.94 | 9500 | 0.6760 | 0.6593 |
74
+ | 0.4998 | 4.15 | 10000 | 0.6747 | 0.6738 |
75
+ | 0.4626 | 4.36 | 10500 | 0.6753 | 0.6781 |
76
+ | 0.5202 | 4.56 | 11000 | 0.6722 | 0.6763 |
77
+ | 0.4623 | 4.77 | 11500 | 0.6728 | 0.6778 |
78
+ | 0.4383 | 4.98 | 12000 | 0.6741 | 0.6775 |
79
+
80
+
81
+ ### Framework versions
82
+
83
+ - Transformers 4.35.0.dev0
84
+ - Pytorch 2.0.1+cu117
85
+ - Datasets 2.14.4
86
+ - Tokenizers 0.14.1
added_tokens.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "[CLS]": 1,
3
+ "[MASK]": 128000,
4
+ "[PAD]": 0,
5
+ "[SEP]": 2,
6
+ "[UNK]": 3
7
+ }
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.6740787801778907,
4
+ "eval_f1": 0.7443946188340808,
5
+ "eval_loss": 0.6774438619613647,
6
+ "eval_runtime": 61.2399,
7
+ "eval_samples": 1574,
8
+ "eval_samples_per_second": 25.702,
9
+ "eval_steps_per_second": 3.217,
10
+ "train_loss": 0.0,
11
+ "train_runtime": 5.2952,
12
+ "train_samples": 77152,
13
+ "train_samples_per_second": 72851.348,
14
+ "train_steps_per_second": 1517.422
15
+ }
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/deberta-v3-base",
3
+ "architectures": [
4
+ "DebertaV2ForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "finetuning_task": "text-classification",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "0",
13
+ "1": "1"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "0": 0,
19
+ "1": 1
20
+ },
21
+ "layer_norm_eps": 1e-07,
22
+ "max_position_embeddings": 512,
23
+ "max_relative_positions": -1,
24
+ "model_type": "deberta-v2",
25
+ "norm_rel_ebd": "layer_norm",
26
+ "num_attention_heads": 12,
27
+ "num_hidden_layers": 12,
28
+ "pad_token_id": 0,
29
+ "pooler_dropout": 0,
30
+ "pooler_hidden_act": "gelu",
31
+ "pooler_hidden_size": 768,
32
+ "pos_att_type": [
33
+ "p2c",
34
+ "c2p"
35
+ ],
36
+ "position_biased_input": false,
37
+ "position_buckets": 256,
38
+ "problem_type": "single_label_classification",
39
+ "relative_attention": true,
40
+ "share_att_key": true,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.35.0.dev0",
43
+ "type_vocab_size": 0,
44
+ "vocab_size": 128100
45
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_f1": 0.7443946188340808,
4
+ "eval_loss": 0.6774438619613647,
5
+ "eval_runtime": 61.2399,
6
+ "eval_samples": 1574,
7
+ "eval_samples_per_second": 25.702,
8
+ "eval_steps_per_second": 3.217
9
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f022abb7f0098f9177c30d622c0fc3436b280c56fc5c9d72487c73d60792eac7
3
+ size 737764341
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:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
3
+ size 2464616
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[UNK]",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "128000": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "additional_special_tokens": [],
45
+ "bos_token": "[CLS]",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "[CLS]",
48
+ "do_lower_case": false,
49
+ "eos_token": "[SEP]",
50
+ "mask_token": "[MASK]",
51
+ "model_max_length": 1000000000000000019884624838656,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "sp_model_kwargs": {},
55
+ "split_by_punct": false,
56
+ "tokenizer_class": "DebertaV2Tokenizer",
57
+ "unk_token": "[UNK]",
58
+ "vocab_type": "spm"
59
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "train_loss": 0.0,
4
+ "train_runtime": 5.2952,
5
+ "train_samples": 77152,
6
+ "train_samples_per_second": 72851.348,
7
+ "train_steps_per_second": 1517.422
8
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab224a6df4956eb33c732d9f454a4a99e9e61aeb5e7b63517ca008495c25aec7
3
+ size 4219