haryoaw commited on
Commit
f697694
1 Parent(s): 5aa4b87

Initial Commit

Browse files
Files changed (4) hide show
  1. README.md +86 -0
  2. config.json +29 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: xlm-roberta-base
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - hate_speech_filipino
8
+ metrics:
9
+ - accuracy
10
+ - f1
11
+ model-index:
12
+ - name: scenario-teacher-data-hate_speech_filipino-model-xlm-roberta-base
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
+ # scenario-teacher-data-hate_speech_filipino-model-xlm-roberta-base
20
+
21
+ This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the hate_speech_filipino dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 1.0437
24
+ - Accuracy: 0.7817
25
+ - F1: 0.7687
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 5e-05
45
+ - train_batch_size: 32
46
+ - eval_batch_size: 32
47
+ - seed: 42
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 6969
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
56
+ | No log | 0.32 | 100 | 0.5923 | 0.6966 | 0.7200 |
57
+ | No log | 0.64 | 200 | 0.5214 | 0.7450 | 0.7202 |
58
+ | No log | 0.96 | 300 | 0.5052 | 0.7554 | 0.7372 |
59
+ | No log | 1.28 | 400 | 0.5106 | 0.7649 | 0.7442 |
60
+ | 0.5444 | 1.6 | 500 | 0.5499 | 0.7559 | 0.7564 |
61
+ | 0.5444 | 1.92 | 600 | 0.4998 | 0.7566 | 0.6862 |
62
+ | 0.5444 | 2.24 | 700 | 0.5269 | 0.7760 | 0.7653 |
63
+ | 0.5444 | 2.56 | 800 | 0.5129 | 0.7836 | 0.7716 |
64
+ | 0.5444 | 2.88 | 900 | 0.5132 | 0.7668 | 0.7070 |
65
+ | 0.3971 | 3.19 | 1000 | 0.5680 | 0.7805 | 0.7510 |
66
+ | 0.3971 | 3.51 | 1100 | 0.5999 | 0.7781 | 0.7696 |
67
+ | 0.3971 | 3.83 | 1200 | 0.6097 | 0.7632 | 0.7674 |
68
+ | 0.3971 | 4.15 | 1300 | 0.6476 | 0.7795 | 0.7573 |
69
+ | 0.3971 | 4.47 | 1400 | 0.6461 | 0.7843 | 0.7629 |
70
+ | 0.2704 | 4.79 | 1500 | 0.6329 | 0.7786 | 0.7634 |
71
+ | 0.2704 | 5.11 | 1600 | 0.7783 | 0.7729 | 0.7396 |
72
+ | 0.2704 | 5.43 | 1700 | 0.6963 | 0.7750 | 0.7285 |
73
+ | 0.2704 | 5.75 | 1800 | 0.7857 | 0.7892 | 0.7680 |
74
+ | 0.2704 | 6.07 | 1900 | 0.6921 | 0.7762 | 0.7655 |
75
+ | 0.215 | 6.39 | 2000 | 0.7196 | 0.7722 | 0.7499 |
76
+ | 0.215 | 6.71 | 2100 | 1.0259 | 0.7691 | 0.7671 |
77
+ | 0.215 | 7.03 | 2200 | 1.1496 | 0.7767 | 0.7640 |
78
+ | 0.215 | 7.35 | 2300 | 1.0437 | 0.7817 | 0.7687 |
79
+
80
+
81
+ ### Framework versions
82
+
83
+ - Transformers 4.33.3
84
+ - Pytorch 2.0.1
85
+ - Datasets 2.14.5
86
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlm-roberta-base",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassificationKD"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "xlm-roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "problem_type": "single_label_classification",
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.33.3",
26
+ "type_vocab_size": 1,
27
+ "use_cache": true,
28
+ "vocab_size": 250002
29
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f118caaa444cdd6e5dc0d44e922b144fdab24fe6cb2e0955ec704e886e78d0f0
3
+ size 1112249713
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14016c8b6837769569f259f9419e7d05e7b77594a1c8f93de6cb016c9e9285b7
3
+ size 4155