egerber1 commited on
Commit
4011633
·
verified ·
1 Parent(s): 2033f15

MercuraTech/reranker-de-50k-classifier

Browse files
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-de
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-de
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.3460
25
+ - Accuracy: 0.8811
26
+ - Precision: 0.5353
27
+ - Recall: 0.2849
28
+ - F1: 0.3719
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.2897 | 0.2569 | 500 | 0.3390 | 0.8773 | 0.5747 | 0.0282 | 0.0537 |
61
+ | 0.2437 | 0.5139 | 1000 | 0.3320 | 0.8789 | 0.5347 | 0.1568 | 0.2425 |
62
+ | 0.2292 | 0.7708 | 1500 | 0.3317 | 0.8826 | 0.5760 | 0.1901 | 0.2859 |
63
+ | 0.1915 | 1.0277 | 2000 | 0.3557 | 0.8820 | 0.5583 | 0.2164 | 0.3119 |
64
+ | 0.2146 | 1.2847 | 2500 | 0.3390 | 0.8837 | 0.5757 | 0.2250 | 0.3236 |
65
+ | 0.2222 | 1.5416 | 3000 | 0.3298 | 0.8811 | 0.5358 | 0.2819 | 0.3694 |
66
+ | 0.1861 | 1.7986 | 3500 | 0.3338 | 0.8823 | 0.5501 | 0.2620 | 0.3549 |
67
+ | 0.1789 | 2.0555 | 4000 | 0.3460 | 0.8811 | 0.5353 | 0.2849 | 0.3719 |
68
+ | 0.1739 | 2.3124 | 4500 | 0.3614 | 0.8850 | 0.5863 | 0.2368 | 0.3373 |
69
+ | 0.1899 | 2.5694 | 5000 | 0.3487 | 0.8844 | 0.5716 | 0.2578 | 0.3554 |
70
+ | 0.1692 | 2.8263 | 5500 | 0.3484 | 0.8847 | 0.5728 | 0.2653 | 0.3626 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.51.3
76
+ - Pytorch 2.7.0+cu126
77
+ - Datasets 3.5.0
78
+ - 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:03fece0c1929ae3527fd08ecbd9dc587021180b7b058840f4fa780614dc2a7e2
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:942b6983ad5cb346bd57734eabf8386f36c32573124b63c31e8aab22a87316de
3
+ size 5649
vocab.txt ADDED
The diff for this file is too large to render. See raw diff