Commit
·
86608e3
1
Parent(s):
a29d3db
alperengozeten/results
Browse files- README.md +84 -0
- config.json +38 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.1216
|
21 |
+
- Accuracy: 0.9767
|
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.0625 | 0.12 | 200 | 0.3592 | 0.8799 |
|
54 |
+
| 0.2277 | 0.25 | 400 | 0.1771 | 0.9473 |
|
55 |
+
| 0.202 | 0.37 | 600 | 0.1594 | 0.9602 |
|
56 |
+
| 0.1711 | 0.5 | 800 | 0.1588 | 0.9612 |
|
57 |
+
| 0.1532 | 0.62 | 1000 | 0.1764 | 0.9525 |
|
58 |
+
| 0.1508 | 0.75 | 1200 | 0.1482 | 0.9627 |
|
59 |
+
| 0.1441 | 0.87 | 1400 | 0.1102 | 0.9719 |
|
60 |
+
| 0.1128 | 0.99 | 1600 | 0.1284 | 0.9686 |
|
61 |
+
| 0.07 | 1.12 | 1800 | 0.1321 | 0.9686 |
|
62 |
+
| 0.0812 | 1.24 | 2000 | 0.1365 | 0.9706 |
|
63 |
+
| 0.0858 | 1.37 | 2200 | 0.1046 | 0.9719 |
|
64 |
+
| 0.0636 | 1.49 | 2400 | 0.1263 | 0.9709 |
|
65 |
+
| 0.0861 | 1.62 | 2600 | 0.1081 | 0.9742 |
|
66 |
+
| 0.0623 | 1.74 | 2800 | 0.1148 | 0.9748 |
|
67 |
+
| 0.082 | 1.86 | 3000 | 0.0877 | 0.9778 |
|
68 |
+
| 0.0456 | 1.99 | 3200 | 0.1167 | 0.9751 |
|
69 |
+
| 0.0277 | 2.11 | 3400 | 0.1147 | 0.9759 |
|
70 |
+
| 0.0205 | 2.24 | 3600 | 0.1247 | 0.9753 |
|
71 |
+
| 0.0167 | 2.36 | 3800 | 0.1188 | 0.9776 |
|
72 |
+
| 0.0185 | 2.49 | 4000 | 0.1362 | 0.9762 |
|
73 |
+
| 0.0156 | 2.61 | 4200 | 0.1254 | 0.9762 |
|
74 |
+
| 0.0273 | 2.73 | 4400 | 0.1230 | 0.9768 |
|
75 |
+
| 0.019 | 2.86 | 4600 | 0.1245 | 0.9764 |
|
76 |
+
| 0.0102 | 2.98 | 4800 | 0.1216 | 0.9767 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- Transformers 4.35.1
|
82 |
+
- Pytorch 2.1.0+cu118
|
83 |
+
- Datasets 2.14.7
|
84 |
+
- Tokenizers 0.14.1
|
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": "excitement",
|
13 |
+
"1": "displeasure",
|
14 |
+
"2": "anger",
|
15 |
+
"3": "neutral"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 3072,
|
19 |
+
"label2id": {
|
20 |
+
"anger": 2,
|
21 |
+
"displeasure": 1,
|
22 |
+
"excitement": 0,
|
23 |
+
"neutral": 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": "single_label_classification",
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.35.1",
|
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:c96365217fc120d4e0692196043cd50baef9ef131acdf04590d1bf93f971122f
|
3 |
+
size 442505216
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1bd199cd7372100973ef0823c305c89acfcdc364c0d2d5149c0800ac893d77d2
|
3 |
+
size 4536
|