OwLim commited on
Commit
ee5c72e
·
verified ·
1 Parent(s): 96f5903

End of training

Browse files
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: flax-community/indonesian-roberta-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: indonesian-roberta-hate-speech-detection
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # indonesian-roberta-hate-speech-detection
21
+
22
+ This model is a fine-tuned version of [flax-community/indonesian-roberta-base](https://huggingface.co/flax-community/indonesian-roberta-base) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.4118
25
+ - Accuracy: 0.826
26
+ - Auc: 0.903
27
+ - Precision: 0.8257
28
+ - Recall: 0.8257
29
+ - F1: 0.8256
30
+
31
+ ## Model description
32
+
33
+ More information needed
34
+
35
+ ## Intended uses & limitations
36
+
37
+ More information needed
38
+
39
+ ## Training and evaluation data
40
+
41
+ More information needed
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - learning_rate: 1e-05
49
+ - train_batch_size: 64
50
+ - eval_batch_size: 64
51
+ - seed: 42
52
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
53
+ - lr_scheduler_type: linear
54
+ - lr_scheduler_warmup_steps: 500
55
+ - num_epochs: 20
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Auc | Precision | Recall | F1 |
60
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:-----:|:---------:|:------:|:------:|
61
+ | 0.6653 | 1.0 | 188 | 0.5515 | 0.724 | 0.798 | 0.7243 | 0.7237 | 0.7238 |
62
+ | 0.5131 | 2.0 | 376 | 0.4578 | 0.783 | 0.875 | 0.7874 | 0.7830 | 0.7815 |
63
+ | 0.4307 | 3.0 | 564 | 0.4418 | 0.795 | 0.904 | 0.8137 | 0.7949 | 0.7928 |
64
+ | 0.3668 | 4.0 | 752 | 0.3804 | 0.835 | 0.916 | 0.8354 | 0.8349 | 0.8349 |
65
+ | 0.2991 | 5.0 | 940 | 0.4464 | 0.82 | 0.918 | 0.8345 | 0.8202 | 0.8190 |
66
+ | 0.2467 | 6.0 | 1128 | 0.4350 | 0.838 | 0.926 | 0.8482 | 0.8382 | 0.8375 |
67
+ | 0.2064 | 7.0 | 1316 | 0.4284 | 0.844 | 0.93 | 0.8515 | 0.8442 | 0.8438 |
68
+ | 0.1602 | 8.0 | 1504 | 0.4545 | 0.851 | 0.928 | 0.8520 | 0.8509 | 0.8509 |
69
+ | 0.1476 | 9.0 | 1692 | 0.4832 | 0.848 | 0.933 | 0.8545 | 0.8482 | 0.8479 |
70
+ | 0.117 | 10.0 | 1880 | 0.4632 | 0.855 | 0.932 | 0.8549 | 0.8549 | 0.8549 |
71
+ | 0.0925 | 11.0 | 2068 | 0.5501 | 0.86 | 0.933 | 0.8617 | 0.8602 | 0.8602 |
72
+ | 0.0811 | 12.0 | 2256 | 0.6097 | 0.849 | 0.933 | 0.8528 | 0.8489 | 0.8487 |
73
+ | 0.0702 | 13.0 | 2444 | 0.6568 | 0.85 | 0.933 | 0.8525 | 0.8495 | 0.8494 |
74
+ | 0.0588 | 14.0 | 2632 | 0.7092 | 0.844 | 0.93 | 0.8484 | 0.8442 | 0.8440 |
75
+ | 0.0572 | 15.0 | 2820 | 0.7012 | 0.855 | 0.933 | 0.8575 | 0.8549 | 0.8548 |
76
+ | 0.047 | 16.0 | 3008 | 0.7549 | 0.851 | 0.933 | 0.8545 | 0.8509 | 0.8507 |
77
+ | 0.0433 | 17.0 | 3196 | 0.7754 | 0.856 | 0.932 | 0.8593 | 0.8562 | 0.8561 |
78
+ | 0.044 | 18.0 | 3384 | 0.7868 | 0.85 | 0.932 | 0.8548 | 0.8502 | 0.8500 |
79
+ | 0.0408 | 19.0 | 3572 | 0.7890 | 0.855 | 0.932 | 0.8589 | 0.8549 | 0.8547 |
80
+ | 0.0412 | 20.0 | 3760 | 0.7870 | 0.855 | 0.932 | 0.8589 | 0.8549 | 0.8547 |
81
+
82
+
83
+ ### Framework versions
84
+
85
+ - Transformers 4.52.3
86
+ - Pytorch 2.6.0+cu124
87
+ - Datasets 3.6.0
88
+ - Tokenizers 0.21.1
logs/events.out.tfevents.1748164039.49966ef1aefa.323.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:84705582f78ee36c1e756452c6fca5ecf4537642f8d750b20e50ad29c5788726
3
- size 19741
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ad02356abe6e843779504101906353b34eb72cb847ad2acf992809a8259b98f
3
+ size 20095
logs/events.out.tfevents.1748174699.49966ef1aefa.323.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25201bed9fdfc1884922ad2e69b4990609c1c70bd2f30d28bfc9c9cf567d90fa
3
+ size 607
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a21e69f4729619af4e1717f516f653baeef835b69065d3122c0121fad87b254e
3
  size 498612824
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdaed6c54abf761ff1c5bc7f1e3838f73faa8ad725ed25ef117b236f8f77dafa
3
  size 498612824
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": false,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "extra_special_tokens": {},
51
+ "mask_token": "<mask>",
52
+ "model_max_length": 1000000000000000019884624838656,
53
+ "pad_token": "<pad>",
54
+ "sep_token": "</s>",
55
+ "tokenizer_class": "RobertaTokenizer",
56
+ "trim_offsets": true,
57
+ "unk_token": "<unk>"
58
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff