haryoaw commited on
Commit
b81f48e
1 Parent(s): 6d785aa

Initial Commit

Browse files
Files changed (4) hide show
  1. README.md +102 -0
  2. config.json +29 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-non-kd-from-scratch-data-hate_speech_filipino-model-xlm-roberta-base
13
+ results:
14
+ - task:
15
+ name: Text Classification
16
+ type: text-classification
17
+ dataset:
18
+ name: hate_speech_filipino
19
+ type: hate_speech_filipino
20
+ config: default
21
+ split: validation
22
+ args: default
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.7247164461247637
27
+ - name: F1
28
+ type: f1
29
+ value: 0.7256887214504355
30
+ ---
31
+
32
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
33
+ should probably proofread and complete it, then remove this comment. -->
34
+
35
+ # scenario-non-kd-from-scratch-data-hate_speech_filipino-model-xlm-roberta-base
36
+
37
+ This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the hate_speech_filipino dataset.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 1.0612
40
+ - Accuracy: 0.7247
41
+ - F1: 0.7257
42
+
43
+ ## Model description
44
+
45
+ More information needed
46
+
47
+ ## Intended uses & limitations
48
+
49
+ More information needed
50
+
51
+ ## Training and evaluation data
52
+
53
+ More information needed
54
+
55
+ ## Training procedure
56
+
57
+ ### Training hyperparameters
58
+
59
+ The following hyperparameters were used during training:
60
+ - learning_rate: 5e-05
61
+ - train_batch_size: 32
62
+ - eval_batch_size: 32
63
+ - seed: 42
64
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
65
+ - lr_scheduler_type: linear
66
+ - num_epochs: 6969
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
71
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
72
+ | No log | 0.32 | 100 | 0.6595 | 0.6307 | 0.6853 |
73
+ | No log | 0.64 | 200 | 0.5676 | 0.7032 | 0.6620 |
74
+ | No log | 0.96 | 300 | 0.5294 | 0.7358 | 0.7069 |
75
+ | No log | 1.28 | 400 | 0.5112 | 0.7493 | 0.7084 |
76
+ | 0.585 | 1.6 | 500 | 0.5554 | 0.7283 | 0.7420 |
77
+ | 0.585 | 1.92 | 600 | 0.5201 | 0.7349 | 0.6679 |
78
+ | 0.585 | 2.24 | 700 | 0.5838 | 0.7361 | 0.7415 |
79
+ | 0.585 | 2.56 | 800 | 0.5693 | 0.7325 | 0.7421 |
80
+ | 0.585 | 2.88 | 900 | 0.5469 | 0.7517 | 0.7128 |
81
+ | 0.3954 | 3.19 | 1000 | 0.6406 | 0.7509 | 0.7361 |
82
+ | 0.3954 | 3.51 | 1100 | 0.5834 | 0.7401 | 0.7158 |
83
+ | 0.3954 | 3.83 | 1200 | 0.6038 | 0.7538 | 0.7324 |
84
+ | 0.3954 | 4.15 | 1300 | 0.7079 | 0.7436 | 0.7230 |
85
+ | 0.3954 | 4.47 | 1400 | 0.7422 | 0.7474 | 0.7182 |
86
+ | 0.2591 | 4.79 | 1500 | 0.6393 | 0.75 | 0.7307 |
87
+ | 0.2591 | 5.11 | 1600 | 0.7890 | 0.7481 | 0.7307 |
88
+ | 0.2591 | 5.43 | 1700 | 1.0788 | 0.7332 | 0.6651 |
89
+ | 0.2591 | 5.75 | 1800 | 0.8036 | 0.7353 | 0.7157 |
90
+ | 0.2591 | 6.07 | 1900 | 1.0868 | 0.7474 | 0.7167 |
91
+ | 0.1729 | 6.39 | 2000 | 1.3150 | 0.7441 | 0.7027 |
92
+ | 0.1729 | 6.71 | 2100 | 1.0097 | 0.7351 | 0.7268 |
93
+ | 0.1729 | 7.03 | 2200 | 1.0160 | 0.7389 | 0.7074 |
94
+ | 0.1729 | 7.35 | 2300 | 1.0612 | 0.7247 | 0.7257 |
95
+
96
+
97
+ ### Framework versions
98
+
99
+ - Transformers 4.33.3
100
+ - Pytorch 2.0.1
101
+ - Datasets 2.14.5
102
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "xlm-roberta-base",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
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": 6,
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:d4496bd810ae7fa35b270f682577b59925ee72f7a789ebc7a2312bacebea3399
3
+ size 942107569
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84bf05bee62a396964cd194818c1f10badbca8c6865459cf981fdcf23914816e
3
+ size 4219