alperengozeten commited on
Commit
2ea5932
1 Parent(s): 4adef51

alperengozeten/turkish-emotion-model

Browse files
Files changed (4) hide show
  1. README.md +103 -0
  2. config.json +44 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: dbmdz/distilbert-base-turkish-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: results
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # results
17
+
18
+ This model is a fine-tuned version of [dbmdz/distilbert-base-turkish-cased](https://huggingface.co/dbmdz/distilbert-base-turkish-cased) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.1938
21
+ - Accuracy: 0.9592
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: 16
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
+ - lr_scheduler_warmup_steps: 500
47
+ - num_epochs: 3
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | 1.9211 | 0.07 | 100 | 1.8456 | 0.3225 |
54
+ | 1.6177 | 0.14 | 200 | 1.2261 | 0.5982 |
55
+ | 0.8794 | 0.21 | 300 | 0.4865 | 0.8638 |
56
+ | 0.428 | 0.27 | 400 | 0.3350 | 0.8991 |
57
+ | 0.3189 | 0.34 | 500 | 0.2934 | 0.9128 |
58
+ | 0.2869 | 0.41 | 600 | 0.2728 | 0.9219 |
59
+ | 0.2776 | 0.48 | 700 | 0.2529 | 0.9267 |
60
+ | 0.2334 | 0.55 | 800 | 0.2609 | 0.9303 |
61
+ | 0.2314 | 0.62 | 900 | 0.2157 | 0.9369 |
62
+ | 0.2381 | 0.69 | 1000 | 0.1924 | 0.9431 |
63
+ | 0.2574 | 0.75 | 1100 | 0.2476 | 0.9260 |
64
+ | 0.2068 | 0.82 | 1200 | 0.1919 | 0.9429 |
65
+ | 0.241 | 0.89 | 1300 | 0.1865 | 0.9417 |
66
+ | 0.1894 | 0.96 | 1400 | 0.2022 | 0.9453 |
67
+ | 0.1791 | 1.03 | 1500 | 0.2078 | 0.9448 |
68
+ | 0.1131 | 1.1 | 1600 | 0.1995 | 0.9493 |
69
+ | 0.1082 | 1.17 | 1700 | 0.2074 | 0.9498 |
70
+ | 0.1088 | 1.23 | 1800 | 0.2139 | 0.9467 |
71
+ | 0.1123 | 1.3 | 1900 | 0.2086 | 0.9481 |
72
+ | 0.1083 | 1.37 | 2000 | 0.1964 | 0.9498 |
73
+ | 0.1318 | 1.44 | 2100 | 0.1872 | 0.9503 |
74
+ | 0.1016 | 1.51 | 2200 | 0.2005 | 0.9486 |
75
+ | 0.1415 | 1.58 | 2300 | 0.1918 | 0.9507 |
76
+ | 0.1292 | 1.64 | 2400 | 0.1848 | 0.9520 |
77
+ | 0.0939 | 1.71 | 2500 | 0.1870 | 0.9539 |
78
+ | 0.1301 | 1.78 | 2600 | 0.1950 | 0.9525 |
79
+ | 0.1415 | 1.85 | 2700 | 0.1955 | 0.9501 |
80
+ | 0.1474 | 1.92 | 2800 | 0.1797 | 0.9556 |
81
+ | 0.1169 | 1.99 | 2900 | 0.1767 | 0.9577 |
82
+ | 0.0562 | 2.06 | 3000 | 0.1847 | 0.9563 |
83
+ | 0.0653 | 2.12 | 3100 | 0.1839 | 0.9584 |
84
+ | 0.0431 | 2.19 | 3200 | 0.1853 | 0.9565 |
85
+ | 0.0289 | 2.26 | 3300 | 0.1922 | 0.9572 |
86
+ | 0.0507 | 2.33 | 3400 | 0.1989 | 0.9582 |
87
+ | 0.0475 | 2.4 | 3500 | 0.2009 | 0.9573 |
88
+ | 0.0434 | 2.47 | 3600 | 0.1959 | 0.9580 |
89
+ | 0.0479 | 2.54 | 3700 | 0.1942 | 0.9585 |
90
+ | 0.0421 | 2.6 | 3800 | 0.1986 | 0.9578 |
91
+ | 0.0496 | 2.67 | 3900 | 0.1947 | 0.9577 |
92
+ | 0.0452 | 2.74 | 4000 | 0.1938 | 0.9594 |
93
+ | 0.0329 | 2.81 | 4100 | 0.1936 | 0.9594 |
94
+ | 0.0568 | 2.88 | 4200 | 0.1934 | 0.9584 |
95
+ | 0.0441 | 2.95 | 4300 | 0.1938 | 0.9592 |
96
+
97
+
98
+ ### Framework versions
99
+
100
+ - Transformers 4.35.0
101
+ - Pytorch 2.1.0+cu118
102
+ - Datasets 2.14.6
103
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dbmdz/distilbert-base-turkish-cased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5",
18
+ "6": "LABEL_6"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "label2id": {
22
+ "LABEL_0": 0,
23
+ "LABEL_1": 1,
24
+ "LABEL_2": 2,
25
+ "LABEL_3": 3,
26
+ "LABEL_4": 4,
27
+ "LABEL_5": 5,
28
+ "LABEL_6": 6
29
+ },
30
+ "max_position_embeddings": 512,
31
+ "model_type": "distilbert",
32
+ "n_heads": 12,
33
+ "n_layers": 6,
34
+ "output_past": true,
35
+ "pad_token_id": 0,
36
+ "problem_type": "single_label_classification",
37
+ "qa_dropout": 0.1,
38
+ "seq_classif_dropout": 0.2,
39
+ "sinusoidal_pos_embds": true,
40
+ "tie_weights_": true,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.35.0",
43
+ "vocab_size": 32000
44
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a38f68080d13f7a5b0cd8f8a9fa24f69bfe92de19a71c883d04ca721484394dd
3
+ size 272388364
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:259d3954822805d87ea5c037e350c288e8a8f8d0175f8ccd22fe811d6b0d9b78
3
+ size 4536