MissAvery commited on
Commit
f1953b7
·
verified ·
1 Parent(s): efaeb99

End of training

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert-base-german-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: distilbert-german-finetuned-ner-v2
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
+ # distilbert-german-finetuned-ner-v2
21
+
22
+ This model is a fine-tuned version of [distilbert-base-german-cased](https://huggingface.co/distilbert-base-german-cased) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0016
25
+ - Precision: 0.9985
26
+ - Recall: 0.9982
27
+ - F1: 0.9983
28
+ - Accuracy: 0.9995
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: 8
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.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
+ - num_epochs: 3
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
58
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
59
+ | 0.041 | 1.0 | 1000 | 0.0077 | 0.9919 | 0.9934 | 0.9926 | 0.9980 |
60
+ | 0.0068 | 2.0 | 2000 | 0.0041 | 0.9969 | 0.9971 | 0.9970 | 0.9989 |
61
+ | 0.0032 | 3.0 | 3000 | 0.0016 | 0.9985 | 0.9982 | 0.9983 | 0.9995 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.50.0
67
+ - Pytorch 2.6.0+cu124
68
+ - Datasets 3.6.0
69
+ - Tokenizers 0.21.2
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForTokenClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "hidden_dim": 3072,
10
+ "id2label": {
11
+ "0": "0",
12
+ "1": "B-DAT",
13
+ "2": "I-DAT",
14
+ "3": "B-TIM",
15
+ "4": "I-TIM",
16
+ "5": "B-LOC",
17
+ "6": "I-LOC",
18
+ "7": "B-DUR",
19
+ "8": "I-DUR",
20
+ "9": "B-MON",
21
+ "10": "I-MON",
22
+ "11": "B-URL",
23
+ "12": "I-URL",
24
+ "13": "B-TYP",
25
+ "14": "I-TYP"
26
+ },
27
+ "initializer_range": 0.02,
28
+ "label2id": {
29
+ "0": 0,
30
+ "B-DAT": 1,
31
+ "B-DUR": 7,
32
+ "B-LOC": 5,
33
+ "B-MON": 9,
34
+ "B-TIM": 3,
35
+ "B-TYP": 13,
36
+ "B-URL": 11,
37
+ "I-DAT": 2,
38
+ "I-DUR": 8,
39
+ "I-LOC": 6,
40
+ "I-MON": 10,
41
+ "I-TIM": 4,
42
+ "I-TYP": 14,
43
+ "I-URL": 12
44
+ },
45
+ "max_position_embeddings": 512,
46
+ "model_type": "distilbert",
47
+ "n_heads": 12,
48
+ "n_layers": 6,
49
+ "output_past": true,
50
+ "pad_token_id": 0,
51
+ "qa_dropout": 0.1,
52
+ "seq_classif_dropout": 0.2,
53
+ "sinusoidal_pos_embds": true,
54
+ "tie_weights_": true,
55
+ "torch_dtype": "float32",
56
+ "transformers_version": "4.50.0",
57
+ "vocab_size": 31102
58
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29ae4878c095c4a857b9e02109b780d268e18d26e9dca3c670a0a17135b75a31
3
+ size 267291764
runs/Jul08_08-17-01_b668b40c9a7b/events.out.tfevents.1751962630.b668b40c9a7b.267.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a34c0c4a16399bab98a1eea32d0a9f2f9282b3f9be0ab6907be17feac30d0de6
3
+ size 8598
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": "DistilBertTokenizer",
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:54df6c63c3cb74b68a7c4dd5475ed5d40616031439a2aae87f3886ff235198b2
3
+ size 5368
vocab.txt ADDED
The diff for this file is too large to render. See raw diff