egerber1 commited on
Commit
fb907a4
·
verified ·
1 Parent(s): b6ecd21

MercuraTech/reranker-de-all-classifier_2

Browse files
README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: bert-base-german-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: classifier-de2
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
+ # classifier-de2
21
+
22
+ This model is a fine-tuned version of [bert-base-german-cased](https://huggingface.co/bert-base-german-cased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.3294
25
+ - Accuracy: 0.8826
26
+ - Precision: 0.5399
27
+ - Recall: 0.3576
28
+ - F1: 0.4302
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: 1.5e-05
48
+ - train_batch_size: 256
49
+ - eval_batch_size: 256
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_ratio: 0.1
54
+ - num_epochs: 3
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
59
+ |:-------------:|:------:|:-----:|:---------------:|:--------:|:---------:|:------:|:------:|
60
+ | 0.2757 | 0.0923 | 900 | 0.3526 | 0.8732 | 0.4426 | 0.0879 | 0.1466 |
61
+ | 0.2537 | 0.1845 | 1800 | 0.3498 | 0.8739 | 0.4782 | 0.1823 | 0.2640 |
62
+ | 0.2242 | 0.2768 | 2700 | 0.3381 | 0.8815 | 0.5739 | 0.1712 | 0.2637 |
63
+ | 0.2061 | 0.3690 | 3600 | 0.3430 | 0.8763 | 0.5022 | 0.2519 | 0.3355 |
64
+ | 0.1914 | 0.4613 | 4500 | 0.3435 | 0.8784 | 0.5202 | 0.2482 | 0.3360 |
65
+ | 0.1798 | 0.5535 | 5400 | 0.3240 | 0.8817 | 0.5554 | 0.2291 | 0.3243 |
66
+ | 0.1899 | 0.6458 | 6300 | 0.3206 | 0.8768 | 0.5052 | 0.3153 | 0.3883 |
67
+ | 0.1761 | 0.7380 | 7200 | 0.3340 | 0.8846 | 0.5955 | 0.2170 | 0.3181 |
68
+ | 0.189 | 0.8303 | 8100 | 0.3241 | 0.8860 | 0.6141 | 0.2160 | 0.3196 |
69
+ | 0.1644 | 0.9225 | 9000 | 0.3278 | 0.8861 | 0.6105 | 0.2251 | 0.3289 |
70
+ | 0.1582 | 1.0148 | 9900 | 0.3437 | 0.8847 | 0.5773 | 0.2633 | 0.3616 |
71
+ | 0.1511 | 1.1070 | 10800 | 0.3187 | 0.8836 | 0.5556 | 0.3076 | 0.3960 |
72
+ | 0.1602 | 1.1993 | 11700 | 0.3198 | 0.8860 | 0.5858 | 0.2764 | 0.3756 |
73
+ | 0.149 | 1.2915 | 12600 | 0.3244 | 0.8842 | 0.5635 | 0.2945 | 0.3868 |
74
+ | 0.1512 | 1.3838 | 13500 | 0.3281 | 0.8863 | 0.5792 | 0.3040 | 0.3987 |
75
+ | 0.1463 | 1.4760 | 14400 | 0.3228 | 0.8869 | 0.5947 | 0.2753 | 0.3763 |
76
+ | 0.1372 | 1.5683 | 15300 | 0.3300 | 0.8872 | 0.5869 | 0.3048 | 0.4012 |
77
+ | 0.1545 | 1.6605 | 16200 | 0.3229 | 0.8866 | 0.5807 | 0.3086 | 0.4030 |
78
+ | 0.1755 | 1.7528 | 17100 | 0.3070 | 0.8854 | 0.5652 | 0.3280 | 0.4151 |
79
+ | 0.1403 | 1.8450 | 18000 | 0.3212 | 0.8877 | 0.5995 | 0.2836 | 0.3851 |
80
+ | 0.1425 | 1.9373 | 18900 | 0.3179 | 0.8861 | 0.5722 | 0.3235 | 0.4133 |
81
+ | 0.1271 | 2.0295 | 19800 | 0.3483 | 0.8843 | 0.5545 | 0.3411 | 0.4224 |
82
+ | 0.1235 | 2.1218 | 20700 | 0.3362 | 0.8858 | 0.5685 | 0.3294 | 0.4171 |
83
+ | 0.1324 | 2.2140 | 21600 | 0.3294 | 0.8826 | 0.5399 | 0.3576 | 0.4302 |
84
+ | 0.1236 | 2.3063 | 22500 | 0.3345 | 0.8859 | 0.5712 | 0.3214 | 0.4113 |
85
+ | 0.1264 | 2.3985 | 23400 | 0.3575 | 0.8876 | 0.5879 | 0.3141 | 0.4094 |
86
+ | 0.1157 | 2.4908 | 24300 | 0.3405 | 0.8872 | 0.5863 | 0.3058 | 0.4020 |
87
+ | 0.1261 | 2.5830 | 25200 | 0.3372 | 0.8874 | 0.5853 | 0.3165 | 0.4109 |
88
+ | 0.1346 | 2.6753 | 26100 | 0.3398 | 0.8863 | 0.5747 | 0.3205 | 0.4115 |
89
+ | 0.1099 | 2.7675 | 27000 | 0.3492 | 0.8872 | 0.5843 | 0.3122 | 0.4070 |
90
+ | 0.1295 | 2.8598 | 27900 | 0.3374 | 0.8871 | 0.5813 | 0.3191 | 0.4120 |
91
+ | 0.1259 | 2.9520 | 28800 | 0.3410 | 0.8875 | 0.5863 | 0.3152 | 0.4100 |
92
+
93
+
94
+ ### Framework versions
95
+
96
+ - Transformers 4.51.3
97
+ - Pytorch 2.7.0+cu126
98
+ - Datasets 3.5.0
99
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 3072,
12
+ "layer_norm_eps": 1e-12,
13
+ "max_position_embeddings": 512,
14
+ "model_type": "bert",
15
+ "num_attention_heads": 12,
16
+ "num_hidden_layers": 12,
17
+ "pad_token_id": 0,
18
+ "position_embedding_type": "absolute",
19
+ "problem_type": "single_label_classification",
20
+ "torch_dtype": "float32",
21
+ "transformers_version": "4.51.3",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 30000
25
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f5eabf03779d706f947963d0fcdf2042d96604d5bcb7b94517d666695715493
3
+ size 436355056
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
+ "2": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "3": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "4": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "5": {
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:9604bbb1bef454773450efc3c7ca64fd12f387ef5baffccc8394aacfc56c142b
3
+ size 5649
vocab.txt ADDED
The diff for this file is too large to render. See raw diff