bob-bob-bob-3
commited on
Commit
•
0cfb532
1
Parent(s):
d9ab9fd
End of training
Browse files- README.md +66 -0
- config.json +54 -0
- model.safetensors +3 -0
- runs/Jun19_16-18-14_ed776ddd8033/events.out.tfevents.1718813897.ed776ddd8033.188.2 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: indobenchmark/indobert-large-p2
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: classification-hate-speech-DE-7-lp2
|
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-DE-7-lp2
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [indobenchmark/indobert-large-p2](https://huggingface.co/indobenchmark/indobert-large-p2) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 2.9533
|
19 |
+
- F1 macro: 0.4095
|
20 |
+
- Weighted: 0.5682
|
21 |
+
- Balanced accuracy: 0.5692
|
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.3198 | 1.0 | 152 | 1.1744 | 0.4488 | 0.6562 | 0.5330 |
|
53 |
+
| 0.8557 | 2.0 | 304 | 1.2512 | 0.4134 | 0.6257 | 0.5045 |
|
54 |
+
| 0.3232 | 3.0 | 456 | 1.5367 | 0.4114 | 0.6217 | 0.5283 |
|
55 |
+
| 0.1604 | 4.0 | 608 | 2.3986 | 0.4056 | 0.5813 | 0.5509 |
|
56 |
+
| 0.047 | 5.0 | 760 | 2.8629 | 0.3852 | 0.5435 | 0.5403 |
|
57 |
+
| 0.0033 | 6.0 | 912 | 2.6942 | 0.4000 | 0.5764 | 0.5535 |
|
58 |
+
| 0.0009 | 7.0 | 1064 | 2.9533 | 0.4095 | 0.5682 | 0.5692 |
|
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,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "indobenchmark/indobert-large-p2",
|
3 |
+
"_num_labels": 5,
|
4 |
+
"architectures": [
|
5 |
+
"BertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"directionality": "bidi",
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 1024,
|
13 |
+
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2",
|
17 |
+
"3": "LABEL_3",
|
18 |
+
"4": "LABEL_4",
|
19 |
+
"5": "LABEL_5",
|
20 |
+
"6": "LABEL_6",
|
21 |
+
"7": "LABEL_7"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 4096,
|
25 |
+
"label2id": {
|
26 |
+
"LABEL_0": 0,
|
27 |
+
"LABEL_1": 1,
|
28 |
+
"LABEL_2": 2,
|
29 |
+
"LABEL_3": 3,
|
30 |
+
"LABEL_4": 4,
|
31 |
+
"LABEL_5": 5,
|
32 |
+
"LABEL_6": 6,
|
33 |
+
"LABEL_7": 7
|
34 |
+
},
|
35 |
+
"layer_norm_eps": 1e-12,
|
36 |
+
"max_position_embeddings": 512,
|
37 |
+
"model_type": "bert",
|
38 |
+
"num_attention_heads": 16,
|
39 |
+
"num_hidden_layers": 24,
|
40 |
+
"output_past": true,
|
41 |
+
"pad_token_id": 0,
|
42 |
+
"pooler_fc_size": 768,
|
43 |
+
"pooler_num_attention_heads": 12,
|
44 |
+
"pooler_num_fc_layers": 3,
|
45 |
+
"pooler_size_per_head": 128,
|
46 |
+
"pooler_type": "first_token_transform",
|
47 |
+
"position_embedding_type": "absolute",
|
48 |
+
"problem_type": "single_label_classification",
|
49 |
+
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.41.2",
|
51 |
+
"type_vocab_size": 2,
|
52 |
+
"use_cache": true,
|
53 |
+
"vocab_size": 30522
|
54 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6b714e28d00063bb88fec97f6748ced3c9d3770f76552c1ee7fef355c20e1bbb
|
3 |
+
size 1340647360
|
runs/Jun19_16-18-14_ed776ddd8033/events.out.tfevents.1718813897.ed776ddd8033.188.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6aaa4d797c04135d2843f4540ea08680ce23c39e30261044d838a9ce0954b94
|
3 |
+
size 31189
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5b2c70c777f3137e0f3cbe242a454da143c40043bcfca4f2c010079be6604eec
|
3 |
+
size 5176
|