dexter231 commited on
Commit
3c3959e
·
verified ·
1 Parent(s): ed666d7

End of training

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
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: turkish-sentiment3
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # turkish-sentiment3
21
+
22
+ 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.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0876
25
+ - Accuracy: 0.9688
26
+ - F1: 0.9450
27
+ - Precision: 0.9525
28
+ - Recall: 0.9381
29
+ - Positive F1: 0.9713
30
+ - Positive Precision: 0.9650
31
+ - Positive Recall: 0.9776
32
+ - Neutral F1: 0.9981
33
+ - Neutral Precision: 0.9977
34
+ - Neutral Recall: 0.9985
35
+ - Negative F1: 0.8655
36
+ - Negative Precision: 0.8947
37
+ - Negative Recall: 0.8382
38
+
39
+ ## Model description
40
+
41
+ More information needed
42
+
43
+ ## Intended uses & limitations
44
+
45
+ More information needed
46
+
47
+ ## Training and evaluation data
48
+
49
+ More information needed
50
+
51
+ ## Training procedure
52
+
53
+ ### Training hyperparameters
54
+
55
+ The following hyperparameters were used during training:
56
+ - learning_rate: 3e-05
57
+ - train_batch_size: 64
58
+ - eval_batch_size: 128
59
+ - seed: 42
60
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
61
+ - lr_scheduler_type: cosine
62
+ - lr_scheduler_warmup_steps: 400
63
+ - training_steps: 1600
64
+
65
+ ### Training results
66
+
67
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall | Positive F1 | Positive Precision | Positive Recall | Neutral F1 | Neutral Precision | Neutral Recall | Negative F1 | Negative Precision | Negative Recall |
68
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|:-----------:|:------------------:|:---------------:|:----------:|:-----------------:|:--------------:|:-----------:|:------------------:|:---------------:|
69
+ | 0.2262 | 0.0290 | 200 | 0.1398 | 0.9485 | 0.9152 | 0.9084 | 0.9227 | 0.9525 | 0.9626 | 0.9426 | 0.9929 | 0.9886 | 0.9972 | 0.8003 | 0.7739 | 0.8285 |
70
+ | 0.1265 | 0.0581 | 400 | 0.1125 | 0.9590 | 0.9277 | 0.9369 | 0.9195 | 0.9626 | 0.9545 | 0.9709 | 0.9963 | 0.9961 | 0.9965 | 0.8241 | 0.8601 | 0.7910 |
71
+ | 0.1213 | 0.0871 | 600 | 0.1270 | 0.9545 | 0.9118 | 0.9573 | 0.8834 | 0.9593 | 0.9307 | 0.9896 | 0.9961 | 0.9953 | 0.9970 | 0.7801 | 0.9458 | 0.6637 |
72
+ | 0.0995 | 0.1162 | 800 | 0.1171 | 0.9606 | 0.9339 | 0.9284 | 0.9399 | 0.9636 | 0.9690 | 0.9582 | 0.9967 | 0.9979 | 0.9956 | 0.8415 | 0.8184 | 0.8660 |
73
+ | 0.108 | 0.1452 | 1000 | 0.0944 | 0.9667 | 0.9413 | 0.9513 | 0.9325 | 0.9697 | 0.9628 | 0.9768 | 0.9964 | 0.9935 | 0.9993 | 0.8578 | 0.8976 | 0.8214 |
74
+ | 0.0956 | 0.1743 | 1200 | 0.0944 | 0.9655 | 0.9418 | 0.9369 | 0.9470 | 0.9679 | 0.9738 | 0.9622 | 0.9976 | 0.9961 | 0.9991 | 0.8598 | 0.8408 | 0.8796 |
75
+ | 0.0971 | 0.2033 | 1400 | 0.0874 | 0.9688 | 0.9449 | 0.9533 | 0.9372 | 0.9713 | 0.9643 | 0.9784 | 0.9981 | 0.9978 | 0.9984 | 0.8652 | 0.8977 | 0.8349 |
76
+ | 0.0887 | 0.2324 | 1600 | 0.0876 | 0.9688 | 0.9450 | 0.9525 | 0.9381 | 0.9713 | 0.9650 | 0.9776 | 0.9981 | 0.9977 | 0.9985 | 0.8655 | 0.8947 | 0.8382 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.52.4
82
+ - Pytorch 2.6.0+cu124
83
+ - Datasets 3.6.0
84
+ - Tokenizers 0.21.2
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "Positive",
12
+ "1": "Notr",
13
+ "2": "Negative"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "Negative": 2,
19
+ "Notr": 1,
20
+ "Positive": 0
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.52.4",
32
+ "type_vocab_size": 2,
33
+ "use_cache": true,
34
+ "vocab_size": 32000
35
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:beb9dd701cc638690c06caabaae0f5934e47c8be2ce1e0f4998c45c2ba5c75b0
3
+ size 442502140
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:22d158d8d2777d75d0bb7e4487889b4c6aa0add2251f4bba992323992d4d7521
3
+ size 5240
vocab.txt ADDED
The diff for this file is too large to render. See raw diff