nzm97 commited on
Commit
e536cc8
·
verified ·
1 Parent(s): e846f65

Initial model push after training

Browse files
README.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-large-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: math_question_grade_detection_Bert_databalanced
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
+ # math_question_grade_detection_Bert_databalanced
21
+
22
+ This model is a fine-tuned version of [google-bert/bert-large-uncased](https://huggingface.co/google-bert/bert-large-uncased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.6880
25
+ - Accuracy: 0.7603
26
+ - Precision: 0.7651
27
+ - Recall: 0.7603
28
+ - F1: 0.7588
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: 2e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 8
50
+ - seed: 42
51
+ - gradient_accumulation_steps: 2
52
+ - total_train_batch_size: 32
53
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
54
+ - lr_scheduler_type: linear
55
+ - lr_scheduler_warmup_steps: 100
56
+ - training_steps: 1100
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
61
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
62
+ | No log | 0.2817 | 50 | 2.1003 | 0.2349 | 0.3799 | 0.2349 | 0.2106 |
63
+ | No log | 0.5634 | 100 | 1.9607 | 0.2762 | 0.3337 | 0.2762 | 0.2498 |
64
+ | No log | 0.8451 | 150 | 1.5031 | 0.4778 | 0.4633 | 0.4778 | 0.4591 |
65
+ | No log | 1.1268 | 200 | 1.2546 | 0.5460 | 0.5596 | 0.5460 | 0.5176 |
66
+ | No log | 1.4085 | 250 | 1.0941 | 0.5746 | 0.5804 | 0.5746 | 0.5675 |
67
+ | No log | 1.6901 | 300 | 0.9381 | 0.6730 | 0.6943 | 0.6730 | 0.6721 |
68
+ | No log | 1.9718 | 350 | 0.8974 | 0.6619 | 0.6822 | 0.6619 | 0.6570 |
69
+ | No log | 2.2535 | 400 | 0.8243 | 0.6889 | 0.6913 | 0.6889 | 0.6856 |
70
+ | No log | 2.5352 | 450 | 0.8219 | 0.6937 | 0.7131 | 0.6937 | 0.6881 |
71
+ | 1.2537 | 2.8169 | 500 | 0.7642 | 0.7159 | 0.7239 | 0.7159 | 0.7121 |
72
+ | 1.2537 | 3.0986 | 550 | 0.7580 | 0.7175 | 0.7197 | 0.7175 | 0.7068 |
73
+ | 1.2537 | 3.3803 | 600 | 0.7310 | 0.7397 | 0.7523 | 0.7397 | 0.7387 |
74
+ | 1.2537 | 3.6620 | 650 | 0.7562 | 0.7413 | 0.7466 | 0.7413 | 0.7349 |
75
+ | 1.2537 | 3.9437 | 700 | 0.6512 | 0.7730 | 0.7792 | 0.7730 | 0.7726 |
76
+ | 1.2537 | 4.2254 | 750 | 0.6941 | 0.7476 | 0.7484 | 0.7476 | 0.7447 |
77
+ | 1.2537 | 4.5070 | 800 | 0.6866 | 0.7571 | 0.7607 | 0.7571 | 0.7550 |
78
+ | 1.2537 | 4.7887 | 850 | 0.6942 | 0.7603 | 0.7644 | 0.7603 | 0.7588 |
79
+ | 1.2537 | 5.0704 | 900 | 0.7230 | 0.7683 | 0.7821 | 0.7683 | 0.7656 |
80
+ | 1.2537 | 5.3521 | 950 | 0.7123 | 0.7603 | 0.7669 | 0.7603 | 0.7588 |
81
+ | 0.321 | 5.6338 | 1000 | 0.6939 | 0.7667 | 0.7725 | 0.7667 | 0.7652 |
82
+ | 0.321 | 5.9155 | 1050 | 0.6884 | 0.7667 | 0.7723 | 0.7667 | 0.7657 |
83
+ | 0.321 | 6.1972 | 1100 | 0.6880 | 0.7603 | 0.7651 | 0.7603 | 0.7588 |
84
+
85
+
86
+ ### Framework versions
87
+
88
+ - Transformers 4.46.3
89
+ - Pytorch 2.4.0
90
+ - Datasets 3.1.0
91
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-large-uncased",
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": 1024,
12
+ "id2label": {
13
+ "0": 0,
14
+ "1": 1,
15
+ "2": 2,
16
+ "3": 3,
17
+ "4": 4,
18
+ "5": 5,
19
+ "6": 6,
20
+ "7": 7,
21
+ "8": 8
22
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 4096,
25
+ "label2id": {
26
+ "0": 0,
27
+ "1": 1,
28
+ "2": 2,
29
+ "3": 3,
30
+ "4": 4,
31
+ "5": 5,
32
+ "6": 6,
33
+ "7": 7,
34
+ "8": 8
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "max_position_embeddings": 512,
38
+ "model_type": "bert",
39
+ "num_attention_heads": 16,
40
+ "num_hidden_layers": 24,
41
+ "pad_token_id": 0,
42
+ "position_embedding_type": "absolute",
43
+ "problem_type": "single_label_classification",
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.46.3",
46
+ "type_vocab_size": 2,
47
+ "use_cache": true,
48
+ "vocab_size": 30522
49
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fb68c6a05e7f573c6920f8408b1ccb59d2b55da2d7d9a2c2455d83af9e48a71
3
+ size 1340651460
runs/Dec18_06-34-11_7ad37ae5c0da/events.out.tfevents.1734503668.7ad37ae5c0da.23.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d45618e893e7ac2c1b4d8778e2e058a797f68d4429192aea0ed610830325229
3
+ size 16553
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:102d320489a0e837ad9fe51107424878f419ca3e4ee69030ef9545aec5a66d92
3
+ size 5304