Initial model push after training
Browse files- README.md +83 -0
- config.json +49 -0
- model.safetensors +3 -0
- runs/Dec11_12-07-03_ip-10-192-12-207/events.out.tfevents.1733918823.ip-10-192-12-207.221781.0 +3 -0
- runs/Dec11_12-07-20_ip-10-192-12-207/events.out.tfevents.1733918841.ip-10-192-12-207.222488.0 +3 -0
- runs/Dec11_12-07-45_ip-10-192-12-207/events.out.tfevents.1733918865.ip-10-192-12-207.222945.0 +3 -0
- runs/Dec11_12-08-12_ip-10-192-12-207/events.out.tfevents.1733918892.ip-10-192-12-207.223812.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_v2
|
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_v2
|
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: 2.1410
|
25 |
+
- Accuracy: 0.1591
|
26 |
+
- Precision: 0.0253
|
27 |
+
- Recall: 0.1591
|
28 |
+
- F1: 0.0437
|
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: 850
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
58 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
59 |
+
| No log | 0.0683 | 50 | 2.0313 | 0.2237 | 0.0856 | 0.2237 | 0.1038 |
|
60 |
+
| No log | 0.1366 | 100 | 2.2165 | 0.1337 | 0.0179 | 0.1337 | 0.0316 |
|
61 |
+
| No log | 0.2049 | 150 | 2.1366 | 0.1722 | 0.0296 | 0.1722 | 0.0506 |
|
62 |
+
| No log | 0.2732 | 200 | 2.1438 | 0.1722 | 0.0296 | 0.1722 | 0.0506 |
|
63 |
+
| No log | 0.3415 | 250 | 2.1389 | 0.1591 | 0.0253 | 0.1591 | 0.0437 |
|
64 |
+
| No log | 0.4098 | 300 | 2.1450 | 0.1722 | 0.0296 | 0.1722 | 0.0506 |
|
65 |
+
| No log | 0.4781 | 350 | 2.1456 | 0.1722 | 0.0296 | 0.1722 | 0.0506 |
|
66 |
+
| No log | 0.5464 | 400 | 2.1396 | 0.1722 | 0.0296 | 0.1722 | 0.0506 |
|
67 |
+
| No log | 0.6148 | 450 | 2.1349 | 0.1722 | 0.0296 | 0.1722 | 0.0506 |
|
68 |
+
| 2.1632 | 0.6831 | 500 | 2.1392 | 0.1591 | 0.0253 | 0.1591 | 0.0437 |
|
69 |
+
| 2.1632 | 0.7514 | 550 | 2.1391 | 0.1722 | 0.0296 | 0.1722 | 0.0506 |
|
70 |
+
| 2.1632 | 0.8197 | 600 | 2.1391 | 0.1591 | 0.0253 | 0.1591 | 0.0437 |
|
71 |
+
| 2.1632 | 0.8880 | 650 | 2.1360 | 0.1722 | 0.0296 | 0.1722 | 0.0506 |
|
72 |
+
| 2.1632 | 0.9563 | 700 | 2.1366 | 0.1722 | 0.0296 | 0.1722 | 0.0506 |
|
73 |
+
| 2.1632 | 1.0246 | 750 | 2.1388 | 0.1591 | 0.0253 | 0.1591 | 0.0437 |
|
74 |
+
| 2.1632 | 1.0929 | 800 | 2.1410 | 0.1591 | 0.0253 | 0.1591 | 0.0437 |
|
75 |
+
| 2.1632 | 1.1612 | 850 | 2.1410 | 0.1591 | 0.0253 | 0.1591 | 0.0437 |
|
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-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": "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": 4096,
|
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": 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.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:7d2ed8892ce449a673d4d7c88a6b7d0a8045af2b1ec670de6342106f66782b50
|
3 |
+
size 1340651460
|
runs/Dec11_12-07-03_ip-10-192-12-207/events.out.tfevents.1733918823.ip-10-192-12-207.221781.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8642d748db2a504e698a68cdd3e59570c3aab8ac18124f67afc54f81f6069b8
|
3 |
+
size 5477
|
runs/Dec11_12-07-20_ip-10-192-12-207/events.out.tfevents.1733918841.ip-10-192-12-207.222488.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fc7231b9f17694dcaa62f94f9f455abb16afeb99eb8834bd3a6feb9ac6d72d2b
|
3 |
+
size 5477
|
runs/Dec11_12-07-45_ip-10-192-12-207/events.out.tfevents.1733918865.ip-10-192-12-207.222945.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a4d4f3c90d22ad7d8aa86b03161939e8a446852d81543a82f9bc6a67bea3bcc
|
3 |
+
size 5477
|
runs/Dec11_12-08-12_ip-10-192-12-207/events.out.tfevents.1733918892.ip-10-192-12-207.223812.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0d2455f7c71ceb91832ed212ffc9904a1d1a4023a9286344a90b523a85276d4
|
3 |
+
size 14048
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ebe58f837949dfe05687db523d451be59eeae12cc93136e29dd71fc65773432d
|
3 |
+
size 5304
|