Instructions to use chauhoang/6dc5c693-bd8b-469b-8884-71b4941f4e88 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use chauhoang/6dc5c693-bd8b-469b-8884-71b4941f4e88 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-2-2b-it") model = PeftModel.from_pretrained(base_model, "chauhoang/6dc5c693-bd8b-469b-8884-71b4941f4e88") - Notebooks
- Google Colab
- Kaggle
Download last-checkpoint/trainer_state.json from chauhoang/6dc5c693-bd8b-469b-8884-71b4941f4e88: direct link, hf CLI and curl.
- Browser
- Download file 962 Bytes
-
https://huggingface.co/chauhoang/6dc5c693-bd8b-469b-8884-71b4941f4e88/resolve/231e7b525caabe97b6733b0db1a1fce2e77cf4aa/last-checkpoint/trainer_state.json
- Command line
-
hf download hf://chauhoang/6dc5c693-bd8b-469b-8884-71b4941f4e88@231e7b525caabe97b6733b0db1a1fce2e77cf4aa/last-checkpoint/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/chauhoang/6dc5c693-bd8b-469b-8884-71b4941f4e88/resolve/231e7b525caabe97b6733b0db1a1fce2e77cf4aa/last-checkpoint/trainer_state.json
962 Bytes
| { | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 0.0036496350364963502, | |
| "eval_steps": 1, | |
| "global_step": 1, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 0.0036496350364963502, | |
| "eval_loss": 8.032208442687988, | |
| "eval_runtime": 6.4289, | |
| "eval_samples_per_second": 18.044, | |
| "eval_steps_per_second": 9.022, | |
| "step": 1 | |
| } | |
| ], | |
| "logging_steps": 5, | |
| "max_steps": 1, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 1, | |
| "save_steps": 1, | |
| "stateful_callbacks": { | |
| "TrainerControl": { | |
| "args": { | |
| "should_epoch_stop": false, | |
| "should_evaluate": false, | |
| "should_log": false, | |
| "should_save": true, | |
| "should_training_stop": true | |
| }, | |
| "attributes": {} | |
| } | |
| }, | |
| "total_flos": 50009733070848.0, | |
| "train_batch_size": 2, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |