Instructions to use vmpsergio/f35ca38f-8c45-416b-8ad7-f85b71d45ffb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use vmpsergio/f35ca38f-8c45-416b-8ad7-f85b71d45ffb with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/SmolLM2-1.7B") model = PeftModel.from_pretrained(base_model, "vmpsergio/f35ca38f-8c45-416b-8ad7-f85b71d45ffb") - Notebooks
- Google Colab
- Kaggle
Download last-checkpoint/trainer_state.json from vmpsergio/f35ca38f-8c45-416b-8ad7-f85b71d45ffb: direct link, hf CLI and curl.
- Browser
- Download file 2.03 kB
-
https://huggingface.co/vmpsergio/f35ca38f-8c45-416b-8ad7-f85b71d45ffb/resolve/main/last-checkpoint/trainer_state.json
- Command line
-
hf download hf://vmpsergio/f35ca38f-8c45-416b-8ad7-f85b71d45ffb/last-checkpoint/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/vmpsergio/f35ca38f-8c45-416b-8ad7-f85b71d45ffb/resolve/main/last-checkpoint/trainer_state.json
2.03 kB
Invalid JSON:Unexpected token 'N', ..."_metric": NaN,
"be"... is not valid JSON
| { | |
| "best_metric": NaN, | |
| "best_model_checkpoint": "miner_id_24/checkpoint-10", | |
| "epoch": 0.00019160391638405088, | |
| "eval_steps": 5, | |
| "global_step": 10, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 1.916039163840509e-05, | |
| "eval_loss": NaN, | |
| "eval_runtime": 1059.6761, | |
| "eval_samples_per_second": 20.738, | |
| "eval_steps_per_second": 10.369, | |
| "step": 1 | |
| }, | |
| { | |
| "epoch": 5.748117491521527e-05, | |
| "grad_norm": NaN, | |
| "learning_rate": 6e-05, | |
| "loss": 0.0, | |
| "step": 3 | |
| }, | |
| { | |
| "epoch": 9.580195819202544e-05, | |
| "eval_loss": NaN, | |
| "eval_runtime": 1057.0757, | |
| "eval_samples_per_second": 20.789, | |
| "eval_steps_per_second": 10.395, | |
| "step": 5 | |
| }, | |
| { | |
| "epoch": 0.00011496234983043054, | |
| "grad_norm": NaN, | |
| "learning_rate": 0.00012, | |
| "loss": 0.0, | |
| "step": 6 | |
| }, | |
| { | |
| "epoch": 0.0001724435247456458, | |
| "grad_norm": NaN, | |
| "learning_rate": 0.00018, | |
| "loss": 0.0, | |
| "step": 9 | |
| }, | |
| { | |
| "epoch": 0.00019160391638405088, | |
| "eval_loss": NaN, | |
| "eval_runtime": 1057.0668, | |
| "eval_samples_per_second": 20.79, | |
| "eval_steps_per_second": 10.395, | |
| "step": 10 | |
| } | |
| ], | |
| "logging_steps": 3, | |
| "max_steps": 30, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 1, | |
| "save_steps": 10, | |
| "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": false | |
| }, | |
| "attributes": {} | |
| } | |
| }, | |
| "total_flos": 800588279316480.0, | |
| "train_batch_size": 2, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |