leandrojlf5 commited on
Commit
5a93e47
·
verified ·
1 Parent(s): d9af17c

End of training

Browse files
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-base-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: my_awesome_model
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # my_awesome_model
18
+
19
+ This model is a fine-tuned version of [google-bert/bert-base-cased](https://huggingface.co/google-bert/bert-base-cased) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.3326
22
+ - Accuracy: 0.3333
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 5e-05
42
+ - train_batch_size: 8
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 3.0
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | No log | 1.0 | 2 | 1.5154 | 0.3333 |
54
+ | No log | 2.0 | 4 | 1.3792 | 0.3333 |
55
+ | No log | 3.0 | 6 | 1.3326 | 0.3333 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.46.3
61
+ - Pytorch 2.5.1+cu124
62
+ - Datasets 3.1.0
63
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-cased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "LABEL_0": 0,
23
+ "LABEL_1": 1,
24
+ "LABEL_2": 2,
25
+ "LABEL_3": 3,
26
+ "LABEL_4": 4
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "max_position_embeddings": 512,
30
+ "model_type": "bert",
31
+ "num_attention_heads": 12,
32
+ "num_hidden_layers": 12,
33
+ "pad_token_id": 0,
34
+ "position_embedding_type": "absolute",
35
+ "problem_type": "single_label_classification",
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.46.3",
38
+ "type_vocab_size": 2,
39
+ "use_cache": true,
40
+ "vocab_size": 28996
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e0fc4de66b63fe86c27bb9e8124dd5833f281a5cc5b3fc1cc3c7370a7afeb7d
3
+ size 433279996
runs/Nov21_23-18-12_leo-ThinkPad-T470p/events.out.tfevents.1732253441.leo-ThinkPad-T470p.1470106.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c053da7aa66b9d0df955a6e55c52ec0d92172154fbdffe5ca1f5b60ca80b094
3
+ size 405
runs/Nov21_23-34-04_leo-ThinkPad-T470p/events.out.tfevents.1732253645.leo-ThinkPad-T470p.1484888.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbaebf9ab660bd2d7bc9f43030112bce15eee1a321b144f74cb7120836e8526c
3
+ size 6627
runs/Nov21_23-34-04_leo-ThinkPad-T470p/events.out.tfevents.1732253782.leo-ThinkPad-T470p.1484888.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:157926bb9339cab6650c805983d129f0bfeec5ced6b30ea17c0390b157dbc27c
3
+ size 405
trainer_state.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 6,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.3333333333333333,
14
+ "eval_loss": 1.5153735876083374,
15
+ "eval_runtime": 6.5784,
16
+ "eval_samples_per_second": 2.28,
17
+ "eval_steps_per_second": 0.304,
18
+ "step": 2
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.3333333333333333,
23
+ "eval_loss": 1.3791700601577759,
24
+ "eval_runtime": 8.0079,
25
+ "eval_samples_per_second": 1.873,
26
+ "eval_steps_per_second": 0.25,
27
+ "step": 4
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "eval_accuracy": 0.3333333333333333,
32
+ "eval_loss": 1.3326424360275269,
33
+ "eval_runtime": 8.569,
34
+ "eval_samples_per_second": 1.751,
35
+ "eval_steps_per_second": 0.233,
36
+ "step": 6
37
+ },
38
+ {
39
+ "epoch": 3.0,
40
+ "step": 6,
41
+ "total_flos": 11840316410880.0,
42
+ "train_loss": 1.5828933715820312,
43
+ "train_runtime": 108.0308,
44
+ "train_samples_per_second": 0.417,
45
+ "train_steps_per_second": 0.056
46
+ },
47
+ {
48
+ "epoch": 3.0,
49
+ "eval_accuracy": 0.3333333333333333,
50
+ "eval_loss": 1.3326424360275269,
51
+ "eval_runtime": 6.5661,
52
+ "eval_samples_per_second": 2.284,
53
+ "eval_steps_per_second": 0.305,
54
+ "step": 6
55
+ }
56
+ ],
57
+ "logging_steps": 500,
58
+ "max_steps": 6,
59
+ "num_input_tokens_seen": 0,
60
+ "num_train_epochs": 3,
61
+ "save_steps": 500,
62
+ "stateful_callbacks": {
63
+ "TrainerControl": {
64
+ "args": {
65
+ "should_epoch_stop": false,
66
+ "should_evaluate": false,
67
+ "should_log": false,
68
+ "should_save": true,
69
+ "should_training_stop": true
70
+ },
71
+ "attributes": {}
72
+ }
73
+ },
74
+ "total_flos": 11840316410880.0,
75
+ "train_batch_size": 8,
76
+ "trial_name": null,
77
+ "trial_params": null
78
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51737b5157baec0337607a85ff33ff02fe581a0afc08b502331a63da7a4cb80b
3
+ size 5304