MatteoFasulo commited on
Commit
60828b1
·
verified ·
1 Parent(s): edfb3c0

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-arabic
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-arabic
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.7442
20
+ - Macro F1: 0.5426
21
+ - Macro P: 0.5472
22
+ - Macro R: 0.5442
23
+ - Subj F1: 0.4457
24
+ - Subj P: 0.4910
25
+ - Subj R: 0.4080
26
+ - Accuracy: 0.5632
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 | 153 | 0.6885 | 0.5224 | 0.5299 | 0.5268 | 0.4068 | 0.4706 | 0.3582 | 0.5503 |
58
+ | No log | 2.0 | 306 | 0.6932 | 0.5204 | 0.5602 | 0.5416 | 0.3510 | 0.5248 | 0.2637 | 0.5803 |
59
+ | No log | 3.0 | 459 | 0.6928 | 0.5480 | 0.5748 | 0.5589 | 0.4087 | 0.5410 | 0.3284 | 0.5910 |
60
+ | 0.6721 | 4.0 | 612 | 0.7125 | 0.5485 | 0.5492 | 0.5500 | 0.5059 | 0.4820 | 0.5323 | 0.5525 |
61
+ | 0.6721 | 5.0 | 765 | 0.7238 | 0.5220 | 0.5667 | 0.5448 | 0.3490 | 0.5361 | 0.2587 | 0.5846 |
62
+ | 0.6721 | 6.0 | 918 | 0.7442 | 0.5426 | 0.5472 | 0.5442 | 0.4457 | 0.4910 | 0.4080 | 0.5632 |
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:d0d5edde4dc0abd460d7044a475d596212cf33dcd661c93a3cf95967a418d737
3
+ size 1115268224
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:913c30decf4fabbd4df80e6e40ffe4ee9556ab89b3b1562f32510566de428f99
3
+ size 5368