cahmetcan commited on
Commit
6896bad
·
verified ·
1 Parent(s): 43017f8

Detectivision/sequence-detect-tr-180-4

Browse files
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: dbmdz/bert-base-turkish-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 06-12-15-37
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # 06-12-15-37
16
+
17
+ This model is a fine-tuned version of [dbmdz/bert-base-turkish-cased](https://huggingface.co/dbmdz/bert-base-turkish-cased) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.2773
20
+ - Hate Precision: 0.7778
21
+ - Hate Recall: 0.5385
22
+ - Hate F1: 0.6364
23
+ - Sexual Precision: 0.0
24
+ - Sexual Recall: 0.0
25
+ - Sexual F1: 0.0
26
+ - Threat Precision: 0.0
27
+ - Threat Recall: 0.0
28
+ - Threat F1: 0.0
29
+ - Neutral Precision: 0.8378
30
+ - Neutral Recall: 0.9688
31
+ - Neutral F1: 0.8986
32
+ - Macro Precision: 0.4039
33
+ - Macro Recall: 0.3768
34
+ - Macro F1: 0.3837
35
+
36
+ ## Model description
37
+
38
+ More information needed
39
+
40
+ ## Intended uses & limitations
41
+
42
+ More information needed
43
+
44
+ ## Training and evaluation data
45
+
46
+ More information needed
47
+
48
+ ## Training procedure
49
+
50
+ ### Training hyperparameters
51
+
52
+ The following hyperparameters were used during training:
53
+ - learning_rate: 2e-05
54
+ - train_batch_size: 16
55
+ - eval_batch_size: 16
56
+ - seed: 42
57
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
58
+ - lr_scheduler_type: linear
59
+ - num_epochs: 10
60
+
61
+ ### Training results
62
+
63
+ | Training Loss | Epoch | Step | Validation Loss | Hate Precision | Hate Recall | Hate F1 | Sexual Precision | Sexual Recall | Sexual F1 | Threat Precision | Threat Recall | Threat F1 | Neutral Precision | Neutral Recall | Neutral F1 | Macro Precision | Macro Recall | Macro F1 |
64
+ |:-------------:|:------:|:----:|:---------------:|:--------------:|:-----------:|:-------:|:----------------:|:-------------:|:---------:|:----------------:|:-------------:|:---------:|:-----------------:|:--------------:|:----------:|:---------------:|:------------:|:--------:|
65
+ | 0.6107 | 0.8333 | 10 | 0.4510 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.7111 | 1.0 | 0.8312 | 0.1778 | 0.25 | 0.2078 |
66
+ | 0.4163 | 1.6667 | 20 | 0.3613 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.7111 | 1.0 | 0.8312 | 0.1778 | 0.25 | 0.2078 |
67
+ | 0.3561 | 2.5 | 30 | 0.3459 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.7111 | 1.0 | 0.8312 | 0.1778 | 0.25 | 0.2078 |
68
+ | 0.3446 | 3.3333 | 40 | 0.3395 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.7111 | 1.0 | 0.8312 | 0.1778 | 0.25 | 0.2078 |
69
+ | 0.3002 | 4.1667 | 50 | 0.3270 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.7143 | 0.9375 | 0.8108 | 0.1786 | 0.2344 | 0.2027 |
70
+ | 0.2912 | 5.0 | 60 | 0.3357 | 0.75 | 0.2308 | 0.3529 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.7381 | 0.9688 | 0.8378 | 0.3720 | 0.2999 | 0.2977 |
71
+ | 0.2355 | 5.8333 | 70 | 0.3359 | 0.75 | 0.2308 | 0.3529 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.7561 | 0.9688 | 0.8493 | 0.3765 | 0.2999 | 0.3006 |
72
+ | 0.2017 | 6.6667 | 80 | 0.2989 | 0.6667 | 0.4615 | 0.5455 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.8056 | 0.9062 | 0.8529 | 0.3681 | 0.3419 | 0.3496 |
73
+ | 0.1988 | 7.5 | 90 | 0.2904 | 0.7 | 0.5385 | 0.6087 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.8286 | 0.9062 | 0.8657 | 0.3821 | 0.3612 | 0.3686 |
74
+ | 0.1476 | 8.3333 | 100 | 0.3351 | 0.6667 | 0.1538 | 0.25 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.7381 | 0.9688 | 0.8378 | 0.3512 | 0.2806 | 0.2720 |
75
+ | 0.1846 | 9.1667 | 110 | 0.2774 | 0.7778 | 0.5385 | 0.6364 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.8333 | 0.9375 | 0.8824 | 0.4028 | 0.3690 | 0.3797 |
76
+ | 0.1347 | 10.0 | 120 | 0.2773 | 0.7778 | 0.5385 | 0.6364 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.8378 | 0.9688 | 0.8986 | 0.4039 | 0.3768 | 0.3837 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.47.0
82
+ - Pytorch 2.5.1+cu124
83
+ - Datasets 3.1.0
84
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dbmdz/bert-base-turkish-cased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "LABEL_0": 0,
21
+ "LABEL_1": 1,
22
+ "LABEL_2": 2,
23
+ "LABEL_3": 3
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "max_position_embeddings": 512,
27
+ "model_type": "bert",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 0,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "multi_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.47.0",
35
+ "type_vocab_size": 2,
36
+ "use_cache": true,
37
+ "vocab_size": 32000
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62c88727bc624ded5e007f46ca606e3115922d45a35fb40a3e789d0ccd45df6b
3
+ size 442505216
sequence-detect-tr-180-4/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dbmdz/bert-base-turkish-cased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "LABEL_0": 0,
21
+ "LABEL_1": 1,
22
+ "LABEL_2": 2,
23
+ "LABEL_3": 3
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "max_position_embeddings": 512,
27
+ "model_type": "bert",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 0,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "multi_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.47.0",
35
+ "type_vocab_size": 2,
36
+ "use_cache": true,
37
+ "vocab_size": 32000
38
+ }
sequence-detect-tr-180-4/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62c88727bc624ded5e007f46ca606e3115922d45a35fb40a3e789d0ccd45df6b
3
+ size 442505216
sequence-detect-tr-180-4/special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
sequence-detect-tr-180-4/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
sequence-detect-tr-180-4/tokenizer_config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_len": 512,
51
+ "model_max_length": 512,
52
+ "never_split": null,
53
+ "pad_token": "[PAD]",
54
+ "sep_token": "[SEP]",
55
+ "strip_accents": null,
56
+ "tokenize_chinese_chars": true,
57
+ "tokenizer_class": "BertTokenizer",
58
+ "unk_token": "[UNK]"
59
+ }
sequence-detect-tr-180-4/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc26af0353828638a9804c2351d39310ce64e8945a0acde60caff3b8b06f4f9
3
+ size 5304
sequence-detect-tr-180-4/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_len": 512,
51
+ "model_max_length": 512,
52
+ "never_split": null,
53
+ "pad_token": "[PAD]",
54
+ "sep_token": "[SEP]",
55
+ "strip_accents": null,
56
+ "tokenize_chinese_chars": true,
57
+ "tokenizer_class": "BertTokenizer",
58
+ "unk_token": "[UNK]"
59
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cc26af0353828638a9804c2351d39310ce64e8945a0acde60caff3b8b06f4f9
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff