alperengozeten commited on
Commit
c423360
1 Parent(s): 24c4463

alperengozeten/turkish-emotion-model

Browse files
Files changed (4) hide show
  1. README.md +81 -0
  2. config.json +48 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: dbmdz/bert-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/bert-base-turkish-cased](https://huggingface.co/dbmdz/bert-base-turkish-cased) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.3687
21
+ - Accuracy: 0.9130
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.8572 | 0.14 | 200 | 1.4831 | 0.4714 |
54
+ | 1.2551 | 0.27 | 400 | 0.9639 | 0.6684 |
55
+ | 0.886 | 0.41 | 600 | 0.7681 | 0.7507 |
56
+ | 0.7313 | 0.55 | 800 | 0.5526 | 0.8317 |
57
+ | 0.5804 | 0.69 | 1000 | 0.5308 | 0.8312 |
58
+ | 0.5407 | 0.82 | 1200 | 0.4486 | 0.8595 |
59
+ | 0.502 | 0.96 | 1400 | 0.5216 | 0.8516 |
60
+ | 0.3737 | 1.1 | 1600 | 0.4527 | 0.8763 |
61
+ | 0.3367 | 1.23 | 1800 | 0.4716 | 0.8544 |
62
+ | 0.3272 | 1.37 | 2000 | 0.3905 | 0.8862 |
63
+ | 0.2988 | 1.51 | 2200 | 0.3661 | 0.8926 |
64
+ | 0.298 | 1.64 | 2400 | 0.4301 | 0.8898 |
65
+ | 0.2856 | 1.78 | 2600 | 0.3944 | 0.8943 |
66
+ | 0.2832 | 1.92 | 2800 | 0.3608 | 0.8979 |
67
+ | 0.2483 | 2.06 | 3000 | 0.3757 | 0.8987 |
68
+ | 0.1699 | 2.19 | 3200 | 0.3802 | 0.9100 |
69
+ | 0.1433 | 2.33 | 3400 | 0.4144 | 0.9114 |
70
+ | 0.1826 | 2.47 | 3600 | 0.3533 | 0.9124 |
71
+ | 0.159 | 2.6 | 3800 | 0.3708 | 0.9107 |
72
+ | 0.1601 | 2.74 | 4000 | 0.3775 | 0.9118 |
73
+ | 0.1442 | 2.88 | 4200 | 0.3687 | 0.9130 |
74
+
75
+
76
+ ### Framework versions
77
+
78
+ - Transformers 4.35.0
79
+ - Pytorch 2.1.0+cu118
80
+ - Datasets 2.14.6
81
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dbmdz/bert-base-turkish-cased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "attention_probs_dropout_prob": 0.1,
9
+ "dim": 768,
10
+ "dropout": 0.1,
11
+ "hidden_act": "gelu",
12
+ "hidden_dim": 3072,
13
+ "hidden_dropout_prob": 0.1,
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
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
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
+ },
34
+ "layer_norm_eps": 1e-12,
35
+ "max_position_embeddings": 512,
36
+ "model_type": "distilbert",
37
+ "n_heads": 12,
38
+ "n_layers": 12,
39
+ "pad_token_id": 0,
40
+ "problem_type": "single_label_classification",
41
+ "qa_dropout": 0.1,
42
+ "seq_classif_dropout": 0.2,
43
+ "sinusoidal_pos_embds": false,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.35.0",
46
+ "type_vocab_size": 2,
47
+ "vocab_size": 32000
48
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:095146eeaa53292a7e0730f03f532064eb749020f0dcf9f42a4594790b4e25d8
3
+ size 442509060
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bd199cd7372100973ef0823c305c89acfcdc364c0d2d5149c0800ac893d77d2
3
+ size 4536