contemmcm commited on
Commit
e2c5635
·
verified ·
1 Parent(s): 0fc94f3

End of training

Browse files
README.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: google-bert/bert-base-german-dbmdz-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: acb1a7ea85ac9779d2da7d5853fe0f82
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
+ # acb1a7ea85ac9779d2da7d5853fe0f82
18
+
19
+ This model is a fine-tuned version of [google-bert/bert-base-german-dbmdz-cased](https://huggingface.co/google-bert/bert-base-german-dbmdz-cased) on the contemmcm/amazon_reviews_2013 [cell-phone] dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.9231
22
+ - Data Size: 1.0
23
+ - Epoch Runtime: 107.2634
24
+ - Accuracy: 0.6672
25
+ - F1 Macro: 0.5926
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 5e-05
45
+ - train_batch_size: 8
46
+ - eval_batch_size: 8
47
+ - seed: 42
48
+ - distributed_type: multi-GPU
49
+ - num_devices: 4
50
+ - total_train_batch_size: 32
51
+ - total_eval_batch_size: 32
52
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
53
+ - lr_scheduler_type: constant
54
+ - num_epochs: 50
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Data Size | Epoch Runtime | Accuracy | F1 Macro |
59
+ |:-------------:|:-----:|:-----:|:---------------:|:---------:|:-------------:|:--------:|:--------:|
60
+ | No log | 0 | 0 | 1.6855 | 0 | 7.3280 | 0.1815 | 0.1099 |
61
+ | No log | 1 | 1973 | 1.5024 | 0.0078 | 8.6292 | 0.3036 | 0.1516 |
62
+ | 0.0318 | 2 | 3946 | 1.3125 | 0.0156 | 8.7919 | 0.4701 | 0.2408 |
63
+ | 1.192 | 3 | 5919 | 1.1183 | 0.0312 | 10.4265 | 0.5381 | 0.3511 |
64
+ | 1.0552 | 4 | 7892 | 1.0130 | 0.0625 | 13.7176 | 0.5757 | 0.4726 |
65
+ | 0.9694 | 5 | 9865 | 0.9311 | 0.125 | 19.9050 | 0.6147 | 0.4945 |
66
+ | 0.9042 | 6 | 11838 | 0.8656 | 0.25 | 32.9112 | 0.6429 | 0.5302 |
67
+ | 0.8763 | 7 | 13811 | 0.8349 | 0.5 | 57.9569 | 0.6461 | 0.5643 |
68
+ | 0.7884 | 8.0 | 15784 | 0.8012 | 1.0 | 108.7645 | 0.6646 | 0.5911 |
69
+ | 0.7013 | 9.0 | 17757 | 0.8179 | 1.0 | 107.0642 | 0.6765 | 0.5908 |
70
+ | 0.6005 | 10.0 | 19730 | 0.8713 | 1.0 | 107.7805 | 0.6511 | 0.5953 |
71
+ | 0.5411 | 11.0 | 21703 | 0.9613 | 1.0 | 109.1855 | 0.6551 | 0.5817 |
72
+ | 0.4842 | 12.0 | 23676 | 0.9231 | 1.0 | 107.2634 | 0.6672 | 0.5926 |
73
+
74
+
75
+ ### Framework versions
76
+
77
+ - Transformers 4.57.0
78
+ - Pytorch 2.8.0+cu128
79
+ - Datasets 4.2.0
80
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "dtype": "float32",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2,
24
+ "LABEL_3": 3,
25
+ "LABEL_4": 4
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "max_position_embeddings": 512,
29
+ "model_type": "bert",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 0,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "transformers_version": "4.57.0",
36
+ "type_vocab_size": 2,
37
+ "use_cache": true,
38
+ "vocab_size": 31102
39
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b621deb4368f162c1230a853b4b34c5c99df1500eece7eeed07aacb641e9d144
3
+ size 439749636
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,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "101": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "102": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "103": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "104": {
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": false,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:709e3fcbbe18081a56c85739589cd44fff37c76d53d4fa94b0dbc10cfd1627cf
3
+ size 5969
vocab.txt ADDED
The diff for this file is too large to render. See raw diff