Instructions to use sravanthib/testing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sravanthib/testing with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-1B") model = PeftModel.from_pretrained(base_model, "sravanthib/testing") - Notebooks
- Google Colab
- Kaggle
| { | |
| "best_global_step": null, | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 0.02, | |
| "eval_steps": 0, | |
| "global_step": 10, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 0.02, | |
| "grad_norm": 0.49432897567749023, | |
| "learning_rate": 0.0001, | |
| "loss": 3.0537, | |
| "step": 10 | |
| }, | |
| { | |
| "epoch": 0.02, | |
| "step": 10, | |
| "total_flos": 9621820885958656.0, | |
| "train_loss": 3.0537273406982424, | |
| "train_runtime": 83.3739, | |
| "train_samples_per_second": 9.595, | |
| "train_steps_per_second": 0.12 | |
| } | |
| ], | |
| "logging_steps": 10, | |
| "max_steps": 10, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 1, | |
| "save_steps": 10, | |
| "stateful_callbacks": { | |
| "TrainerControl": { | |
| "args": { | |
| "should_epoch_stop": false, | |
| "should_evaluate": false, | |
| "should_log": false, | |
| "should_save": true, | |
| "should_training_stop": true | |
| }, | |
| "attributes": {} | |
| } | |
| }, | |
| "total_flos": 9621820885958656.0, | |
| "train_batch_size": 2, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |