End of training
Browse files- README.md +70 -0
- added_tokens.json +3 -0
- config.json +121 -0
- model.safetensors +3 -0
- runs/Jan21_15-34-16_73095be6df3d/events.out.tfevents.1705851296.73095be6df3d.7423.0 +3 -0
- runs/Jan21_15-34-16_73095be6df3d/events.out.tfevents.1705851340.73095be6df3d.7423.1 +3 -0
- special_tokens_map.json +15 -0
- spm.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +58 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: microsoft/deberta-v3-small
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- accuracy
|
10 |
+
- f1
|
11 |
+
model-index:
|
12 |
+
- name: deberta-v3-ft-news-sentiment-analisys
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# deberta-v3-ft-news-sentiment-analisys
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [microsoft/deberta-v3-small](https://huggingface.co/microsoft/deberta-v3-small) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.2868
|
24 |
+
- Precision: 0.8987
|
25 |
+
- Recall: 0.8987
|
26 |
+
- Accuracy: 0.8987
|
27 |
+
- F1: 0.8987
|
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: 32
|
48 |
+
- eval_batch_size: 64
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 5
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Accuracy | F1 |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:--------:|:------:|
|
58 |
+
| No log | 1.0 | 64 | 0.8396 | 0.7093 | 0.7093 | 0.7093 | 0.7093 |
|
59 |
+
| No log | 2.0 | 128 | 0.4040 | 0.8194 | 0.8194 | 0.8194 | 0.8194 |
|
60 |
+
| No log | 3.0 | 192 | 0.4036 | 0.8238 | 0.8238 | 0.8238 | 0.8238 |
|
61 |
+
| No log | 4.0 | 256 | 0.3208 | 0.8767 | 0.8767 | 0.8767 | 0.8767 |
|
62 |
+
| No log | 5.0 | 320 | 0.2868 | 0.8987 | 0.8987 | 0.8987 | 0.8987 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.35.2
|
68 |
+
- Pytorch 2.1.0+cu121
|
69 |
+
- Datasets 2.16.1
|
70 |
+
- Tokenizers 0.15.0
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[MASK]": 128000
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/deberta-v3-small",
|
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": "LABEL_0",
|
12 |
+
"1": "LABEL_1",
|
13 |
+
"2": "LABEL_2",
|
14 |
+
"3": "LABEL_3",
|
15 |
+
"4": "LABEL_4",
|
16 |
+
"5": "LABEL_5",
|
17 |
+
"6": "LABEL_6",
|
18 |
+
"7": "LABEL_7",
|
19 |
+
"8": "LABEL_8",
|
20 |
+
"9": "LABEL_9",
|
21 |
+
"10": "LABEL_10",
|
22 |
+
"11": "LABEL_11",
|
23 |
+
"12": "LABEL_12",
|
24 |
+
"13": "LABEL_13",
|
25 |
+
"14": "LABEL_14",
|
26 |
+
"15": "LABEL_15",
|
27 |
+
"16": "LABEL_16",
|
28 |
+
"17": "LABEL_17",
|
29 |
+
"18": "LABEL_18",
|
30 |
+
"19": "LABEL_19",
|
31 |
+
"20": "LABEL_20",
|
32 |
+
"21": "LABEL_21",
|
33 |
+
"22": "LABEL_22",
|
34 |
+
"23": "LABEL_23",
|
35 |
+
"24": "LABEL_24",
|
36 |
+
"25": "LABEL_25",
|
37 |
+
"26": "LABEL_26",
|
38 |
+
"27": "LABEL_27",
|
39 |
+
"28": "LABEL_28",
|
40 |
+
"29": "LABEL_29",
|
41 |
+
"30": "LABEL_30",
|
42 |
+
"31": "LABEL_31",
|
43 |
+
"32": "LABEL_32",
|
44 |
+
"33": "LABEL_33",
|
45 |
+
"34": "LABEL_34",
|
46 |
+
"35": "LABEL_35",
|
47 |
+
"36": "LABEL_36",
|
48 |
+
"37": "LABEL_37",
|
49 |
+
"38": "LABEL_38",
|
50 |
+
"39": "LABEL_39",
|
51 |
+
"40": "LABEL_40"
|
52 |
+
},
|
53 |
+
"initializer_range": 0.02,
|
54 |
+
"intermediate_size": 3072,
|
55 |
+
"label2id": {
|
56 |
+
"LABEL_0": 0,
|
57 |
+
"LABEL_1": 1,
|
58 |
+
"LABEL_10": 10,
|
59 |
+
"LABEL_11": 11,
|
60 |
+
"LABEL_12": 12,
|
61 |
+
"LABEL_13": 13,
|
62 |
+
"LABEL_14": 14,
|
63 |
+
"LABEL_15": 15,
|
64 |
+
"LABEL_16": 16,
|
65 |
+
"LABEL_17": 17,
|
66 |
+
"LABEL_18": 18,
|
67 |
+
"LABEL_19": 19,
|
68 |
+
"LABEL_2": 2,
|
69 |
+
"LABEL_20": 20,
|
70 |
+
"LABEL_21": 21,
|
71 |
+
"LABEL_22": 22,
|
72 |
+
"LABEL_23": 23,
|
73 |
+
"LABEL_24": 24,
|
74 |
+
"LABEL_25": 25,
|
75 |
+
"LABEL_26": 26,
|
76 |
+
"LABEL_27": 27,
|
77 |
+
"LABEL_28": 28,
|
78 |
+
"LABEL_29": 29,
|
79 |
+
"LABEL_3": 3,
|
80 |
+
"LABEL_30": 30,
|
81 |
+
"LABEL_31": 31,
|
82 |
+
"LABEL_32": 32,
|
83 |
+
"LABEL_33": 33,
|
84 |
+
"LABEL_34": 34,
|
85 |
+
"LABEL_35": 35,
|
86 |
+
"LABEL_36": 36,
|
87 |
+
"LABEL_37": 37,
|
88 |
+
"LABEL_38": 38,
|
89 |
+
"LABEL_39": 39,
|
90 |
+
"LABEL_4": 4,
|
91 |
+
"LABEL_40": 40,
|
92 |
+
"LABEL_5": 5,
|
93 |
+
"LABEL_6": 6,
|
94 |
+
"LABEL_7": 7,
|
95 |
+
"LABEL_8": 8,
|
96 |
+
"LABEL_9": 9
|
97 |
+
},
|
98 |
+
"layer_norm_eps": 1e-07,
|
99 |
+
"max_position_embeddings": 512,
|
100 |
+
"max_relative_positions": -1,
|
101 |
+
"model_type": "deberta-v2",
|
102 |
+
"norm_rel_ebd": "layer_norm",
|
103 |
+
"num_attention_heads": 12,
|
104 |
+
"num_hidden_layers": 6,
|
105 |
+
"pad_token_id": 0,
|
106 |
+
"pooler_dropout": 0,
|
107 |
+
"pooler_hidden_act": "gelu",
|
108 |
+
"pooler_hidden_size": 768,
|
109 |
+
"pos_att_type": [
|
110 |
+
"p2c",
|
111 |
+
"c2p"
|
112 |
+
],
|
113 |
+
"position_biased_input": false,
|
114 |
+
"position_buckets": 256,
|
115 |
+
"relative_attention": true,
|
116 |
+
"share_att_key": true,
|
117 |
+
"torch_dtype": "float32",
|
118 |
+
"transformers_version": "4.35.2",
|
119 |
+
"type_vocab_size": 0,
|
120 |
+
"vocab_size": 128100
|
121 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca120578a55bc2831c16e8438d8d4358555485ee45630bdaca9c1aa925b7761f
|
3 |
+
size 567718532
|
runs/Jan21_15-34-16_73095be6df3d/events.out.tfevents.1705851296.73095be6df3d.7423.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:217f3d59b3bb873b4404a4e45463b1c46fa788ad2a1314fa631bda830d2e8e81
|
3 |
+
size 8842
|
runs/Jan21_15-34-16_73095be6df3d/events.out.tfevents.1705851340.73095be6df3d.7423.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d67a222ea72c8071290fa334e1e30465d8d0e6428dc200cadca0a96d650e09d
|
3 |
+
size 560
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": {
|
9 |
+
"content": "[UNK]",
|
10 |
+
"lstrip": false,
|
11 |
+
"normalized": true,
|
12 |
+
"rstrip": false,
|
13 |
+
"single_word": false
|
14 |
+
}
|
15 |
+
}
|
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,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"bos_token": "[CLS]",
|
45 |
+
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "[CLS]",
|
47 |
+
"do_lower_case": false,
|
48 |
+
"eos_token": "[SEP]",
|
49 |
+
"mask_token": "[MASK]",
|
50 |
+
"model_max_length": 1000000000000000019884624838656,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"sep_token": "[SEP]",
|
53 |
+
"sp_model_kwargs": {},
|
54 |
+
"split_by_punct": false,
|
55 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
56 |
+
"unk_token": "[UNK]",
|
57 |
+
"vocab_type": "spm"
|
58 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7c7fa727999a716b93bcc0540cf3a377d26423240202cda38181227004c03f31
|
3 |
+
size 4600
|