kaixkhazaki
commited on
Pushing the best model checkpoint
Browse files- README.md +85 -0
- config.json +36 -0
- model.safetensors +3 -0
- runs/Jan08_19-54-01_ip-10-10-25-149.eu-central-1.compute.internal/events.out.tfevents.1736366041.ip-10-10-25-149.eu-central-1.compute.internal.4661.2 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +59 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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-zeroshot
|
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-zeroshot
|
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.6236
|
25 |
+
- Accuracy: 0.7438
|
26 |
+
- F1: 0.7437
|
27 |
+
- Precision: 0.7550
|
28 |
+
- Recall: 0.7438
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 2e-05
|
48 |
+
- train_batch_size: 64
|
49 |
+
- eval_batch_size: 32
|
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: linear
|
53 |
+
- lr_scheduler_warmup_steps: 500
|
54 |
+
- num_epochs: 5
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
59 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
60 |
+
| 1.0967 | 0.0326 | 200 | 1.0926 | 0.3655 | 0.3273 | 0.3712 | 0.3655 |
|
61 |
+
| 1.0547 | 0.0652 | 400 | 1.0466 | 0.4317 | 0.4121 | 0.4572 | 0.4317 |
|
62 |
+
| 0.9249 | 0.0978 | 600 | 0.8336 | 0.6285 | 0.6293 | 0.6351 | 0.6285 |
|
63 |
+
| 0.829 | 0.1304 | 800 | 0.7639 | 0.6627 | 0.6634 | 0.6743 | 0.6627 |
|
64 |
+
| 0.8159 | 0.1630 | 1000 | 0.7307 | 0.6908 | 0.6925 | 0.7025 | 0.6908 |
|
65 |
+
| 0.7782 | 0.1956 | 1200 | 0.7309 | 0.6839 | 0.6852 | 0.7157 | 0.6839 |
|
66 |
+
| 0.7736 | 0.2282 | 1400 | 0.7196 | 0.6888 | 0.6895 | 0.7202 | 0.6888 |
|
67 |
+
| 0.7566 | 0.2608 | 1600 | 0.6871 | 0.7185 | 0.7186 | 0.7301 | 0.7185 |
|
68 |
+
| 0.7259 | 0.2934 | 1800 | 0.6727 | 0.7165 | 0.7181 | 0.7330 | 0.7165 |
|
69 |
+
| 0.7084 | 0.3259 | 2000 | 0.6540 | 0.7277 | 0.7274 | 0.7319 | 0.7277 |
|
70 |
+
| 0.7404 | 0.3585 | 2200 | 0.7097 | 0.7153 | 0.7131 | 0.7346 | 0.7153 |
|
71 |
+
| 0.7223 | 0.3911 | 2400 | 0.7047 | 0.7129 | 0.7136 | 0.7443 | 0.7129 |
|
72 |
+
| 0.7022 | 0.4237 | 2600 | 0.6454 | 0.7301 | 0.7318 | 0.7457 | 0.7301 |
|
73 |
+
| 0.712 | 0.4563 | 2800 | 0.6243 | 0.7426 | 0.7437 | 0.7497 | 0.7426 |
|
74 |
+
| 0.7055 | 0.4889 | 3000 | 0.6151 | 0.7534 | 0.7539 | 0.7565 | 0.7534 |
|
75 |
+
| 0.7031 | 0.5215 | 3200 | 0.6365 | 0.7406 | 0.7416 | 0.7584 | 0.7406 |
|
76 |
+
| 0.6922 | 0.5541 | 3400 | 0.6103 | 0.7498 | 0.7497 | 0.7549 | 0.7498 |
|
77 |
+
| 0.6677 | 0.5867 | 3600 | 0.6236 | 0.7438 | 0.7437 | 0.7550 | 0.7438 |
|
78 |
+
|
79 |
+
|
80 |
+
### Framework versions
|
81 |
+
|
82 |
+
- Transformers 4.48.0.dev0
|
83 |
+
- Pytorch 2.4.1+cu121
|
84 |
+
- Datasets 3.1.0
|
85 |
+
- Tokenizers 0.21.0
|
config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "entailment",
|
13 |
+
"1": "neutral",
|
14 |
+
"2": "contradiction"
|
15 |
+
},
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 3072,
|
18 |
+
"label2id": {
|
19 |
+
"contradiction": 2,
|
20 |
+
"entailment": 0,
|
21 |
+
"neutral": 1
|
22 |
+
},
|
23 |
+
"layer_norm_eps": 1e-12,
|
24 |
+
"max_position_embeddings": 512,
|
25 |
+
"model_type": "bert",
|
26 |
+
"num_attention_heads": 12,
|
27 |
+
"num_hidden_layers": 12,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"position_embedding_type": "absolute",
|
30 |
+
"problem_type": "single_label_classification",
|
31 |
+
"torch_dtype": "float32",
|
32 |
+
"transformers_version": "4.48.0.dev0",
|
33 |
+
"type_vocab_size": 2,
|
34 |
+
"use_cache": true,
|
35 |
+
"vocab_size": 32000
|
36 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c55898f13e54e7db8a1af0732c992342ab9744c408bd20bede81bbc2ffedbc62
|
3 |
+
size 442502140
|
runs/Jan08_19-54-01_ip-10-10-25-149.eu-central-1.compute.internal/events.out.tfevents.1736366041.ip-10-10-25-149.eu-central-1.compute.internal.4661.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93056517b8101609be6de89bc90aab34c37a0e68156e0eafe3dec5e3cc7440a7
|
3 |
+
size 29227
|
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": 128,
|
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:f5f243560127a7e609a13d788f44da35761926626dbf6215cd9e4fa36cbdad84
|
3 |
+
size 5432
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|