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 600, 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:4711c604191c70b1e9a248ff89ea22db5362690aa8037aa62c5c84d06fc55f81
|
| 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:663863afca4c95a45977985d1fcd4fa2b26b80e962ef1e6075fe7371d1abb417
|
| 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:7d6eb5b1a4961028fe68de934a271b3920cdc97935fe1a1ad9fd0f05662957a2
|
| 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:b7092e272a6bfc2c815a87505efd3c62d8b3b8462044807a20f9427f7f599c43
|
| 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:f810a5865983beee2c8a2c1261e8005dbb8b6e24c20d69bc4958ca74ac736911
|
| 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": 1.
|
| 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,
|
|
@@ -80,6 +80,42 @@
|
|
| 80 |
"eval_samples_per_second": 50.711,
|
| 81 |
"eval_steps_per_second": 12.775,
|
| 82 |
"step": 400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
}
|
| 84 |
],
|
| 85 |
"logging_steps": 50,
|
|
@@ -94,7 +130,7 @@
|
|
| 94 |
"early_stopping_threshold": 0.0
|
| 95 |
},
|
| 96 |
"attributes": {
|
| 97 |
-
"early_stopping_patience_counter":
|
| 98 |
}
|
| 99 |
},
|
| 100 |
"TrainerControl": {
|
|
@@ -108,7 +144,7 @@
|
|
| 108 |
"attributes": {}
|
| 109 |
}
|
| 110 |
},
|
| 111 |
-
"total_flos":
|
| 112 |
"train_batch_size": 4,
|
| 113 |
"trial_name": null,
|
| 114 |
"trial_params": null
|
|
|
|
| 2 |
"best_global_step": 200,
|
| 3 |
"best_metric": 0.6018396615982056,
|
| 4 |
"best_model_checkpoint": "./t5gemma-math-corrector/checkpoint-200",
|
| 5 |
+
"epoch": 1.9238171611868484,
|
| 6 |
"eval_steps": 200,
|
| 7 |
+
"global_step": 600,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 80 |
"eval_samples_per_second": 50.711,
|
| 81 |
"eval_steps_per_second": 12.775,
|
| 82 |
"step": 400
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"epoch": 1.4426623897353648,
|
| 86 |
+
"grad_norm": 0.35608166456222534,
|
| 87 |
+
"learning_rate": 5.783847980997625e-05,
|
| 88 |
+
"loss": 0.0015,
|
| 89 |
+
"step": 450
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"epoch": 1.603047313552526,
|
| 93 |
+
"grad_norm": 0.33180880546569824,
|
| 94 |
+
"learning_rate": 5.190023752969121e-05,
|
| 95 |
+
"loss": 0.0015,
|
| 96 |
+
"step": 500
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"epoch": 1.7634322373696873,
|
| 100 |
+
"grad_norm": 0.16627037525177002,
|
| 101 |
+
"learning_rate": 4.596199524940617e-05,
|
| 102 |
+
"loss": 0.0009,
|
| 103 |
+
"step": 550
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"epoch": 1.9238171611868484,
|
| 107 |
+
"grad_norm": 0.04953346028923988,
|
| 108 |
+
"learning_rate": 4.002375296912114e-05,
|
| 109 |
+
"loss": 0.001,
|
| 110 |
+
"step": 600
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"epoch": 1.9238171611868484,
|
| 114 |
+
"eval_loss": 3.8351235389709473,
|
| 115 |
+
"eval_runtime": 5.1639,
|
| 116 |
+
"eval_samples_per_second": 50.737,
|
| 117 |
+
"eval_steps_per_second": 12.781,
|
| 118 |
+
"step": 600
|
| 119 |
}
|
| 120 |
],
|
| 121 |
"logging_steps": 50,
|
|
|
|
| 130 |
"early_stopping_threshold": 0.0
|
| 131 |
},
|
| 132 |
"attributes": {
|
| 133 |
+
"early_stopping_patience_counter": 2
|
| 134 |
}
|
| 135 |
},
|
| 136 |
"TrainerControl": {
|
|
|
|
| 144 |
"attributes": {}
|
| 145 |
}
|
| 146 |
},
|
| 147 |
+
"total_flos": 2318240219922432.0,
|
| 148 |
"train_batch_size": 4,
|
| 149 |
"trial_name": null,
|
| 150 |
"trial_params": null
|