hermanda commited on
Commit
1b41b5c
·
verified ·
1 Parent(s): e6d983d

v3: all layers, lr=1e-5, class_weight=3.0, early_stop on loss, F1=0.505

Browse files
Files changed (4) hide show
  1. README.md +71 -0
  2. config.json +37 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: cc-by-nc-sa-4.0
4
+ base_model: ufal/robeczech-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ model-index:
12
+ - name: robeczech-propaganda
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # robeczech-propaganda
20
+
21
+ This model is a fine-tuned version of [ufal/robeczech-base](https://huggingface.co/ufal/robeczech-base) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.5046
24
+ - Precision: 0.4419
25
+ - Recall: 0.5808
26
+ - F1: 0.5019
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: 32
47
+ - eval_batch_size: 64
48
+ - seed: 42
49
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
50
+ - lr_scheduler_type: linear
51
+ - lr_scheduler_warmup_steps: 100
52
+ - num_epochs: 8
53
+ - mixed_precision_training: Native AMP
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 |
58
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|
59
+ | 0.5125 | 1.0 | 299 | 0.4987 | 0.2992 | 0.7773 | 0.4320 |
60
+ | 0.4588 | 2.0 | 598 | 0.4667 | 0.375 | 0.6943 | 0.4870 |
61
+ | 0.4181 | 3.0 | 897 | 0.4481 | 0.4308 | 0.6114 | 0.5054 |
62
+ | 0.3658 | 4.0 | 1196 | 0.4642 | 0.4222 | 0.6157 | 0.5009 |
63
+ | 0.3050 | 5.0 | 1495 | 0.5046 | 0.4419 | 0.5808 | 0.5019 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 5.0.0
69
+ - Pytorch 2.10.0+cu128
70
+ - Datasets 4.0.0
71
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "not_propaganda",
17
+ "1": "propaganda"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "is_decoder": false,
22
+ "label2id": {
23
+ "not_propaganda": 0,
24
+ "propaganda": 1
25
+ },
26
+ "layer_norm_eps": 1e-05,
27
+ "max_position_embeddings": 514,
28
+ "model_type": "roberta",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 1,
32
+ "tie_word_embeddings": true,
33
+ "transformers_version": "5.0.0",
34
+ "type_vocab_size": 1,
35
+ "use_cache": false,
36
+ "vocab_size": 51997
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69af442bcb7b084dd9ad1d2d9e91742c9e7a2920686c86fb85693ee8c9c3d8e6
3
+ size 503933504
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:401403987d06fb219f7540318a7def6a62c1525b90ae004a3da3094ca3efb2bb
3
+ size 5201