kaixkhazaki commited on
Commit
e255000
·
verified ·
1 Parent(s): 27a7ca3

Pushing of the new best model checkpoint

Browse files
Files changed (4) hide show
  1. README.md +11 -24
  2. model.safetensors +1 -1
  3. tokenizer.json +14 -2
  4. training_args.bin +1 -1
README.md CHANGED
@@ -4,20 +4,13 @@ license: mit
4
  base_model: dbmdz/bert-base-turkish-cased
5
  tags:
6
  - generated_from_trainer
7
- - turkish
8
  metrics:
9
  - accuracy
10
  - precision
11
  - recall
12
- - f1
13
  model-index:
14
  - name: turkish-sentiment
15
  results: []
16
- datasets:
17
- - winvoker/turkish-sentiment-analysis-dataset
18
- language:
19
- - tr
20
- pipeline_tag: text-classification
21
  ---
22
 
23
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -25,14 +18,14 @@ should probably proofread and complete it, then remove this comment. -->
25
 
26
  # turkish-sentiment
27
 
28
- This model is a fine-tuned version of [dbmdz/bert-base-turkish-cased](https://huggingface.co/dbmdz/bert-base-turkish-cased) on winvoker/turkish-sentiment-analysis-dataset dataset.
29
  It achieves the following results on the evaluation set:
30
- - Loss: 0.0957
31
- - Accuracy: 0.9657
32
- - F1 Macro: 0.9398
33
- - F1 Weighted: 0.9653
34
- - Precision: 0.9651
35
- - Recall: 0.9657
36
 
37
  ## Model description
38
 
@@ -48,8 +41,6 @@ More information needed
48
 
49
  ## Training procedure
50
 
51
- trained on the full dataset for 1000 steps(apx 20 mins on a single gpu).
52
-
53
  ### Training hyperparameters
54
 
55
  The following hyperparameters were used during training:
@@ -59,18 +50,14 @@ The following hyperparameters were used during training:
59
  - seed: 42
60
  - optimizer: Use 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: 600
63
- - training_steps: 1000
64
 
65
  ### Training results
66
 
67
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | F1 Weighted | Precision | Recall |
68
  |:-------------:|:------:|:----:|:---------------:|:--------:|:--------:|:-----------:|:---------:|:------:|
69
- | 0.6035 | 0.0290 | 200 | 0.1912 | 0.9305 | 0.8739 | 0.9278 | 0.9274 | 0.9305 |
70
- | 0.1402 | 0.0581 | 400 | 0.1224 | 0.9561 | 0.9181 | 0.9539 | 0.9557 | 0.9561 |
71
- | 0.1245 | 0.0871 | 600 | 0.1227 | 0.9582 | 0.9217 | 0.9561 | 0.9578 | 0.9582 |
72
- | 0.1091 | 0.1162 | 800 | 0.1066 | 0.9632 | 0.9364 | 0.9630 | 0.9629 | 0.9632 |
73
- | 0.1078 | 0.1452 | 1000 | 0.0957 | 0.9657 | 0.9398 | 0.9653 | 0.9651 | 0.9657 |
74
 
75
 
76
  ### Framework versions
@@ -78,4 +65,4 @@ The following hyperparameters were used during training:
78
  - Transformers 4.48.0.dev0
79
  - Pytorch 2.4.1+cu121
80
  - Datasets 3.1.0
81
- - Tokenizers 0.21.0
 
4
  base_model: dbmdz/bert-base-turkish-cased
5
  tags:
6
  - generated_from_trainer
 
7
  metrics:
8
  - accuracy
9
  - precision
10
  - recall
 
11
  model-index:
12
  - name: turkish-sentiment
13
  results: []
 
 
 
 
 
14
  ---
15
 
16
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
18
 
19
  # turkish-sentiment
20
 
21
+ 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.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 0.1019
24
+ - Accuracy: 0.9644
25
+ - F1 Macro: 0.9380
26
+ - F1 Weighted: 0.9640
27
+ - Precision: 0.9638
28
+ - Recall: 0.9644
29
 
30
  ## Model description
31
 
 
41
 
42
  ## Training procedure
43
 
 
 
44
  ### Training hyperparameters
45
 
46
  The following hyperparameters were used during training:
 
50
  - seed: 42
51
  - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
  - lr_scheduler_type: cosine
53
+ - lr_scheduler_warmup_steps: 400
54
+ - training_steps: 200
55
 
56
  ### Training results
57
 
58
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | F1 Weighted | Precision | Recall |
59
  |:-------------:|:------:|:----:|:---------------:|:--------:|:--------:|:-----------:|:---------:|:------:|
60
+ | 0.1044 | 0.0290 | 200 | 0.1019 | 0.9644 | 0.9380 | 0.9640 | 0.9638 | 0.9644 |
 
 
 
 
61
 
62
 
63
  ### Framework versions
 
65
  - Transformers 4.48.0.dev0
66
  - Pytorch 2.4.1+cu121
67
  - Datasets 3.1.0
68
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fa7d1d1839e52dac02a60f0f98cca24387c7ff819c8afdde121240579fc92608
3
  size 442502140
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7629d2ca8246c25d7c17ea0f835f96432adc9294907609bfdc3907cf3eb270b7
3
  size 442502140
tokenizer.json CHANGED
@@ -1,7 +1,19 @@
1
  {
2
  "version": "1.0",
3
- "truncation": null,
4
- "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": {
4
+ "direction": "Right",
5
+ "max_length": 512,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
+ "padding": {
10
+ "strategy": "BatchLongest",
11
+ "direction": "Right",
12
+ "pad_to_multiple_of": null,
13
+ "pad_id": 0,
14
+ "pad_type_id": 0,
15
+ "pad_token": "[PAD]"
16
+ },
17
  "added_tokens": [
18
  {
19
  "id": 0,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e4e51841518efb60a1f07899ff0d8588a95e3157f16f69252edf7960f8e9bd5a
3
  size 5432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:819b4dee70186c832cdd15328f3bd5724c46c781eeaff0971aaf144b6481ccd0
3
  size 5432