bob-bob-bob-3 commited on
Commit
56f63cd
1 Parent(s): 0c826b2

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
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
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: 2.3971
19
+ - F1 macro: 0.3764
20
+ - Weighted: 0.5676
21
+ - Balanced accuracy: 0.5202
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.1881 | 1.0 | 98 | 1.2881 | 0.3632 | 0.5818 | 0.4714 |
53
+ | 0.9442 | 2.0 | 196 | 1.6041 | 0.3525 | 0.4977 | 0.5128 |
54
+ | 0.5045 | 3.0 | 294 | 2.1271 | 0.3236 | 0.4088 | 0.5040 |
55
+ | 0.111 | 4.0 | 392 | 1.9956 | 0.3627 | 0.5579 | 0.5034 |
56
+ | 0.0279 | 5.0 | 490 | 2.3665 | 0.3740 | 0.5627 | 0.5203 |
57
+ | 0.0203 | 6.0 | 588 | 2.4468 | 0.3662 | 0.5512 | 0.5170 |
58
+ | 0.006 | 7.0 | 686 | 2.3971 | 0.3764 | 0.5676 | 0.5202 |
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:bad5290b6d92b4e1c10ff18ce76a6fbe1596545ef20ce3235a7c7cec7c91a516
3
+ size 442280976
runs/Jun19_13-48-39_990747e3a267/events.out.tfevents.1718804922.990747e3a267.1861.8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82f0eb3e58ffd469ef9c288958a741da756b8f1d55bad9cd35a2af299e4895ae
3
+ size 23010
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb63fcf036561593d3871b2da091a66fc534e34885a710286cfa9f072426644f
3
+ size 5176