Upload 13 files
Browse filesadd deberta-v3-large-cola files
- README.md +68 -0
- added_tokens.json +3 -0
- all_results.json +14 -0
- config.json +44 -0
- eval_results.json +9 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +9 -0
- spm.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +16 -0
- train_results.json +8 -0
- trainer_state.json +61 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,3 +1,71 @@
|
|
1 |
---
|
|
|
|
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
license: mit
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- glue
|
9 |
+
metrics:
|
10 |
+
- matthews_correlation
|
11 |
+
model-index:
|
12 |
+
- name: debv3base
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Text Classification
|
16 |
+
type: text-classification
|
17 |
+
dataset:
|
18 |
+
name: GLUE COLA
|
19 |
+
type: glue
|
20 |
+
args: cola
|
21 |
+
metrics:
|
22 |
+
- name: Matthews Correlation
|
23 |
+
type: matthews_correlation
|
24 |
+
value: 0.7193201130196331
|
25 |
---
|
26 |
+
|
27 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
28 |
+
should probably proofread and complete it, then remove this comment. -->
|
29 |
+
|
30 |
+
# debv3base
|
31 |
+
|
32 |
+
This model is a fine-tuned version of [microsoft/deberta-v3-large](https://huggingface.co/microsoft/deberta-v3-large) on the GLUE COLA dataset.
|
33 |
+
It achieves the following results on the evaluation set:
|
34 |
+
- Loss: 0.5335
|
35 |
+
- Matthews Correlation: 0.7193
|
36 |
+
|
37 |
+
## Model description
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Intended uses & limitations
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Training and evaluation data
|
46 |
+
|
47 |
+
More information needed
|
48 |
+
|
49 |
+
## Training procedure
|
50 |
+
|
51 |
+
### Training hyperparameters
|
52 |
+
|
53 |
+
The following hyperparameters were used during training:
|
54 |
+
- learning_rate: 3e-06
|
55 |
+
- train_batch_size: 8
|
56 |
+
- eval_batch_size: 8
|
57 |
+
- seed: 42
|
58 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
59 |
+
- lr_scheduler_type: linear
|
60 |
+
- num_epochs: 3.0
|
61 |
+
|
62 |
+
### Training results
|
63 |
+
|
64 |
+
|
65 |
+
|
66 |
+
### Framework versions
|
67 |
+
|
68 |
+
- Transformers 4.21.2
|
69 |
+
- Pytorch 1.12.1+cu113
|
70 |
+
- Datasets 2.1.0
|
71 |
+
- Tokenizers 0.12.1
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[MASK]": 128000
|
3 |
+
}
|
all_results.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_loss": 0.5334528088569641,
|
4 |
+
"eval_matthews_correlation": 0.7193201130196331,
|
5 |
+
"eval_runtime": 10.2963,
|
6 |
+
"eval_samples": 1043,
|
7 |
+
"eval_samples_per_second": 101.299,
|
8 |
+
"eval_steps_per_second": 12.723,
|
9 |
+
"train_loss": 0.27882336008983644,
|
10 |
+
"train_runtime": 1049.1554,
|
11 |
+
"train_samples": 8551,
|
12 |
+
"train_samples_per_second": 24.451,
|
13 |
+
"train_steps_per_second": 3.057
|
14 |
+
}
|
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/deberta-v3-large",
|
3 |
+
"architectures": [
|
4 |
+
"DebertaV2ForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"finetuning_task": "cola",
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 1024,
|
11 |
+
"id2label": {
|
12 |
+
"0": "unacceptable",
|
13 |
+
"1": "acceptable"
|
14 |
+
},
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 4096,
|
17 |
+
"label2id": {
|
18 |
+
"acceptable": 1,
|
19 |
+
"unacceptable": 0
|
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": 16,
|
27 |
+
"num_hidden_layers": 24,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"pooler_dropout": 0,
|
30 |
+
"pooler_hidden_act": "gelu",
|
31 |
+
"pooler_hidden_size": 1024,
|
32 |
+
"pos_att_type": [
|
33 |
+
"p2c",
|
34 |
+
"c2p"
|
35 |
+
],
|
36 |
+
"position_biased_input": false,
|
37 |
+
"position_buckets": 256,
|
38 |
+
"relative_attention": true,
|
39 |
+
"share_att_key": true,
|
40 |
+
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.21.2",
|
42 |
+
"type_vocab_size": 0,
|
43 |
+
"vocab_size": 128100
|
44 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_loss": 0.5334528088569641,
|
4 |
+
"eval_matthews_correlation": 0.7193201130196331,
|
5 |
+
"eval_runtime": 10.2963,
|
6 |
+
"eval_samples": 1043,
|
7 |
+
"eval_samples_per_second": 101.299,
|
8 |
+
"eval_steps_per_second": 12.723
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b878984a61288c3c77d2f54d456e08bdcbf7a39373b28ec3e30860e3071b86a
|
3 |
+
size 1740393387
|
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,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "[CLS]",
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_lower_case": false,
|
5 |
+
"eos_token": "[SEP]",
|
6 |
+
"mask_token": "[MASK]",
|
7 |
+
"name_or_path": "microsoft/deberta-v3-large",
|
8 |
+
"pad_token": "[PAD]",
|
9 |
+
"sep_token": "[SEP]",
|
10 |
+
"sp_model_kwargs": {},
|
11 |
+
"special_tokens_map_file": null,
|
12 |
+
"split_by_punct": false,
|
13 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
14 |
+
"unk_token": "[UNK]",
|
15 |
+
"vocab_type": "spm"
|
16 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"train_loss": 0.27882336008983644,
|
4 |
+
"train_runtime": 1049.1554,
|
5 |
+
"train_samples": 8551,
|
6 |
+
"train_samples_per_second": 24.451,
|
7 |
+
"train_steps_per_second": 3.057
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"global_step": 3207,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.47,
|
12 |
+
"learning_rate": 2.532273152478952e-06,
|
13 |
+
"loss": 0.4213,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.94,
|
18 |
+
"learning_rate": 2.0645463049579046e-06,
|
19 |
+
"loss": 0.3452,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 1.4,
|
24 |
+
"learning_rate": 1.5968194574368567e-06,
|
25 |
+
"loss": 0.2744,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 1.87,
|
30 |
+
"learning_rate": 1.1290926099158092e-06,
|
31 |
+
"loss": 0.2548,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.34,
|
36 |
+
"learning_rate": 6.613657623947614e-07,
|
37 |
+
"loss": 0.2152,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 2.81,
|
42 |
+
"learning_rate": 1.9363891487371378e-07,
|
43 |
+
"loss": 0.1992,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 3.0,
|
48 |
+
"step": 3207,
|
49 |
+
"total_flos": 5976749164543488.0,
|
50 |
+
"train_loss": 0.27882336008983644,
|
51 |
+
"train_runtime": 1049.1554,
|
52 |
+
"train_samples_per_second": 24.451,
|
53 |
+
"train_steps_per_second": 3.057
|
54 |
+
}
|
55 |
+
],
|
56 |
+
"max_steps": 3207,
|
57 |
+
"num_train_epochs": 3,
|
58 |
+
"total_flos": 5976749164543488.0,
|
59 |
+
"trial_name": null,
|
60 |
+
"trial_params": null
|
61 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:759df80c4447973a26ebd65c3f96e3fa94fdfb86acb2edad589367219947e001
|
3 |
+
size 3375
|