izaitova commited on
Commit
0b31a0d
·
verified ·
1 Parent(s): 3d17c4d

End of training

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: cc-by-4.0
4
+ base_model: allegro/herbert-large-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: herbert-large-cased-topic_classification
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
+ # herbert-large-cased-topic_classification
21
+
22
+ This model is a fine-tuned version of [allegro/herbert-large-cased](https://huggingface.co/allegro/herbert-large-cased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.5731
25
+ - Precision: 0.9195
26
+ - Recall: 0.9014
27
+ - F1: 0.9082
28
+ - Accuracy: 0.9167
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: 5e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 10
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
58
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
59
+ | No log | 1.0 | 44 | 0.3576 | 0.9119 | 0.8684 | 0.8815 | 0.9020 |
60
+ | No log | 2.0 | 88 | 0.3342 | 0.9085 | 0.9027 | 0.8973 | 0.9069 |
61
+ | No log | 3.0 | 132 | 0.4985 | 0.9121 | 0.8826 | 0.8916 | 0.9020 |
62
+ | No log | 4.0 | 176 | 0.6182 | 0.8998 | 0.8858 | 0.8911 | 0.9020 |
63
+ | No log | 5.0 | 220 | 0.5089 | 0.9056 | 0.8880 | 0.8944 | 0.9020 |
64
+ | No log | 6.0 | 264 | 0.6806 | 0.9061 | 0.8593 | 0.8766 | 0.8922 |
65
+ | No log | 7.0 | 308 | 0.5604 | 0.9127 | 0.8866 | 0.8969 | 0.9069 |
66
+ | No log | 8.0 | 352 | 0.5780 | 0.9157 | 0.9036 | 0.9077 | 0.9167 |
67
+ | No log | 9.0 | 396 | 0.5733 | 0.9195 | 0.9014 | 0.9082 | 0.9167 |
68
+ | No log | 10.0 | 440 | 0.5731 | 0.9195 | 0.9014 | 0.9082 | 0.9167 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.44.2
74
+ - Pytorch 2.4.0+cu121
75
+ - Datasets 2.21.0
76
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "allegro/herbert-large-cased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 1024,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4",
18
+ "5": "LABEL_5",
19
+ "6": "LABEL_6"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 4096,
23
+ "label2id": {
24
+ "LABEL_0": 0,
25
+ "LABEL_1": 1,
26
+ "LABEL_2": 2,
27
+ "LABEL_3": 3,
28
+ "LABEL_4": 4,
29
+ "LABEL_5": 5,
30
+ "LABEL_6": 6
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "max_position_embeddings": 514,
34
+ "model_type": "bert",
35
+ "num_attention_heads": 16,
36
+ "num_hidden_layers": 24,
37
+ "pad_token_id": 1,
38
+ "pooler_fc_size": 768,
39
+ "pooler_num_attention_heads": 12,
40
+ "pooler_num_fc_layers": 3,
41
+ "pooler_size_per_head": 128,
42
+ "pooler_type": "first_token_transform",
43
+ "position_embedding_type": "absolute",
44
+ "problem_type": "single_label_classification",
45
+ "tokenizer_class": "HerbertTokenizerFast",
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.44.2",
48
+ "type_vocab_size": 2,
49
+ "use_cache": true,
50
+ "vocab_size": 50000
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3f448fd6139bc5f5ade4f8a65a63b6c85faf275527cae8046fdc90ed6309755
3
+ size 1420433396
runs/Sep09_15-53-15_c74e3896f8e1/events.out.tfevents.1725897198.c74e3896f8e1.594.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e11ac8a56f3132289ca50635fa79fe7ad1c97a785849e314745fdd60fcfeade
3
+ size 10684
runs/Sep09_15-53-15_c74e3896f8e1/events.out.tfevents.1725897764.c74e3896f8e1.594.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f98ce68d2bb604681ff3f4855a137d5ac3acbf4e0530ed4ff3909ec48457665d
3
+ size 560
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63272b85d789d828187800526ab20dae17b1c0f9b33e2e508786d3c3743df1a2
3
+ size 5304