Instructions to use dada22231/7deb2616-685c-4bbf-8ec9-faa8d781e17a with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dada22231/7deb2616-685c-4bbf-8ec9-faa8d781e17a with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "dada22231/7deb2616-685c-4bbf-8ec9-faa8d781e17a") - Notebooks
- Google Colab
- Kaggle
Download last-checkpoint/trainer_state.json from dada22231/7deb2616-685c-4bbf-8ec9-faa8d781e17a: direct link, hf CLI and curl.
- Browser
- Download file 5.22 kB
-
https://huggingface.co/dada22231/7deb2616-685c-4bbf-8ec9-faa8d781e17a/resolve/main/last-checkpoint/trainer_state.json
- Command line
-
hf download hf://dada22231/7deb2616-685c-4bbf-8ec9-faa8d781e17a/last-checkpoint/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/dada22231/7deb2616-685c-4bbf-8ec9-faa8d781e17a/resolve/main/last-checkpoint/trainer_state.json
5.22 kB
Invalid JSON:Unexpected token 'N', ..."_metric": NaN,
"be"... is not valid JSON
| { | |
| "best_metric": NaN, | |
| "best_model_checkpoint": "miner_id_24/checkpoint-25", | |
| "epoch": 0.49049662783568365, | |
| "eval_steps": 25, | |
| "global_step": 25, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 0.019619865113427344, | |
| "grad_norm": NaN, | |
| "learning_rate": 5e-05, | |
| "loss": 7908074.5, | |
| "step": 1 | |
| }, | |
| { | |
| "epoch": 0.019619865113427344, | |
| "eval_loss": NaN, | |
| "eval_runtime": 0.9423, | |
| "eval_samples_per_second": 53.06, | |
| "eval_steps_per_second": 13.796, | |
| "step": 1 | |
| }, | |
| { | |
| "epoch": 0.03923973022685469, | |
| "grad_norm": NaN, | |
| "learning_rate": 0.0001, | |
| "loss": 0.0, | |
| "step": 2 | |
| }, | |
| { | |
| "epoch": 0.05885959534028203, | |
| "grad_norm": NaN, | |
| "learning_rate": 9.958086757163489e-05, | |
| "loss": 0.0, | |
| "step": 3 | |
| }, | |
| { | |
| "epoch": 0.07847946045370938, | |
| "grad_norm": NaN, | |
| "learning_rate": 9.833127793065098e-05, | |
| "loss": 0.0, | |
| "step": 4 | |
| }, | |
| { | |
| "epoch": 0.09809932556713673, | |
| "grad_norm": NaN, | |
| "learning_rate": 9.627450856774539e-05, | |
| "loss": 0.0, | |
| "step": 5 | |
| }, | |
| { | |
| "epoch": 0.11771919068056406, | |
| "grad_norm": NaN, | |
| "learning_rate": 9.3448873204592e-05, | |
| "loss": 0.0, | |
| "step": 6 | |
| }, | |
| { | |
| "epoch": 0.13733905579399142, | |
| "grad_norm": NaN, | |
| "learning_rate": 8.990700808169889e-05, | |
| "loss": 0.0, | |
| "step": 7 | |
| }, | |
| { | |
| "epoch": 0.15695892090741875, | |
| "grad_norm": NaN, | |
| "learning_rate": 8.571489144483944e-05, | |
| "loss": 0.0, | |
| "step": 8 | |
| }, | |
| { | |
| "epoch": 0.17657878602084612, | |
| "grad_norm": NaN, | |
| "learning_rate": 8.095061449516903e-05, | |
| "loss": 0.0, | |
| "step": 9 | |
| }, | |
| { | |
| "epoch": 0.19619865113427346, | |
| "grad_norm": NaN, | |
| "learning_rate": 7.570292669790186e-05, | |
| "loss": 0.0, | |
| "step": 10 | |
| }, | |
| { | |
| "epoch": 0.2158185162477008, | |
| "grad_norm": NaN, | |
| "learning_rate": 7.006958254769438e-05, | |
| "loss": 0.0, | |
| "step": 11 | |
| }, | |
| { | |
| "epoch": 0.23543838136112813, | |
| "grad_norm": NaN, | |
| "learning_rate": 6.415552058736854e-05, | |
| "loss": 0.0, | |
| "step": 12 | |
| }, | |
| { | |
| "epoch": 0.2550582464745555, | |
| "grad_norm": NaN, | |
| "learning_rate": 5.80709086014102e-05, | |
| "loss": 0.0, | |
| "step": 13 | |
| }, | |
| { | |
| "epoch": 0.27467811158798283, | |
| "grad_norm": NaN, | |
| "learning_rate": 5.192909139858981e-05, | |
| "loss": 0.0, | |
| "step": 14 | |
| }, | |
| { | |
| "epoch": 0.29429797670141017, | |
| "grad_norm": NaN, | |
| "learning_rate": 4.584447941263149e-05, | |
| "loss": 0.0, | |
| "step": 15 | |
| }, | |
| { | |
| "epoch": 0.3139178418148375, | |
| "grad_norm": NaN, | |
| "learning_rate": 3.9930417452305626e-05, | |
| "loss": 0.0, | |
| "step": 16 | |
| }, | |
| { | |
| "epoch": 0.33353770692826484, | |
| "grad_norm": NaN, | |
| "learning_rate": 3.4297073302098156e-05, | |
| "loss": 0.0, | |
| "step": 17 | |
| }, | |
| { | |
| "epoch": 0.35315757204169224, | |
| "grad_norm": NaN, | |
| "learning_rate": 2.9049385504830985e-05, | |
| "loss": 0.0, | |
| "step": 18 | |
| }, | |
| { | |
| "epoch": 0.3727774371551196, | |
| "grad_norm": NaN, | |
| "learning_rate": 2.4285108555160577e-05, | |
| "loss": 0.0, | |
| "step": 19 | |
| }, | |
| { | |
| "epoch": 0.3923973022685469, | |
| "grad_norm": NaN, | |
| "learning_rate": 2.0092991918301108e-05, | |
| "loss": 0.0, | |
| "step": 20 | |
| }, | |
| { | |
| "epoch": 0.41201716738197425, | |
| "grad_norm": NaN, | |
| "learning_rate": 1.6551126795408016e-05, | |
| "loss": 0.0, | |
| "step": 21 | |
| }, | |
| { | |
| "epoch": 0.4316370324954016, | |
| "grad_norm": NaN, | |
| "learning_rate": 1.3725491432254624e-05, | |
| "loss": 0.0, | |
| "step": 22 | |
| }, | |
| { | |
| "epoch": 0.4512568976088289, | |
| "grad_norm": NaN, | |
| "learning_rate": 1.1668722069349041e-05, | |
| "loss": 0.0, | |
| "step": 23 | |
| }, | |
| { | |
| "epoch": 0.47087676272225626, | |
| "grad_norm": NaN, | |
| "learning_rate": 1.0419132428365116e-05, | |
| "loss": 0.0, | |
| "step": 24 | |
| }, | |
| { | |
| "epoch": 0.49049662783568365, | |
| "grad_norm": NaN, | |
| "learning_rate": 1e-05, | |
| "loss": 0.0, | |
| "step": 25 | |
| }, | |
| { | |
| "epoch": 0.49049662783568365, | |
| "eval_loss": NaN, | |
| "eval_runtime": 0.9511, | |
| "eval_samples_per_second": 52.57, | |
| "eval_steps_per_second": 13.668, | |
| "step": 25 | |
| } | |
| ], | |
| "logging_steps": 1, | |
| "max_steps": 25, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 1, | |
| "save_steps": 25, | |
| "stateful_callbacks": { | |
| "EarlyStoppingCallback": { | |
| "args": { | |
| "early_stopping_patience": 1, | |
| "early_stopping_threshold": 0.0 | |
| }, | |
| "attributes": { | |
| "early_stopping_patience_counter": 0 | |
| } | |
| }, | |
| "TrainerControl": { | |
| "args": { | |
| "should_epoch_stop": false, | |
| "should_evaluate": false, | |
| "should_log": false, | |
| "should_save": true, | |
| "should_training_stop": true | |
| }, | |
| "attributes": {} | |
| } | |
| }, | |
| "total_flos": 1.5600193500086272e+16, | |
| "train_batch_size": 1, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |