bob-bob-bob-3 commited on
Commit
ef10520
1 Parent(s): cee8353

End of training

Browse files
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: indolem/indobertweet-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: classification-hate-speech-2
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # classification-hate-speech-2
15
+
16
+ This model is a fine-tuned version of [indolem/indobertweet-base-uncased](https://huggingface.co/indolem/indobertweet-base-uncased) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.9977
19
+ - F1 macro: 0.4920
20
+ - Weighted: 0.6769
21
+ - Balanced accuracy: 0.6391
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 5e-05
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 7
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | F1 macro | Weighted | Balanced accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-----------------:|
52
+ | 1.0988 | 1.0 | 162 | 1.0121 | 0.4279 | 0.6869 | 0.5200 |
53
+ | 0.7664 | 2.0 | 324 | 1.1188 | 0.4453 | 0.6992 | 0.5623 |
54
+ | 0.2422 | 3.0 | 486 | 1.0945 | 0.5639 | 0.7549 | 0.6537 |
55
+ | 0.0549 | 4.0 | 648 | 1.9487 | 0.4743 | 0.6351 | 0.6188 |
56
+ | 0.0054 | 5.0 | 810 | 2.0377 | 0.4754 | 0.6601 | 0.6356 |
57
+ | 0.0054 | 6.0 | 972 | 1.9811 | 0.4827 | 0.6734 | 0.6329 |
58
+ | 0.0047 | 7.0 | 1134 | 1.9977 | 0.4920 | 0.6769 | 0.6391 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 4.41.2
64
+ - Pytorch 2.3.0+cu121
65
+ - Datasets 2.20.0
66
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "indolem/indobertweet-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_ids": 0,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "LABEL_0",
16
+ "1": "LABEL_1",
17
+ "2": "LABEL_2",
18
+ "3": "LABEL_3",
19
+ "4": "LABEL_4",
20
+ "5": "LABEL_5",
21
+ "6": "LABEL_6",
22
+ "7": "LABEL_7"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "LABEL_0": 0,
28
+ "LABEL_1": 1,
29
+ "LABEL_2": 2,
30
+ "LABEL_3": 3,
31
+ "LABEL_4": 4,
32
+ "LABEL_5": 5,
33
+ "LABEL_6": 6,
34
+ "LABEL_7": 7
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "max_position_embeddings": 512,
38
+ "model_type": "bert",
39
+ "num_attention_heads": 12,
40
+ "num_hidden_layers": 12,
41
+ "output_past": true,
42
+ "pad_token_id": 0,
43
+ "position_embedding_type": "absolute",
44
+ "problem_type": "single_label_classification",
45
+ "torch_dtype": "float32",
46
+ "transformers_version": "4.41.2",
47
+ "type_vocab_size": 2,
48
+ "use_cache": true,
49
+ "vocab_size": 31923
50
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b814b1f966886a3cfc9f2725a0b99656862c310d1693504b28ecfb27403cc42
3
+ size 442280976
runs/Jun19_13-55-42_990747e3a267/events.out.tfevents.1718805345.990747e3a267.1861.9 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bae162bbda04c9d064beb2bb141985ef0c2fe592371ab05e76779e7ee2af8c8
3
+ size 11178
runs/Jun19_13-56-49_990747e3a267/events.out.tfevents.1718805411.990747e3a267.1861.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a059a1c67dcf53867e45274882af4ca71ab264352adc66554ffea760c9a4e186
3
+ size 32568
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:771ae6fe40d4834ca09e94dc1aa0f463200e8ed4fd507c544c067eb094697964
3
+ size 5176