Instructions to use Aryan3it/Socratic_tutor_sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Aryan3it/Socratic_tutor_sft with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B-Instruct") model = PeftModel.from_pretrained(base_model, "Aryan3it/Socratic_tutor_sft") - Notebooks
- Google Colab
- Kaggle
File size: 1,449 Bytes
bb57c67 | 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 | {
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 2.987551867219917,
"eval_steps": 500,
"global_step": 45,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.6639004149377593,
"grad_norm": 0.43313539028167725,
"learning_rate": 0.00018660254037844388,
"loss": 1.5951,
"step": 10
},
{
"epoch": 1.3278008298755186,
"grad_norm": 0.26037561893463135,
"learning_rate": 0.00012947551744109043,
"loss": 1.0021,
"step": 20
},
{
"epoch": 1.991701244813278,
"grad_norm": 0.279499888420105,
"learning_rate": 5.6611626088244194e-05,
"loss": 0.8799,
"step": 30
},
{
"epoch": 2.6556016597510372,
"grad_norm": 0.26426833868026733,
"learning_rate": 6.9126251355795864e-06,
"loss": 0.8008,
"step": 40
}
],
"logging_steps": 10,
"max_steps": 45,
"num_input_tokens_seen": 0,
"num_train_epochs": 3,
"save_steps": 500,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": true
},
"attributes": {}
}
},
"total_flos": 2.359255589978112e+16,
"train_batch_size": 1,
"trial_name": null,
"trial_params": null
}
|