Instructions to use anhdai312/math with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use anhdai312/math with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("anhdai312/math", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use anhdai312/math with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for anhdai312/math to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for anhdai312/math to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for anhdai312/math to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="anhdai312/math", max_seq_length=2048, )
Training in progress, step 30, 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 35237104
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26a3f3b705bc5d832f079ceded9aa22cebef707214a2896fbe31b5a39b2f28f9
|
| 3 |
size 35237104
|
last-checkpoint/optimizer.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 18813829
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7aadb3750252dd5eeb1c71f655fd23bfd464774f9a631699d0aefab4f994a7ef
|
| 3 |
size 18813829
|
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:3d6d8fafcd1ee268414be5acf0366296af5b03d60871978712eac1979cb42d65
|
| 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:20ab57b9b26fc7cb4418a4e1198e25ebb1da623aea7693e1fc71ff284d45724b
|
| 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:d36674cd5023cd616db0a9a98e030c82f7d655c0707dfe4815644a611495e0b5
|
| 3 |
size 1465
|
last-checkpoint/trainer_state.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
{
|
| 2 |
-
"best_global_step":
|
| 3 |
-
"best_metric": 0.
|
| 4 |
-
"best_model_checkpoint": "/tmp/checkpoints_/job_0d4521ef-134d-4da5-986e-64cc35a0beaa/checkpoint-
|
| 5 |
-
"epoch": 0.
|
| 6 |
"eval_steps": 10,
|
| 7 |
-
"global_step":
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
@@ -164,6 +164,84 @@
|
|
| 164 |
"eval_samples_per_second": 32.293,
|
| 165 |
"eval_steps_per_second": 8.073,
|
| 166 |
"step": 20
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 167 |
}
|
| 168 |
],
|
| 169 |
"logging_steps": 1,
|
|
@@ -178,12 +256,12 @@
|
|
| 178 |
"should_evaluate": false,
|
| 179 |
"should_log": false,
|
| 180 |
"should_save": true,
|
| 181 |
-
"should_training_stop":
|
| 182 |
},
|
| 183 |
"attributes": {}
|
| 184 |
}
|
| 185 |
},
|
| 186 |
-
"total_flos":
|
| 187 |
"train_batch_size": 1,
|
| 188 |
"trial_name": null,
|
| 189 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
+
"best_global_step": 30,
|
| 3 |
+
"best_metric": 0.4217299818992615,
|
| 4 |
+
"best_model_checkpoint": "/tmp/checkpoints_/job_0d4521ef-134d-4da5-986e-64cc35a0beaa/checkpoint-30",
|
| 5 |
+
"epoch": 0.6666666666666666,
|
| 6 |
"eval_steps": 10,
|
| 7 |
+
"global_step": 30,
|
| 8 |
"is_hyper_param_search": false,
|
| 9 |
"is_local_process_zero": true,
|
| 10 |
"is_world_process_zero": true,
|
|
|
|
| 164 |
"eval_samples_per_second": 32.293,
|
| 165 |
"eval_steps_per_second": 8.073,
|
| 166 |
"step": 20
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"epoch": 0.4666666666666667,
|
| 170 |
+
"grad_norm": 4.757471561431885,
|
| 171 |
+
"learning_rate": 4.837540606713538e-05,
|
| 172 |
+
"loss": 0.9015084505081177,
|
| 173 |
+
"step": 21
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"epoch": 0.4888888888888889,
|
| 177 |
+
"grad_norm": 4.183780193328857,
|
| 178 |
+
"learning_rate": 4.815436622394441e-05,
|
| 179 |
+
"loss": 0.7763562202453613,
|
| 180 |
+
"step": 22
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"epoch": 0.5111111111111111,
|
| 184 |
+
"grad_norm": 6.7120466232299805,
|
| 185 |
+
"learning_rate": 4.791980488291456e-05,
|
| 186 |
+
"loss": 0.9629366993904114,
|
| 187 |
+
"step": 23
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"epoch": 0.5333333333333333,
|
| 191 |
+
"grad_norm": 3.9772117137908936,
|
| 192 |
+
"learning_rate": 4.767185902126364e-05,
|
| 193 |
+
"loss": 0.7046512365341187,
|
| 194 |
+
"step": 24
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"epoch": 0.5555555555555556,
|
| 198 |
+
"grad_norm": 4.194173336029053,
|
| 199 |
+
"learning_rate": 4.7410673432392596e-05,
|
| 200 |
+
"loss": 0.6537044048309326,
|
| 201 |
+
"step": 25
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"epoch": 0.5777777777777777,
|
| 205 |
+
"grad_norm": 4.1374287605285645,
|
| 206 |
+
"learning_rate": 4.713640064133025e-05,
|
| 207 |
+
"loss": 0.5453305244445801,
|
| 208 |
+
"step": 26
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"epoch": 0.6,
|
| 212 |
+
"grad_norm": 4.520692825317383,
|
| 213 |
+
"learning_rate": 4.684920081566295e-05,
|
| 214 |
+
"loss": 0.6430343985557556,
|
| 215 |
+
"step": 27
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"epoch": 0.6222222222222222,
|
| 219 |
+
"grad_norm": 6.000478267669678,
|
| 220 |
+
"learning_rate": 4.654924167200123e-05,
|
| 221 |
+
"loss": 0.655798614025116,
|
| 222 |
+
"step": 28
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"epoch": 0.6444444444444445,
|
| 226 |
+
"grad_norm": 3.8246989250183105,
|
| 227 |
+
"learning_rate": 4.6236698378038026e-05,
|
| 228 |
+
"loss": 0.5909295082092285,
|
| 229 |
+
"step": 29
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"epoch": 0.6666666666666666,
|
| 233 |
+
"grad_norm": 3.1917481422424316,
|
| 234 |
+
"learning_rate": 4.5911753450255665e-05,
|
| 235 |
+
"loss": 0.3079158067703247,
|
| 236 |
+
"step": 30
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"epoch": 0.6666666666666666,
|
| 240 |
+
"eval_loss": 0.4217299818992615,
|
| 241 |
+
"eval_runtime": 0.6115,
|
| 242 |
+
"eval_samples_per_second": 32.706,
|
| 243 |
+
"eval_steps_per_second": 8.176,
|
| 244 |
+
"step": 30
|
| 245 |
}
|
| 246 |
],
|
| 247 |
"logging_steps": 1,
|
|
|
|
| 256 |
"should_evaluate": false,
|
| 257 |
"should_log": false,
|
| 258 |
"should_save": true,
|
| 259 |
+
"should_training_stop": true
|
| 260 |
},
|
| 261 |
"attributes": {}
|
| 262 |
}
|
| 263 |
},
|
| 264 |
+
"total_flos": 32866257768960.0,
|
| 265 |
"train_batch_size": 1,
|
| 266 |
"trial_name": null,
|
| 267 |
"trial_params": null
|