bob-bob-bob-3
commited on
Commit
•
35b79e3
1
Parent(s):
da1ff57
End of training
Browse files- README.md +70 -0
- config.json +50 -0
- model.safetensors +3 -0
- runs/Jun19_15-14-36_6e71a2621ca0/events.out.tfevents.1718810080.6e71a2621ca0.1065.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-DE
|
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
|
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.6475
|
19 |
+
- F1 macro: 0.3742
|
20 |
+
- Weighted: 0.5772
|
21 |
+
- Balanced accuracy: 0.4995
|
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: 3e-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: 11
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 macro | Weighted | Balanced accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-----------------:|
|
52 |
+
| 1.3987 | 1.0 | 152 | 1.1932 | 0.3716 | 0.6024 | 0.4578 |
|
53 |
+
| 0.8176 | 2.0 | 304 | 1.1670 | 0.4016 | 0.6136 | 0.4964 |
|
54 |
+
| 0.6289 | 3.0 | 456 | 1.2036 | 0.4099 | 0.6391 | 0.5131 |
|
55 |
+
| 0.1606 | 4.0 | 608 | 1.7535 | 0.3725 | 0.5728 | 0.5006 |
|
56 |
+
| 0.0285 | 5.0 | 760 | 1.8911 | 0.4152 | 0.6312 | 0.5199 |
|
57 |
+
| 0.0693 | 6.0 | 912 | 2.1700 | 0.4018 | 0.6026 | 0.5087 |
|
58 |
+
| 0.0047 | 7.0 | 1064 | 2.2234 | 0.3929 | 0.6128 | 0.5061 |
|
59 |
+
| 0.0032 | 8.0 | 1216 | 2.5087 | 0.3759 | 0.5816 | 0.4993 |
|
60 |
+
| 0.0025 | 9.0 | 1368 | 2.7507 | 0.3823 | 0.5547 | 0.5173 |
|
61 |
+
| 0.0016 | 10.0 | 1520 | 2.6432 | 0.3758 | 0.5808 | 0.5002 |
|
62 |
+
| 0.0012 | 11.0 | 1672 | 2.6475 | 0.3742 | 0.5772 | 0.4995 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.41.2
|
68 |
+
- Pytorch 2.3.0+cu121
|
69 |
+
- Datasets 2.20.0
|
70 |
+
- 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:f4a51901761a86887dabdbd10fb83cbd83c624e489d53b7a775aac87cede9090
|
3 |
+
size 442280976
|
runs/Jun19_15-14-36_6e71a2621ca0/events.out.tfevents.1718810080.6e71a2621ca0.1065.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab92f9b4d07b059c049ca9b64ceb564e8a993c56305c2b3cec7ee4bcf29faccb
|
3 |
+
size 45661
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1fc9d5114da872a06938bf8249c81118089dc96ed98580a84159186e8c8065cc
|
3 |
+
size 5176
|