Instructions to use StaAhmed/refined_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use StaAhmed/refined_model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("NousResearch/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "StaAhmed/refined_model") - Notebooks
- Google Colab
- Kaggle
File size: 1,199 Bytes
35d6da4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | {
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 0.9259259259259259,
"global_step": 200,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.12,
"learning_rate": 0.0002,
"loss": 1.9564,
"step": 25
},
{
"epoch": 0.23,
"learning_rate": 0.0002,
"loss": 0.4866,
"step": 50
},
{
"epoch": 0.35,
"learning_rate": 0.0002,
"loss": 0.4995,
"step": 75
},
{
"epoch": 0.46,
"learning_rate": 0.0002,
"loss": 0.3118,
"step": 100
},
{
"epoch": 0.58,
"learning_rate": 0.0002,
"loss": 0.4503,
"step": 125
},
{
"epoch": 0.69,
"learning_rate": 0.0002,
"loss": 0.2724,
"step": 150
},
{
"epoch": 0.81,
"learning_rate": 0.0002,
"loss": 0.4099,
"step": 175
},
{
"epoch": 0.93,
"learning_rate": 0.0002,
"loss": 0.2531,
"step": 200
}
],
"max_steps": 216,
"num_train_epochs": 1,
"total_flos": 7233885092118528.0,
"trial_name": null,
"trial_params": null
}
|