End of training
Browse files- README.md +76 -0
- config.json +38 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/Jan16_21-51-17_467d44131d77/events.out.tfevents.1705441878.467d44131d77.282.0 +3 -0
- runs/Jan16_21-51-17_467d44131d77/events.out.tfevents.1705442153.467d44131d77.282.1 +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +59 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: microsoft/deberta-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- f1
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: output
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# output
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [microsoft/deberta-base](https://huggingface.co/microsoft/deberta-base) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.0014
|
22 |
+
- F1: 0.9009
|
23 |
+
- Accuracy: 0.89
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 3e-05
|
43 |
+
- train_batch_size: 8
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- gradient_accumulation_steps: 2
|
47 |
+
- total_train_batch_size: 16
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- num_epochs: 2
|
51 |
+
- mixed_precision_training: Native AMP
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 | Accuracy |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:--------:|
|
57 |
+
| 0.3529 | 0.16 | 10 | 0.2584 | 0.6667 | 0.5 |
|
58 |
+
| 0.2348 | 0.32 | 20 | 0.0989 | 0.6667 | 0.5 |
|
59 |
+
| 0.0492 | 0.48 | 30 | 0.0314 | 0.9615 | 0.96 |
|
60 |
+
| 0.0336 | 0.64 | 40 | 0.0132 | 0.6849 | 0.54 |
|
61 |
+
| 0.0185 | 0.8 | 50 | 0.0345 | 0.6667 | 0.5 |
|
62 |
+
| 0.0114 | 0.96 | 60 | 0.0490 | 0.9524 | 0.95 |
|
63 |
+
| 0.0118 | 1.12 | 70 | 0.0235 | 0.7042 | 0.58 |
|
64 |
+
| 0.01 | 1.28 | 80 | 0.0352 | 0.7299 | 0.63 |
|
65 |
+
| 0.0061 | 1.44 | 90 | 0.0195 | 0.8 | 0.75 |
|
66 |
+
| 0.0067 | 1.6 | 100 | 0.0108 | 0.8547 | 0.83 |
|
67 |
+
| 0.0055 | 1.76 | 110 | 0.0186 | 0.7874 | 0.73 |
|
68 |
+
| 0.0052 | 1.92 | 120 | 0.0141 | 0.9174 | 0.91 |
|
69 |
+
|
70 |
+
|
71 |
+
### Framework versions
|
72 |
+
|
73 |
+
- Transformers 4.35.2
|
74 |
+
- Pytorch 2.1.0+cu121
|
75 |
+
- Datasets 2.16.1
|
76 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/deberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"DebertaForSequenceClassification"
|
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 |
+
},
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 3072,
|
15 |
+
"label2id": {
|
16 |
+
"LABEL_0": 0
|
17 |
+
},
|
18 |
+
"layer_norm_eps": 1e-07,
|
19 |
+
"max_position_embeddings": 512,
|
20 |
+
"max_relative_positions": -1,
|
21 |
+
"model_type": "deberta",
|
22 |
+
"num_attention_heads": 12,
|
23 |
+
"num_hidden_layers": 12,
|
24 |
+
"pad_token_id": 0,
|
25 |
+
"pooler_dropout": 0,
|
26 |
+
"pooler_hidden_act": "gelu",
|
27 |
+
"pooler_hidden_size": 768,
|
28 |
+
"pos_att_type": [
|
29 |
+
"c2p",
|
30 |
+
"p2c"
|
31 |
+
],
|
32 |
+
"position_biased_input": false,
|
33 |
+
"relative_attention": true,
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.35.2",
|
36 |
+
"type_vocab_size": 0,
|
37 |
+
"vocab_size": 50265
|
38 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ac257fb005153ce160f076f906876146c281c994c7ef230aa88e4c84cec9ecf
|
3 |
+
size 556796484
|
runs/Jan16_21-51-17_467d44131d77/events.out.tfevents.1705441878.467d44131d77.282.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5ce5de10743bbf5c23afecfe2be120d2a8a639237e17b24cd1bb7179d4a14125
|
3 |
+
size 12704
|
runs/Jan16_21-51-17_467d44131d77/events.out.tfevents.1705442153.467d44131d77.282.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:815ae1d750602b2918aacbe777e9d28a22288f383dda511d2974264387670f7a
|
3 |
+
size 450
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "[CLS]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "[SEP]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "[MASK]",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "[PAD]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "[SEP]",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "[UNK]",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
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 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "[PAD]",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "[CLS]",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "[SEP]",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "[UNK]",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"50264": {
|
38 |
+
"content": "[MASK]",
|
39 |
+
"lstrip": true,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
}
|
45 |
+
},
|
46 |
+
"bos_token": "[CLS]",
|
47 |
+
"clean_up_tokenization_spaces": true,
|
48 |
+
"cls_token": "[CLS]",
|
49 |
+
"do_lower_case": false,
|
50 |
+
"eos_token": "[SEP]",
|
51 |
+
"errors": "replace",
|
52 |
+
"mask_token": "[MASK]",
|
53 |
+
"model_max_length": 512,
|
54 |
+
"pad_token": "[PAD]",
|
55 |
+
"sep_token": "[SEP]",
|
56 |
+
"tokenizer_class": "DebertaTokenizer",
|
57 |
+
"unk_token": "[UNK]",
|
58 |
+
"vocab_type": "gpt2"
|
59 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c70fe21bac7d0bc73dbb0e136fe1d8350ca9a685cebb6c677e522b8e8d29fc90
|
3 |
+
size 4536
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|