Markus Serloth-Schwarzer commited on
Commit
eba53b0
1 Parent(s): 9df9ff0

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - text-classification
6
+ widget:
7
+ - text: "I love AutoTrain"
8
+ datasets:
9
+ - autotrain-df-1000/autotrain-data
10
+ ---
11
+
12
+ # Model Trained Using AutoTrain
13
+
14
+ - Problem type: Text Classification
15
+
16
+ ## Validation Metrics
17
+ loss: 0.7126067876815796
18
+
19
+ f1_macro: 0.4477682811016144
20
+
21
+ f1_micro: 0.685
22
+
23
+ f1_weighted: 0.6707122507122506
24
+
25
+ precision_macro: 0.47539682539682543
26
+
27
+ precision_micro: 0.685
28
+
29
+ precision_weighted: 0.7070714285714286
30
+
31
+ recall_macro: 0.45445658036677455
32
+
33
+ recall_micro: 0.685
34
+
35
+ recall_weighted: 0.685
36
+
37
+ accuracy: 0.685
checkpoint-100/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "oliverguhr/german-sentiment-bert",
3
+ "_num_labels": 3,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "finetuning_task": "germansentiment",
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "negative",
15
+ "1": "neutral",
16
+ "2": "positive"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "negative": 0,
22
+ "neutral": 1,
23
+ "positive": 2
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "max_position_embeddings": 512,
27
+ "model_type": "bert",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 0,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.40.1",
35
+ "type_vocab_size": 2,
36
+ "use_cache": true,
37
+ "vocab_size": 30000
38
+ }
checkpoint-100/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:184d67361c023aacb18a503fc081e674bec355b386c3896a4a95292a7906881f
3
+ size 436358132
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a11045affabb381aa6baa33b3e27805eed586d959d7040653982530981b7eafd
3
+ size 872837370
checkpoint-100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4811897f7bdb295f63817a49880dea0c54680952bd8c941c2cc428a0ee303210
3
+ size 14244
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70f4152fd574fabc2bd324c9539ff61a96b4f4ac89c81e8a13e7bacc3f15c4cf
3
+ size 1064
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7126067876815796,
3
+ "best_model_checkpoint": "autotrain-df-1000/checkpoint-100",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 100,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.05,
13
+ "grad_norm": 54.78703308105469,
14
+ "learning_rate": 2.0000000000000003e-06,
15
+ "loss": 3.1531,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.1,
20
+ "grad_norm": 76.31970977783203,
21
+ "learning_rate": 7.000000000000001e-06,
22
+ "loss": 2.8551,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.15,
27
+ "grad_norm": 40.00764083862305,
28
+ "learning_rate": 1.2e-05,
29
+ "loss": 2.384,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.2,
34
+ "grad_norm": 28.42409324645996,
35
+ "learning_rate": 1.7000000000000003e-05,
36
+ "loss": 1.4925,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.25,
41
+ "grad_norm": 55.30701446533203,
42
+ "learning_rate": 2.2000000000000003e-05,
43
+ "loss": 1.146,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.3,
48
+ "grad_norm": 43.73154830932617,
49
+ "learning_rate": 2.7000000000000002e-05,
50
+ "loss": 0.973,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.35,
55
+ "grad_norm": 12.502547264099121,
56
+ "learning_rate": 3.2000000000000005e-05,
57
+ "loss": 0.9347,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.4,
62
+ "grad_norm": 9.767241477966309,
63
+ "learning_rate": 3.7e-05,
64
+ "loss": 0.6364,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.45,
69
+ "grad_norm": 23.53659439086914,
70
+ "learning_rate": 4.2e-05,
71
+ "loss": 0.7147,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.5,
76
+ "grad_norm": 10.964140892028809,
77
+ "learning_rate": 4.7e-05,
78
+ "loss": 0.5756,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.55,
83
+ "grad_norm": 18.788103103637695,
84
+ "learning_rate": 4.977777777777778e-05,
85
+ "loss": 0.5457,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.6,
90
+ "grad_norm": 20.568147659301758,
91
+ "learning_rate": 4.922222222222222e-05,
92
+ "loss": 0.5995,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.65,
97
+ "grad_norm": 24.061555862426758,
98
+ "learning_rate": 4.866666666666667e-05,
99
+ "loss": 0.6308,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.7,
104
+ "grad_norm": 13.831650733947754,
105
+ "learning_rate": 4.811111111111111e-05,
106
+ "loss": 0.6019,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.75,
111
+ "grad_norm": 6.616458892822266,
112
+ "learning_rate": 4.755555555555556e-05,
113
+ "loss": 0.4697,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.8,
118
+ "grad_norm": 31.620847702026367,
119
+ "learning_rate": 4.7e-05,
120
+ "loss": 0.3965,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.85,
125
+ "grad_norm": 20.271053314208984,
126
+ "learning_rate": 4.644444444444445e-05,
127
+ "loss": 0.5298,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.9,
132
+ "grad_norm": 17.555654525756836,
133
+ "learning_rate": 4.588888888888889e-05,
134
+ "loss": 0.8049,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.95,
139
+ "grad_norm": Infinity,
140
+ "learning_rate": 4.5444444444444444e-05,
141
+ "loss": 0.8184,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 1.0,
146
+ "grad_norm": 5.824897766113281,
147
+ "learning_rate": 4.4888888888888894e-05,
148
+ "loss": 1.0717,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 1.0,
153
+ "eval_accuracy": 0.685,
154
+ "eval_f1_macro": 0.4477682811016144,
155
+ "eval_f1_micro": 0.685,
156
+ "eval_f1_weighted": 0.6707122507122506,
157
+ "eval_loss": 0.7126067876815796,
158
+ "eval_precision_macro": 0.47539682539682543,
159
+ "eval_precision_micro": 0.685,
160
+ "eval_precision_weighted": 0.7070714285714286,
161
+ "eval_recall_macro": 0.45445658036677455,
162
+ "eval_recall_micro": 0.685,
163
+ "eval_recall_weighted": 0.685,
164
+ "eval_runtime": 0.5369,
165
+ "eval_samples_per_second": 372.54,
166
+ "eval_steps_per_second": 24.215,
167
+ "step": 100
168
+ }
169
+ ],
170
+ "logging_steps": 5,
171
+ "max_steps": 500,
172
+ "num_input_tokens_seen": 0,
173
+ "num_train_epochs": 5,
174
+ "save_steps": 500,
175
+ "total_flos": 52622683545600.0,
176
+ "train_batch_size": 8,
177
+ "trial_name": null,
178
+ "trial_params": null
179
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea3db12c93cb1810f4ff6a15a379f10f7e6a18189f73ac9ead64b10c6fa8fe19
3
+ size 5048
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "oliverguhr/german-sentiment-bert",
3
+ "_num_labels": 3,
4
+ "architectures": [
5
+ "BertForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "finetuning_task": "germansentiment",
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "negative",
15
+ "1": "neutral",
16
+ "2": "positive"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "negative": 0,
22
+ "neutral": 1,
23
+ "positive": 2
24
+ },
25
+ "layer_norm_eps": 1e-12,
26
+ "max_position_embeddings": 512,
27
+ "model_type": "bert",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 0,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.40.1",
35
+ "type_vocab_size": 2,
36
+ "use_cache": true,
37
+ "vocab_size": 30000
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:184d67361c023aacb18a503fc081e674bec355b386c3896a4a95292a7906881f
3
+ size 436358132
runs/May11_09-00-31_r-zerithas-myownmodels-v1-249bpdw0-f95cc-evbm8/events.out.tfevents.1715418032.r-zerithas-myownmodels-v1-249bpdw0-f95cc-evbm8.66.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8cfc5628863fe5366a73427e7949ab14cfcd7455fcc3a0ee6141bbc0c022b65e
3
- size 4908
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1dd996d78dacd6786a45df5eb7085b0e04a0b3c83ca7fa349c9ff381cf0659e
3
+ size 25359
runs/May11_09-00-31_r-zerithas-myownmodels-v1-249bpdw0-f95cc-evbm8/events.out.tfevents.1715418084.r-zerithas-myownmodels-v1-249bpdw0-f95cc-evbm8.66.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50fb64e05b88ddccdda87e811371bb0b6329018c1293449741d3fcc64d5a9601
3
+ size 921
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,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea3db12c93cb1810f4ff6a15a379f10f7e6a18189f73ac9ead64b10c6fa8fe19
3
+ size 5048
training_params.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-df-1000/autotrain-data",
3
+ "model": "oliverguhr/german-sentiment-bert",
4
+ "lr": 5e-05,
5
+ "epochs": 5,
6
+ "max_seq_length": 128,
7
+ "batch_size": 8,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 1,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
13
+ "max_grad_norm": 1.0,
14
+ "seed": 42,
15
+ "train_split": "train",
16
+ "valid_split": "validation",
17
+ "text_column": "autotrain_text",
18
+ "target_column": "autotrain_label",
19
+ "logging_steps": -1,
20
+ "project_name": "autotrain-df-1000",
21
+ "auto_find_batch_size": false,
22
+ "mixed_precision": "fp16",
23
+ "save_total_limit": 1,
24
+ "push_to_hub": true,
25
+ "evaluation_strategy": "epoch",
26
+ "username": "Zerithas",
27
+ "log": "tensorboard"
28
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff