izaitova commited on
Commit
eb7a97b
·
verified ·
1 Parent(s): 036e1ff

End of training

Browse files
Files changed (4) hide show
  1. README.md +76 -0
  2. config.json +51 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-large-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: bert-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
+ # bert-large-cased-topic_classification
21
+
22
+ This model is a fine-tuned version of [bert-large-cased](https://huggingface.co/bert-large-cased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.7479
25
+ - Precision: 0.4458
26
+ - Recall: 0.4498
27
+ - F1: 0.4445
28
+ - Accuracy: 0.8586
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.4136 | 0.6930 | 0.7081 | 0.6990 | 0.9192 |
60
+ | No log | 2.0 | 88 | 0.2667 | 0.5405 | 0.5322 | 0.5340 | 0.8990 |
61
+ | No log | 3.0 | 132 | 0.3692 | 0.4629 | 0.4494 | 0.4560 | 0.9091 |
62
+ | No log | 4.0 | 176 | 0.7460 | 0.3903 | 0.3684 | 0.3778 | 0.8485 |
63
+ | No log | 5.0 | 220 | 0.6232 | 0.4687 | 0.4670 | 0.4668 | 0.9091 |
64
+ | No log | 6.0 | 264 | 0.5646 | 0.4648 | 0.4670 | 0.4649 | 0.9091 |
65
+ | No log | 7.0 | 308 | 0.7408 | 0.4458 | 0.4498 | 0.4445 | 0.8586 |
66
+ | No log | 8.0 | 352 | 0.7967 | 0.4458 | 0.4498 | 0.4445 | 0.8586 |
67
+ | No log | 9.0 | 396 | 0.7559 | 0.4458 | 0.4498 | 0.4445 | 0.8586 |
68
+ | No log | 10.0 | 440 | 0.7479 | 0.4458 | 0.4498 | 0.4445 | 0.8586 |
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": "bert-large-cased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4",
19
+ "5": "LABEL_5",
20
+ "6": "LABEL_6"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 4096,
24
+ "label2id": {
25
+ "LABEL_0": 0,
26
+ "LABEL_1": 1,
27
+ "LABEL_2": 2,
28
+ "LABEL_3": 3,
29
+ "LABEL_4": 4,
30
+ "LABEL_5": 5,
31
+ "LABEL_6": 6
32
+ },
33
+ "layer_norm_eps": 1e-12,
34
+ "max_position_embeddings": 512,
35
+ "model_type": "bert",
36
+ "num_attention_heads": 16,
37
+ "num_hidden_layers": 24,
38
+ "pad_token_id": 0,
39
+ "pooler_fc_size": 768,
40
+ "pooler_num_attention_heads": 12,
41
+ "pooler_num_fc_layers": 3,
42
+ "pooler_size_per_head": 128,
43
+ "pooler_type": "first_token_transform",
44
+ "position_embedding_type": "absolute",
45
+ "problem_type": "single_label_classification",
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.44.2",
48
+ "type_vocab_size": 2,
49
+ "use_cache": true,
50
+ "vocab_size": 28996
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dbb69062ccacc64a8e1b3219e3a71c01c4d9adc36cbeda3f440bbbede9fa91a
3
+ size 1334392764
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a25cf73fc9a2e2a83d155da2daba13a2ff08f73af77d022c8a0142c76f4a3467
3
+ size 5240