nzm97 commited on
Commit
778ee8f
·
verified ·
1 Parent(s): 568e592

Initial model push after training

Browse files
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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
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.5515
25
+ - Accuracy: 0.8248
26
+ - Precision: 0.8311
27
+ - Recall: 0.8248
28
+ - F1: 0.8240
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: 64
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: 850
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | No log | 0.2732 | 50 | 1.4704 | 0.4704 | 0.4864 | 0.4704 | 0.4383 |
60
+ | No log | 0.5464 | 100 | 1.1159 | 0.5742 | 0.5936 | 0.5742 | 0.5676 |
61
+ | No log | 0.8197 | 150 | 0.9276 | 0.6441 | 0.6564 | 0.6441 | 0.6391 |
62
+ | No log | 1.0929 | 200 | 0.7966 | 0.7064 | 0.7146 | 0.7064 | 0.7057 |
63
+ | No log | 1.3661 | 250 | 0.7308 | 0.7317 | 0.7408 | 0.7317 | 0.7291 |
64
+ | No log | 1.6393 | 300 | 0.6640 | 0.7571 | 0.7624 | 0.7571 | 0.7560 |
65
+ | No log | 1.9126 | 350 | 0.5874 | 0.7940 | 0.7975 | 0.7940 | 0.7931 |
66
+ | No log | 2.1858 | 400 | 0.6288 | 0.7863 | 0.7958 | 0.7863 | 0.7840 |
67
+ | No log | 2.4590 | 450 | 0.5621 | 0.8055 | 0.8128 | 0.8055 | 0.8048 |
68
+ | 0.8255 | 2.7322 | 500 | 0.5799 | 0.8094 | 0.8181 | 0.8094 | 0.8087 |
69
+ | 0.8255 | 3.0055 | 550 | 0.5560 | 0.7994 | 0.8041 | 0.7994 | 0.7978 |
70
+ | 0.8255 | 3.2787 | 600 | 0.5402 | 0.8301 | 0.8341 | 0.8301 | 0.8305 |
71
+ | 0.8255 | 3.5519 | 650 | 0.5534 | 0.8201 | 0.8287 | 0.8201 | 0.8197 |
72
+ | 0.8255 | 3.8251 | 700 | 0.5439 | 0.8248 | 0.8333 | 0.8248 | 0.8249 |
73
+ | 0.8255 | 4.0984 | 750 | 0.5402 | 0.8248 | 0.8304 | 0.8248 | 0.8244 |
74
+ | 0.8255 | 4.3716 | 800 | 0.5363 | 0.8271 | 0.8309 | 0.8271 | 0.8262 |
75
+ | 0.8255 | 4.6448 | 850 | 0.5515 | 0.8248 | 0.8311 | 0.8248 | 0.8240 |
76
+
77
+
78
+ ### Framework versions
79
+
80
+ - Transformers 4.47.0
81
+ - Pytorch 2.2.1+cu121
82
+ - Datasets 3.2.0
83
+ - Tokenizers 0.21.0
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "LABEL_0": 0,
27
+ "LABEL_1": 1,
28
+ "LABEL_2": 2,
29
+ "LABEL_3": 3,
30
+ "LABEL_4": 4,
31
+ "LABEL_5": 5,
32
+ "LABEL_6": 6,
33
+ "LABEL_7": 7,
34
+ "LABEL_8": 8
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "max_position_embeddings": 512,
38
+ "model_type": "bert",
39
+ "num_attention_heads": 12,
40
+ "num_hidden_layers": 12,
41
+ "pad_token_id": 0,
42
+ "position_embedding_type": "absolute",
43
+ "problem_type": "single_label_classification",
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.47.0",
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:4f2fa6d8a6e2fd0d52f5924fc964a842227ff9046829229a3dbaa98299f91d2a
3
+ size 437980180
runs/Dec11_11-26-09_ip-10-192-12-207/events.out.tfevents.1733916369.ip-10-192-12-207.190070.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:563f4c1d737fa11ffbd48f62ed0b775ee8c38b4eb29c354119764128c1746f0f
3
+ size 14037
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42002c9610d406f457d7064c5ad4db9084ecf1f00bf902fd13ecc6bdc9c13651
3
+ size 5304