MatteoFasulo commited on
Commit
c74f124
·
verified ·
1 Parent(s): 33e4ea0

End of training

Browse files
Files changed (4) hide show
  1. README.md +70 -0
  2. config.json +43 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ model-index:
8
+ - name: mdeberta-v3-base-subjectivity-sentiment-german
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # mdeberta-v3-base-subjectivity-sentiment-german
16
+
17
+ This model is a fine-tuned version of [](https://huggingface.co/) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.5653
20
+ - Macro F1: 0.7777
21
+ - Macro P: 0.7751
22
+ - Macro R: 0.7811
23
+ - Subj F1: 0.7171
24
+ - Subj P: 0.6995
25
+ - Subj R: 0.7356
26
+ - Accuracy: 0.7943
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 1e-05
46
+ - train_batch_size: 16
47
+ - eval_batch_size: 16
48
+ - seed: 42
49
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 6
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Macro F1 | Macro P | Macro R | Subj F1 | Subj P | Subj R | Accuracy |
56
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:-------:|:-------:|:-------:|:------:|:------:|:--------:|
57
+ | No log | 1.0 | 50 | 0.6675 | 0.5751 | 0.7423 | 0.5934 | 0.3423 | 0.7917 | 0.2184 | 0.7026 |
58
+ | No log | 2.0 | 100 | 0.5013 | 0.7711 | 0.7663 | 0.7810 | 0.7166 | 0.67 | 0.7701 | 0.7841 |
59
+ | No log | 3.0 | 150 | 0.4989 | 0.7812 | 0.7763 | 0.7901 | 0.7278 | 0.6853 | 0.7759 | 0.7943 |
60
+ | No log | 4.0 | 200 | 0.5322 | 0.7744 | 0.7787 | 0.7710 | 0.7041 | 0.7256 | 0.6839 | 0.7963 |
61
+ | No log | 5.0 | 250 | 0.5520 | 0.7813 | 0.7821 | 0.7806 | 0.7168 | 0.7209 | 0.7126 | 0.8004 |
62
+ | No log | 6.0 | 300 | 0.5653 | 0.7777 | 0.7751 | 0.7811 | 0.7171 | 0.6995 | 0.7356 | 0.7943 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.49.0
68
+ - Pytorch 2.5.1+cu121
69
+ - Datasets 3.3.1
70
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CustomModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "hidden_act": "gelu",
7
+ "hidden_dropout_prob": 0.1,
8
+ "hidden_size": 768,
9
+ "id2label": {
10
+ "0": "OBJ",
11
+ "1": "SUBJ"
12
+ },
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "label2id": {
16
+ "OBJ": 0,
17
+ "SUBJ": 1
18
+ },
19
+ "layer_norm_eps": 1e-07,
20
+ "legacy": true,
21
+ "max_position_embeddings": 512,
22
+ "max_relative_positions": -1,
23
+ "model_type": "deberta-v2",
24
+ "norm_rel_ebd": "layer_norm",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "pooler_dropout": 0,
29
+ "pooler_hidden_act": "gelu",
30
+ "pooler_hidden_size": 768,
31
+ "pos_att_type": [
32
+ "p2c",
33
+ "c2p"
34
+ ],
35
+ "position_biased_input": false,
36
+ "position_buckets": 256,
37
+ "relative_attention": true,
38
+ "share_att_key": true,
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.49.0",
41
+ "type_vocab_size": 0,
42
+ "vocab_size": 251000
43
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee63062bc5a80bbda5ddac45846b517af3f831ecba1b1bc0700346659e331b70
3
+ size 1115268224
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a04ebe43f7db5bd2517bb7463950580a20942a2555c64f9614367eebd08d704
3
+ size 5368