MatteoFasulo commited on
Commit
5c1b6ca
·
verified ·
1 Parent(s): 16b313f

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-italian
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-italian
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.7922
22
+ - Macro F1: 0.7490
23
+ - Macro P: 0.7409
24
+ - Macro R: 0.7602
25
+ - Subj F1: 0.6402
26
+ - Subj P: 0.6020
27
+ - Subj R: 0.6836
28
+ - Accuracy: 0.7961
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 | 101 | 0.6818 | 0.5159 | 0.6822 | 0.5414 | 0.1827 | 0.6129 | 0.1073 | 0.7451 |
60
+ | No log | 2.0 | 202 | 0.5257 | 0.6735 | 0.6922 | 0.7465 | 0.5977 | 0.4567 | 0.8644 | 0.6912 |
61
+ | No log | 3.0 | 303 | 0.6269 | 0.7393 | 0.7355 | 0.7437 | 0.6209 | 0.6043 | 0.6384 | 0.7931 |
62
+ | No log | 4.0 | 404 | 0.6516 | 0.7448 | 0.7353 | 0.7597 | 0.6373 | 0.5885 | 0.6949 | 0.7901 |
63
+ | 0.4326 | 5.0 | 505 | 0.7883 | 0.7463 | 0.7413 | 0.7522 | 0.6322 | 0.6105 | 0.6554 | 0.7976 |
64
+ | 0.4326 | 6.0 | 606 | 0.7922 | 0.7490 | 0.7409 | 0.7602 | 0.6402 | 0.6020 | 0.6836 | 0.7961 |
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:d3133652be0d81642ce43b12082f9647e13f486f6d2d56f8bdd299ca54259fd8
3
+ size 1115268200
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01c440d9660c2fd2a41a9d9fdd7cd2462d4267e6f72345994b21b304073bef6c
3
+ size 5368