Wiebke commited on
Commit
d6bf9c5
·
verified ·
1 Parent(s): cd42fc6

End of training

Browse files
Files changed (4) hide show
  1. README.md +17 -12
  2. config.json +43 -6
  3. model.safetensors +2 -2
  4. training_args.bin +1 -1
README.md CHANGED
@@ -5,7 +5,8 @@ base_model: distilbert/distilbert-base-german-cased
5
  tags:
6
  - generated_from_trainer
7
  metrics:
8
- - accuracy
 
9
  - f1
10
  model-index:
11
  - name: trainer_output
@@ -19,10 +20,11 @@ should probably proofread and complete it, then remove this comment. -->
19
 
20
  This model is a fine-tuned version of [distilbert/distilbert-base-german-cased](https://huggingface.co/distilbert/distilbert-base-german-cased) on the None dataset.
21
  It achieves the following results on the evaluation set:
22
- - Loss: 0.2201
23
- - Model Preparation Time: 0.0043
24
- - Accuracy: 0.9298
25
- - F1: 0.9295
 
26
 
27
  ## Model description
28
 
@@ -52,13 +54,16 @@ The following hyperparameters were used during training:
52
 
53
  ### Training results
54
 
55
- | Training Loss | Epoch | Step | Validation Loss | Model Preparation Time | Accuracy | F1 |
56
- |:-------------:|:------:|:----:|:---------------:|:----------------------:|:--------:|:------:|
57
- | 0.2941 | 0.4233 | 750 | 0.2640 | 0.0043 | 0.9033 | 0.8995 |
58
- | 0.2372 | 0.8465 | 1500 | 0.2202 | 0.0043 | 0.9224 | 0.9206 |
59
- | 0.1914 | 1.2698 | 2250 | 0.2217 | 0.0043 | 0.9290 | 0.9285 |
60
- | 0.1770 | 1.6930 | 3000 | 0.2211 | 0.0043 | 0.9266 | 0.9267 |
61
- | 0.1770 | 2.0 | 3544 | 0.2201 | 0.0043 | 0.9298 | 0.9295 |
 
 
 
62
 
63
 
64
  ### Framework versions
 
5
  tags:
6
  - generated_from_trainer
7
  metrics:
8
+ - precision
9
+ - recall
10
  - f1
11
  model-index:
12
  - name: trainer_output
 
20
 
21
  This model is a fine-tuned version of [distilbert/distilbert-base-german-cased](https://huggingface.co/distilbert/distilbert-base-german-cased) on the None dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 0.3315
24
+ - Model Preparation Time: 0.0014
25
+ - Precision: 0.4110
26
+ - Recall: 0.4941
27
+ - F1: 0.4487
28
 
29
  ## Model description
30
 
 
54
 
55
  ### Training results
56
 
57
+ | Training Loss | Epoch | Step | Validation Loss | Model Preparation Time | Precision | Recall | F1 |
58
+ |:-------------:|:------:|:----:|:---------------:|:----------------------:|:---------:|:------:|:------:|
59
+ | 0.6758 | 0.2822 | 500 | 0.4825 | 0.0014 | 0.1876 | 0.2698 | 0.2213 |
60
+ | 0.4239 | 0.5643 | 1000 | 0.4283 | 0.0014 | 0.2381 | 0.4023 | 0.2991 |
61
+ | 0.3824 | 0.8465 | 1500 | 0.3869 | 0.0014 | 0.3688 | 0.4018 | 0.3846 |
62
+ | 0.3416 | 1.1287 | 2000 | 0.3609 | 0.0014 | 0.3915 | 0.4491 | 0.4183 |
63
+ | 0.2896 | 1.4108 | 2500 | 0.3439 | 0.0014 | 0.3795 | 0.4813 | 0.4244 |
64
+ | 0.2769 | 1.6930 | 3000 | 0.3366 | 0.0014 | 0.4120 | 0.4922 | 0.4486 |
65
+ | 0.2897 | 1.9752 | 3500 | 0.3314 | 0.0014 | 0.4109 | 0.4965 | 0.4496 |
66
+ | 0.2897 | 2.0 | 3544 | 0.3315 | 0.0014 | 0.4110 | 0.4941 | 0.4487 |
67
 
68
 
69
  ### Framework versions
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "activation": "gelu",
3
  "architectures": [
4
- "DistilBertForSequenceClassification"
5
  ],
6
  "attention_dropout": 0.1,
7
  "bos_token_id": null,
@@ -11,13 +11,51 @@
11
  "eos_token_id": null,
12
  "hidden_dim": 3072,
13
  "id2label": {
14
- "0": "no",
15
- "1": "yes"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  },
17
  "initializer_range": 0.02,
18
  "label2id": {
19
- "no": 0,
20
- "yes": 1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  },
22
  "max_position_embeddings": 512,
23
  "model_type": "distilbert",
@@ -25,7 +63,6 @@
25
  "n_layers": 6,
26
  "output_past": true,
27
  "pad_token_id": 0,
28
- "problem_type": "single_label_classification",
29
  "qa_dropout": 0.1,
30
  "seq_classif_dropout": 0.2,
31
  "sinusoidal_pos_embds": true,
 
1
  {
2
  "activation": "gelu",
3
  "architectures": [
4
+ "DistilBertForTokenClassification"
5
  ],
6
  "attention_dropout": 0.1,
7
  "bos_token_id": null,
 
11
  "eos_token_id": null,
12
  "hidden_dim": 3072,
13
  "id2label": {
14
+ "0": "O",
15
+ "1": "I-affection declaration",
16
+ "2": "B-affection declaration",
17
+ "3": "I-agreement",
18
+ "4": "B-agreement",
19
+ "5": "I-ambiguous",
20
+ "6": "B-ambiguous",
21
+ "7": "I-compliment",
22
+ "8": "B-compliment",
23
+ "9": "I-encouragement",
24
+ "10": "B-encouragement",
25
+ "11": "I-gratitude",
26
+ "12": "B-gratitude",
27
+ "13": "I-group membership",
28
+ "14": "B-group membership",
29
+ "15": "I-implicit",
30
+ "16": "B-implicit",
31
+ "17": "I-positive feedback",
32
+ "18": "B-positive feedback",
33
+ "19": "I-sympathy",
34
+ "20": "B-sympathy"
35
  },
36
  "initializer_range": 0.02,
37
  "label2id": {
38
+ "B-affection declaration": 2,
39
+ "B-agreement": 4,
40
+ "B-ambiguous": 6,
41
+ "B-compliment": 8,
42
+ "B-encouragement": 10,
43
+ "B-gratitude": 12,
44
+ "B-group membership": 14,
45
+ "B-implicit": 16,
46
+ "B-positive feedback": 18,
47
+ "B-sympathy": 20,
48
+ "I-affection declaration": 1,
49
+ "I-agreement": 3,
50
+ "I-ambiguous": 5,
51
+ "I-compliment": 7,
52
+ "I-encouragement": 9,
53
+ "I-gratitude": 11,
54
+ "I-group membership": 13,
55
+ "I-implicit": 15,
56
+ "I-positive feedback": 17,
57
+ "I-sympathy": 19,
58
+ "O": 0
59
  },
60
  "max_position_embeddings": 512,
61
  "model_type": "distilbert",
 
63
  "n_layers": 6,
64
  "output_past": true,
65
  "pad_token_id": 0,
 
66
  "qa_dropout": 0.1,
67
  "seq_classif_dropout": 0.2,
68
  "sinusoidal_pos_embds": true,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:76f16e5517b905b0a925dce1ed1a89b31a447ddf4ca72c127c53cd4e999487bf
3
- size 269614320
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50a80aac74c142f41aa2a39ae51e30a011e0f2d18967619ed7d9833533947623
3
+ size 267310220
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:013bdc212c44d07b247b113b264fe0284db4b8f7a62db28c8b49eda833403098
3
  size 5137
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71dfc63032a33ae7c8aa31efd2763933302af54eab25578a4416199d745f5a2f
3
  size 5137