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 400, 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:b4fb84457a91c5de153894c7ca0e8bf12972e85157cdf5d915e11430fc00bf59
|
| 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:46556fd5ff967ca9fb9f57dd94cffedd6630e12727c0a2e7a94c9a92581e7161
|
| 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:8147cce07a8085109be600ca968db3999ae311b31412161d0086e0673fa99dee
|
| 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:a5c6fc74fad2fa82ce5e6158544172660f4d56e9b794ecdcdf74960d2ac0a30e
|
| 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:219ab60ad4ef7e10902c21765a32ad47d5cfe315598bf972b3280f68906cb5f2
|
| 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,
|
|
@@ -44,6 +44,42 @@
|
|
| 44 |
"eval_samples_per_second": 50.454,
|
| 45 |
"eval_steps_per_second": 12.71,
|
| 46 |
"step": 200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
}
|
| 48 |
],
|
| 49 |
"logging_steps": 50,
|
|
@@ -58,7 +94,7 @@
|
|
| 58 |
"early_stopping_threshold": 0.0
|
| 59 |
},
|
| 60 |
"attributes": {
|
| 61 |
-
"early_stopping_patience_counter":
|
| 62 |
}
|
| 63 |
},
|
| 64 |
"TrainerControl": {
|
|
@@ -72,7 +108,7 @@
|
|
| 72 |
"attributes": {}
|
| 73 |
}
|
| 74 |
},
|
| 75 |
-
"total_flos":
|
| 76 |
"train_batch_size": 4,
|
| 77 |
"trial_name": null,
|
| 78 |
"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.2822774659182037,
|
| 6 |
"eval_steps": 200,
|
| 7 |
+
"global_step": 400,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 44 |
"eval_samples_per_second": 50.454,
|
| 45 |
"eval_steps_per_second": 12.71,
|
| 46 |
"step": 200
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"epoch": 0.8019246190858059,
|
| 50 |
+
"grad_norm": 0.2022608071565628,
|
| 51 |
+
"learning_rate": 8.15914489311164e-05,
|
| 52 |
+
"loss": 0.0064,
|
| 53 |
+
"step": 250
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"epoch": 0.9623095429029671,
|
| 57 |
+
"grad_norm": 0.8748292922973633,
|
| 58 |
+
"learning_rate": 7.565320665083135e-05,
|
| 59 |
+
"loss": 0.0047,
|
| 60 |
+
"step": 300
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"epoch": 1.1218925421010426,
|
| 64 |
+
"grad_norm": 0.28713762760162354,
|
| 65 |
+
"learning_rate": 6.971496437054633e-05,
|
| 66 |
+
"loss": 0.0025,
|
| 67 |
+
"step": 350
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"epoch": 1.2822774659182037,
|
| 71 |
+
"grad_norm": 0.16400396823883057,
|
| 72 |
+
"learning_rate": 6.377672209026129e-05,
|
| 73 |
+
"loss": 0.0029,
|
| 74 |
+
"step": 400
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"epoch": 1.2822774659182037,
|
| 78 |
+
"eval_loss": 1.9704385995864868,
|
| 79 |
+
"eval_runtime": 5.1665,
|
| 80 |
+
"eval_samples_per_second": 50.711,
|
| 81 |
+
"eval_steps_per_second": 12.775,
|
| 82 |
+
"step": 400
|
| 83 |
}
|
| 84 |
],
|
| 85 |
"logging_steps": 50,
|
|
|
|
| 94 |
"early_stopping_threshold": 0.0
|
| 95 |
},
|
| 96 |
"attributes": {
|
| 97 |
+
"early_stopping_patience_counter": 1
|
| 98 |
}
|
| 99 |
},
|
| 100 |
"TrainerControl": {
|
|
|
|
| 108 |
"attributes": {}
|
| 109 |
}
|
| 110 |
},
|
| 111 |
+
"total_flos": 1545010211192832.0,
|
| 112 |
"train_batch_size": 4,
|
| 113 |
"trial_name": null,
|
| 114 |
"trial_params": null
|