nzm97 commited on
Commit
e4d1310
·
verified ·
1 Parent(s): b6d9371

Initial model push after training

Browse files
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-base-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_v12
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_v12
21
+
22
+ This model is a fine-tuned version of [google-bert/bert-base-uncased](https://huggingface.co/google-bert/bert-base-uncased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.8913
25
+ - Accuracy: 0.7397
26
+ - Precision: 0.7255
27
+ - Recall: 0.7397
28
+ - F1: 0.7178
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: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - training_steps: 1500
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | No log | 0.0855 | 50 | 3.0343 | 0.1710 | 0.1287 | 0.1710 | 0.0917 |
60
+ | No log | 0.1709 | 100 | 2.4792 | 0.3151 | 0.2979 | 0.3151 | 0.2439 |
61
+ | No log | 0.2564 | 150 | 2.1397 | 0.4428 | 0.4101 | 0.4428 | 0.3752 |
62
+ | No log | 0.3419 | 200 | 1.9824 | 0.4419 | 0.3872 | 0.4419 | 0.3638 |
63
+ | No log | 0.4274 | 250 | 1.7765 | 0.5072 | 0.4772 | 0.5072 | 0.4666 |
64
+ | No log | 0.5128 | 300 | 1.6510 | 0.5524 | 0.5347 | 0.5524 | 0.5147 |
65
+ | No log | 0.5983 | 350 | 1.5160 | 0.5793 | 0.5501 | 0.5793 | 0.5319 |
66
+ | No log | 0.6838 | 400 | 1.4481 | 0.5898 | 0.5608 | 0.5898 | 0.5437 |
67
+ | No log | 0.7692 | 450 | 1.3791 | 0.6148 | 0.5758 | 0.6148 | 0.5678 |
68
+ | 1.9748 | 0.8547 | 500 | 1.3154 | 0.6196 | 0.6123 | 0.6196 | 0.5779 |
69
+ | 1.9748 | 0.9402 | 550 | 1.2399 | 0.6484 | 0.6168 | 0.6484 | 0.6119 |
70
+ | 1.9748 | 1.0256 | 600 | 1.1968 | 0.6340 | 0.6181 | 0.6340 | 0.5889 |
71
+ | 1.9748 | 1.1111 | 650 | 1.2477 | 0.6215 | 0.6014 | 0.6215 | 0.5825 |
72
+ | 1.9748 | 1.1966 | 700 | 1.2098 | 0.6340 | 0.6285 | 0.6340 | 0.5884 |
73
+ | 1.9748 | 1.2821 | 750 | 1.1316 | 0.6619 | 0.6442 | 0.6619 | 0.6385 |
74
+ | 1.9748 | 1.3675 | 800 | 1.0783 | 0.6744 | 0.6644 | 0.6744 | 0.6462 |
75
+ | 1.9748 | 1.4530 | 850 | 1.0512 | 0.6907 | 0.6728 | 0.6907 | 0.6583 |
76
+ | 1.9748 | 1.5385 | 900 | 1.0388 | 0.6945 | 0.6909 | 0.6945 | 0.6697 |
77
+ | 1.9748 | 1.6239 | 950 | 0.9954 | 0.6974 | 0.6748 | 0.6974 | 0.6707 |
78
+ | 1.0265 | 1.7094 | 1000 | 0.9812 | 0.7128 | 0.6888 | 0.7128 | 0.6874 |
79
+ | 1.0265 | 1.7949 | 1050 | 0.9717 | 0.7099 | 0.6907 | 0.7099 | 0.6852 |
80
+ | 1.0265 | 1.8803 | 1100 | 0.9437 | 0.7099 | 0.6823 | 0.7099 | 0.6866 |
81
+ | 1.0265 | 1.9658 | 1150 | 0.9724 | 0.7061 | 0.7096 | 0.7061 | 0.6800 |
82
+ | 1.0265 | 2.0513 | 1200 | 0.9168 | 0.7224 | 0.7099 | 0.7224 | 0.6976 |
83
+ | 1.0265 | 2.1368 | 1250 | 0.9097 | 0.7243 | 0.7109 | 0.7243 | 0.6996 |
84
+ | 1.0265 | 2.2222 | 1300 | 0.9072 | 0.7329 | 0.7336 | 0.7329 | 0.7083 |
85
+ | 1.0265 | 2.3077 | 1350 | 0.9028 | 0.7262 | 0.7114 | 0.7262 | 0.7033 |
86
+ | 1.0265 | 2.3932 | 1400 | 0.8951 | 0.7301 | 0.7145 | 0.7301 | 0.7068 |
87
+ | 1.0265 | 2.4786 | 1450 | 0.8949 | 0.7378 | 0.7339 | 0.7378 | 0.7154 |
88
+ | 0.687 | 2.5641 | 1500 | 0.8913 | 0.7397 | 0.7255 | 0.7397 | 0.7178 |
89
+
90
+
91
+ ### Framework versions
92
+
93
+ - Transformers 4.46.3
94
+ - Pytorch 2.4.0
95
+ - Datasets 3.1.0
96
+ - Tokenizers 0.20.3
config.json ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google-bert/bert-base-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": 768,
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
+ "7": "LABEL_7",
21
+ "8": "LABEL_8",
22
+ "9": "LABEL_9",
23
+ "10": "LABEL_10",
24
+ "11": "LABEL_11",
25
+ "12": "LABEL_12",
26
+ "13": "LABEL_13",
27
+ "14": "LABEL_14",
28
+ "15": "LABEL_15",
29
+ "16": "LABEL_16",
30
+ "17": "LABEL_17",
31
+ "18": "LABEL_18",
32
+ "19": "LABEL_19",
33
+ "20": "LABEL_20",
34
+ "21": "LABEL_21",
35
+ "22": "LABEL_22",
36
+ "23": "LABEL_23",
37
+ "24": "LABEL_24",
38
+ "25": "LABEL_25",
39
+ "26": "LABEL_26",
40
+ "27": "LABEL_27",
41
+ "28": "LABEL_28",
42
+ "29": "LABEL_29",
43
+ "30": "LABEL_30",
44
+ "31": "LABEL_31",
45
+ "32": "LABEL_32",
46
+ "33": "LABEL_33",
47
+ "34": "LABEL_34",
48
+ "35": "LABEL_35",
49
+ "36": "LABEL_36",
50
+ "37": "LABEL_37",
51
+ "38": "LABEL_38",
52
+ "39": "LABEL_39",
53
+ "40": "LABEL_40",
54
+ "41": "LABEL_41",
55
+ "42": "LABEL_42"
56
+ },
57
+ "initializer_range": 0.02,
58
+ "intermediate_size": 3072,
59
+ "label2id": {
60
+ "LABEL_0": 0,
61
+ "LABEL_1": 1,
62
+ "LABEL_10": 10,
63
+ "LABEL_11": 11,
64
+ "LABEL_12": 12,
65
+ "LABEL_13": 13,
66
+ "LABEL_14": 14,
67
+ "LABEL_15": 15,
68
+ "LABEL_16": 16,
69
+ "LABEL_17": 17,
70
+ "LABEL_18": 18,
71
+ "LABEL_19": 19,
72
+ "LABEL_2": 2,
73
+ "LABEL_20": 20,
74
+ "LABEL_21": 21,
75
+ "LABEL_22": 22,
76
+ "LABEL_23": 23,
77
+ "LABEL_24": 24,
78
+ "LABEL_25": 25,
79
+ "LABEL_26": 26,
80
+ "LABEL_27": 27,
81
+ "LABEL_28": 28,
82
+ "LABEL_29": 29,
83
+ "LABEL_3": 3,
84
+ "LABEL_30": 30,
85
+ "LABEL_31": 31,
86
+ "LABEL_32": 32,
87
+ "LABEL_33": 33,
88
+ "LABEL_34": 34,
89
+ "LABEL_35": 35,
90
+ "LABEL_36": 36,
91
+ "LABEL_37": 37,
92
+ "LABEL_38": 38,
93
+ "LABEL_39": 39,
94
+ "LABEL_4": 4,
95
+ "LABEL_40": 40,
96
+ "LABEL_41": 41,
97
+ "LABEL_42": 42,
98
+ "LABEL_5": 5,
99
+ "LABEL_6": 6,
100
+ "LABEL_7": 7,
101
+ "LABEL_8": 8,
102
+ "LABEL_9": 9
103
+ },
104
+ "layer_norm_eps": 1e-12,
105
+ "max_position_embeddings": 512,
106
+ "model_type": "bert",
107
+ "num_attention_heads": 12,
108
+ "num_hidden_layers": 12,
109
+ "pad_token_id": 0,
110
+ "position_embedding_type": "absolute",
111
+ "problem_type": "single_label_classification",
112
+ "torch_dtype": "float32",
113
+ "transformers_version": "4.46.3",
114
+ "type_vocab_size": 2,
115
+ "use_cache": true,
116
+ "vocab_size": 30522
117
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8586cd498841e5affb17e168bdf6b71f2ad94a4016317f190143f985c6e9029a
3
+ size 438084764
runs/Dec12_08-26-45_3fa1ca6bfc57/events.out.tfevents.1733992023.3fa1ca6bfc57.23.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c88779b5099c9ce9e7048437499e3c33a31c8cc4749a0b7f4f572fcc4f3398c
3
+ size 6913
runs/Dec12_08-46-32_8902b8b9ab3c/events.out.tfevents.1733993195.8902b8b9ab3c.23.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04654045e1f2fe1f59fe1422e79358bb047ff3c0efff982edb38c5e7e3a370dd
3
+ size 22042
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf6ae5cd00cba8c2d772c953442091c008f5cf793d36b1799b0b6121dcde0d62
3
+ size 5304