alionder commited on
Commit
a32a439
1 Parent(s): 9607990

Training completed!

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: dbmdz/distilbert-base-turkish-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ - accuracy
9
+ model-index:
10
+ - name: distilbert_turk
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # distilbert_turk
18
+
19
+ 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.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.1927
22
+ - F1: 0.8338
23
+ - Roc Auc: 0.9092
24
+ - Accuracy: 0.8047
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 2e-05
44
+ - train_batch_size: 2
45
+ - eval_batch_size: 2
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 10
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Roc Auc | Accuracy |
54
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|:-------:|:--------:|
55
+ | 0.2899 | 1.0 | 1151 | 0.2053 | 0.6418 | 0.7738 | 0.6719 |
56
+ | 0.1846 | 2.0 | 2302 | 0.1777 | 0.7480 | 0.8434 | 0.7461 |
57
+ | 0.1432 | 3.0 | 3453 | 0.1633 | 0.7879 | 0.8866 | 0.7656 |
58
+ | 0.1241 | 4.0 | 4604 | 0.1508 | 0.8256 | 0.9037 | 0.7891 |
59
+ | 0.0961 | 5.0 | 5755 | 0.1621 | 0.8203 | 0.9048 | 0.7969 |
60
+ | 0.065 | 6.0 | 6906 | 0.1733 | 0.8108 | 0.9092 | 0.7969 |
61
+ | 0.0548 | 7.0 | 8057 | 0.1848 | 0.8238 | 0.8993 | 0.7930 |
62
+ | 0.0496 | 8.0 | 9208 | 0.1875 | 0.8130 | 0.9055 | 0.7969 |
63
+ | 0.0413 | 9.0 | 10359 | 0.1905 | 0.8359 | 0.9096 | 0.8086 |
64
+ | 0.038 | 10.0 | 11510 | 0.1927 | 0.8338 | 0.9092 | 0.8047 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.37.0
70
+ - Pytorch 2.1.0+cu121
71
+ - Datasets 2.16.1
72
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "i\u015flemci",
13
+ "1": "ekran_karti",
14
+ "2": "batarya",
15
+ "3": "ram",
16
+ "4": "ssd",
17
+ "5": "fiyat"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "label2id": {
21
+ "batarya": 2,
22
+ "ekran_karti": 1,
23
+ "fiyat": 5,
24
+ "i\u015flemci": 0,
25
+ "ram": 3,
26
+ "ssd": 4
27
+ },
28
+ "max_position_embeddings": 512,
29
+ "model_type": "distilbert",
30
+ "n_heads": 12,
31
+ "n_layers": 6,
32
+ "output_past": true,
33
+ "pad_token_id": 0,
34
+ "problem_type": "multi_label_classification",
35
+ "qa_dropout": 0.1,
36
+ "seq_classif_dropout": 0.2,
37
+ "sinusoidal_pos_embds": true,
38
+ "tie_weights_": true,
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.37.0",
41
+ "vocab_size": 32000
42
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e140dcfef495bd54a28c54ff3e1f06ca06f52811c32cbf4b9ece9b33a9152d75
3
+ size 272385288
runs/Jan24_12-04-43_b313c7a6aaee/events.out.tfevents.1706097884.b313c7a6aaee.198.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ecdfe44124f622ccd83c904e369cfdf33c85767482d1bd63350137f723bfce1
3
+ size 12687
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_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "mask_token": "[MASK]",
49
+ "max_len": 512,
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "DistilBertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d244a4a250ec7144573cd3aa8bbb518068a1d703af62ea5f376f87773c2f59e
3
+ size 4728
vocab.txt ADDED
The diff for this file is too large to render. See raw diff