Initial Commit
Browse files- README.md +88 -0
- config.json +45 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: microsoft/mdeberta-v3-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
model-index:
|
10 |
+
- name: scenario-TCR_data-cl-cardiff_cl_only
|
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 |
+
# scenario-TCR_data-cl-cardiff_cl_only
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [microsoft/mdeberta-v3-base](https://huggingface.co/microsoft/mdeberta-v3-base) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 4.9878
|
22 |
+
- Accuracy: 0.5278
|
23 |
+
- F1: 0.5292
|
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: 5e-05
|
43 |
+
- train_batch_size: 32
|
44 |
+
- eval_batch_size: 32
|
45 |
+
- seed: 66
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 30
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
|
54 |
+
| No log | 1.09 | 250 | 1.1991 | 0.5154 | 0.5166 |
|
55 |
+
| 0.731 | 2.17 | 500 | 1.5346 | 0.5316 | 0.5279 |
|
56 |
+
| 0.731 | 3.26 | 750 | 1.6658 | 0.5255 | 0.5251 |
|
57 |
+
| 0.3491 | 4.35 | 1000 | 1.9635 | 0.5185 | 0.5189 |
|
58 |
+
| 0.3491 | 5.43 | 1250 | 2.1732 | 0.5231 | 0.5221 |
|
59 |
+
| 0.1838 | 6.52 | 1500 | 3.0035 | 0.5239 | 0.5256 |
|
60 |
+
| 0.1838 | 7.61 | 1750 | 2.9315 | 0.5239 | 0.5258 |
|
61 |
+
| 0.122 | 8.7 | 2000 | 2.8799 | 0.5039 | 0.5009 |
|
62 |
+
| 0.122 | 9.78 | 2250 | 3.0551 | 0.5023 | 0.5037 |
|
63 |
+
| 0.0746 | 10.87 | 2500 | 3.2668 | 0.5262 | 0.5279 |
|
64 |
+
| 0.0746 | 11.96 | 2750 | 3.3828 | 0.5046 | 0.5062 |
|
65 |
+
| 0.0434 | 13.04 | 3000 | 3.8937 | 0.4954 | 0.4929 |
|
66 |
+
| 0.0434 | 14.13 | 3250 | 3.7629 | 0.5224 | 0.5235 |
|
67 |
+
| 0.0369 | 15.22 | 3500 | 4.1508 | 0.4931 | 0.4880 |
|
68 |
+
| 0.0369 | 16.3 | 3750 | 4.2268 | 0.5239 | 0.5240 |
|
69 |
+
| 0.0186 | 17.39 | 4000 | 4.3692 | 0.5054 | 0.5057 |
|
70 |
+
| 0.0186 | 18.48 | 4250 | 4.3635 | 0.5108 | 0.5108 |
|
71 |
+
| 0.0156 | 19.57 | 4500 | 4.4833 | 0.5062 | 0.5039 |
|
72 |
+
| 0.0156 | 20.65 | 4750 | 4.5300 | 0.5039 | 0.5043 |
|
73 |
+
| 0.0093 | 21.74 | 5000 | 4.5612 | 0.5239 | 0.5236 |
|
74 |
+
| 0.0093 | 22.83 | 5250 | 4.7381 | 0.5208 | 0.5216 |
|
75 |
+
| 0.0088 | 23.91 | 5500 | 4.6106 | 0.5324 | 0.5334 |
|
76 |
+
| 0.0088 | 25.0 | 5750 | 4.8040 | 0.5255 | 0.5269 |
|
77 |
+
| 0.0039 | 26.09 | 6000 | 4.8616 | 0.5262 | 0.5283 |
|
78 |
+
| 0.0039 | 27.17 | 6250 | 4.9228 | 0.5231 | 0.5247 |
|
79 |
+
| 0.0052 | 28.26 | 6500 | 5.1665 | 0.5008 | 0.5012 |
|
80 |
+
| 0.0052 | 29.35 | 6750 | 4.9878 | 0.5278 | 0.5292 |
|
81 |
+
|
82 |
+
|
83 |
+
### Framework versions
|
84 |
+
|
85 |
+
- Transformers 4.33.3
|
86 |
+
- Pytorch 2.1.1+cu121
|
87 |
+
- Datasets 2.14.5
|
88 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/mdeberta-v3-base",
|
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 |
+
},
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 3072,
|
17 |
+
"label2id": {
|
18 |
+
"LABEL_0": 0,
|
19 |
+
"LABEL_1": 1,
|
20 |
+
"LABEL_2": 2
|
21 |
+
},
|
22 |
+
"layer_norm_eps": 1e-07,
|
23 |
+
"max_position_embeddings": 512,
|
24 |
+
"max_relative_positions": -1,
|
25 |
+
"model_type": "deberta-v2",
|
26 |
+
"norm_rel_ebd": "layer_norm",
|
27 |
+
"num_attention_heads": 12,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"pad_token_id": 0,
|
30 |
+
"pooler_dropout": 0,
|
31 |
+
"pooler_hidden_act": "gelu",
|
32 |
+
"pooler_hidden_size": 768,
|
33 |
+
"pos_att_type": [
|
34 |
+
"p2c",
|
35 |
+
"c2p"
|
36 |
+
],
|
37 |
+
"position_biased_input": false,
|
38 |
+
"position_buckets": 256,
|
39 |
+
"relative_attention": true,
|
40 |
+
"share_att_key": true,
|
41 |
+
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.33.3",
|
43 |
+
"type_vocab_size": 0,
|
44 |
+
"vocab_size": 251000
|
45 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11b46e3daedb2485570ba45b18a07ee2bfe13840af36fe43d955154828ef2648
|
3 |
+
size 1115316658
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2be073e47c414a204a23cdf21f7485f22d45b241240969bfb8acf0003e6af6ce
|
3 |
+
size 4536
|