Instructions to use stefanj0/t5gemma-math-corrector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use stefanj0/t5gemma-math-corrector with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/t5gemma-s-s-ul2-it") model = PeftModel.from_pretrained(base_model, "stefanj0/t5gemma-math-corrector") - Transformers
How to use stefanj0/t5gemma-math-corrector with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("stefanj0/t5gemma-math-corrector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 800, checkpoint
Browse files
last-checkpoint/adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 8297288
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7a164557eb74ce102f82cd4df90a332f6f0dfbadf4438231beee9da629f888f
|
| 3 |
size 8297288
|
last-checkpoint/optimizer.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 16761163
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4637fdfb65a1f9530af247946f9f8924232074d8c79ff8668d3484deeb6283b7
|
| 3 |
size 16761163
|
last-checkpoint/rng_state.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 14645
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26d1df2276f727e3cca661e1a84a63428c1b4328b6b80b1d5325b41c0298da4d
|
| 3 |
size 14645
|
last-checkpoint/scaler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1383
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b89e7f9c8e503d4cfdc04fb61835e00a23616af74eceff894d548f5f90cea56
|
| 3 |
size 1383
|
last-checkpoint/scheduler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1465
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b1cfc743553d4d9ba9acea35cf048c15e0c667b2f4210c4a170ee0849112d83b
|
| 3 |
size 1465
|
last-checkpoint/trainer_state.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
"best_global_step": 200,
|
| 3 |
"best_metric": 0.6018396615982056,
|
| 4 |
"best_model_checkpoint": "./t5gemma-math-corrector/checkpoint-200",
|
| 5 |
-
"epoch":
|
| 6 |
"eval_steps": 200,
|
| 7 |
-
"global_step":
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
@@ -116,6 +116,42 @@
|
|
| 116 |
"eval_samples_per_second": 50.737,
|
| 117 |
"eval_steps_per_second": 12.781,
|
| 118 |
"step": 600
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
}
|
| 120 |
],
|
| 121 |
"logging_steps": 50,
|
|
@@ -130,7 +166,7 @@
|
|
| 130 |
"early_stopping_threshold": 0.0
|
| 131 |
},
|
| 132 |
"attributes": {
|
| 133 |
-
"early_stopping_patience_counter":
|
| 134 |
}
|
| 135 |
},
|
| 136 |
"TrainerControl": {
|
|
@@ -139,12 +175,12 @@
|
|
| 139 |
"should_evaluate": false,
|
| 140 |
"should_log": false,
|
| 141 |
"should_save": true,
|
| 142 |
-
"should_training_stop":
|
| 143 |
},
|
| 144 |
"attributes": {}
|
| 145 |
}
|
| 146 |
},
|
| 147 |
-
"total_flos":
|
| 148 |
"train_batch_size": 4,
|
| 149 |
"trial_name": null,
|
| 150 |
"trial_params": null
|
|
|
|
| 2 |
"best_global_step": 200,
|
| 3 |
"best_metric": 0.6018396615982056,
|
| 4 |
"best_model_checkpoint": "./t5gemma-math-corrector/checkpoint-200",
|
| 5 |
+
"epoch": 2.5645549318364074,
|
| 6 |
"eval_steps": 200,
|
| 7 |
+
"global_step": 800,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 116 |
"eval_samples_per_second": 50.737,
|
| 117 |
"eval_steps_per_second": 12.781,
|
| 118 |
"step": 600
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"epoch": 2.0834001603849237,
|
| 122 |
+
"grad_norm": 0.13095279037952423,
|
| 123 |
+
"learning_rate": 3.408551068883611e-05,
|
| 124 |
+
"loss": 0.0009,
|
| 125 |
+
"step": 650
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"epoch": 2.2437850842020852,
|
| 129 |
+
"grad_norm": 0.1417347490787506,
|
| 130 |
+
"learning_rate": 2.8147268408551068e-05,
|
| 131 |
+
"loss": 0.0005,
|
| 132 |
+
"step": 700
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"epoch": 2.4041700080192463,
|
| 136 |
+
"grad_norm": 0.07039827853441238,
|
| 137 |
+
"learning_rate": 2.2209026128266035e-05,
|
| 138 |
+
"loss": 0.0005,
|
| 139 |
+
"step": 750
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"epoch": 2.5645549318364074,
|
| 143 |
+
"grad_norm": 0.2078932374715805,
|
| 144 |
+
"learning_rate": 1.6270783847980998e-05,
|
| 145 |
+
"loss": 0.0005,
|
| 146 |
+
"step": 800
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"epoch": 2.5645549318364074,
|
| 150 |
+
"eval_loss": 3.8249130249023438,
|
| 151 |
+
"eval_runtime": 5.2131,
|
| 152 |
+
"eval_samples_per_second": 50.258,
|
| 153 |
+
"eval_steps_per_second": 12.66,
|
| 154 |
+
"step": 800
|
| 155 |
}
|
| 156 |
],
|
| 157 |
"logging_steps": 50,
|
|
|
|
| 166 |
"early_stopping_threshold": 0.0
|
| 167 |
},
|
| 168 |
"attributes": {
|
| 169 |
+
"early_stopping_patience_counter": 3
|
| 170 |
}
|
| 171 |
},
|
| 172 |
"TrainerControl": {
|
|
|
|
| 175 |
"should_evaluate": false,
|
| 176 |
"should_log": false,
|
| 177 |
"should_save": true,
|
| 178 |
+
"should_training_stop": true
|
| 179 |
},
|
| 180 |
"attributes": {}
|
| 181 |
}
|
| 182 |
},
|
| 183 |
+
"total_flos": 3090020422385664.0,
|
| 184 |
"train_batch_size": 4,
|
| 185 |
"trial_name": null,
|
| 186 |
"trial_params": null
|