MatteoFasulo commited on
Commit
4f1465d
·
verified ·
1 Parent(s): 2e6accd

End of training

Browse files
Files changed (4) hide show
  1. README.md +72 -0
  2. config.json +44 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: microsoft/mdeberta-v3-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: mdeberta-v3-base-subjectivity-english
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
+ # mdeberta-v3-base-subjectivity-english
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: 0.5845
22
+ - Macro F1: 0.7921
23
+ - Macro P: 0.7952
24
+ - Macro R: 0.7941
25
+ - Subj F1: 0.7885
26
+ - Subj P: 0.8364
27
+ - Subj R: 0.7458
28
+ - Accuracy: 0.7922
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 1e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 6
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Macro F1 | Macro P | Macro R | Subj F1 | Subj P | Subj R | Accuracy |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:-------:|:-------:|:-------:|:------:|:------:|:--------:|
59
+ | No log | 1.0 | 52 | 0.6894 | 0.5697 | 0.7150 | 0.6233 | 0.4375 | 0.875 | 0.2917 | 0.6104 |
60
+ | No log | 2.0 | 104 | 0.4827 | 0.7785 | 0.7793 | 0.7782 | 0.7910 | 0.7782 | 0.8042 | 0.7792 |
61
+ | No log | 3.0 | 156 | 0.4996 | 0.7922 | 0.7931 | 0.7932 | 0.7931 | 0.8214 | 0.7667 | 0.7922 |
62
+ | No log | 4.0 | 208 | 0.5405 | 0.7986 | 0.8027 | 0.8008 | 0.7938 | 0.8483 | 0.7458 | 0.7987 |
63
+ | No log | 5.0 | 260 | 0.5838 | 0.7920 | 0.7978 | 0.7948 | 0.7848 | 0.8495 | 0.7292 | 0.7922 |
64
+ | No log | 6.0 | 312 | 0.5845 | 0.7921 | 0.7952 | 0.7941 | 0.7885 | 0.8364 | 0.7458 | 0.7922 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.49.0
70
+ - Pytorch 2.5.1+cu121
71
+ - Datasets 3.3.1
72
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "OBJ",
12
+ "1": "SUBJ"
13
+ },
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 3072,
16
+ "label2id": {
17
+ "OBJ": 0,
18
+ "SUBJ": 1
19
+ },
20
+ "layer_norm_eps": 1e-07,
21
+ "legacy": true,
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
+ "relative_attention": true,
39
+ "share_att_key": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.49.0",
42
+ "type_vocab_size": 0,
43
+ "vocab_size": 251000
44
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b55016b72b8bcbb81f703eb73123d82260398051db8bf3074e19dc93f5af318
3
+ size 1115268200
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32147bfa33e8322e06816e4882830b007cf47014167cd6bcfb04502ef707f8c6
3
+ size 5368