Instructions to use mo22zy/LLM-fineTune-LLaMAFactory-UnSloth with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mo22zy/LLM-fineTune-LLaMAFactory-UnSloth with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2.5-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "mo22zy/LLM-fineTune-LLaMAFactory-UnSloth") - Transformers
How to use mo22zy/LLM-fineTune-LLaMAFactory-UnSloth with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="mo22zy/LLM-fineTune-LLaMAFactory-UnSloth") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mo22zy/LLM-fineTune-LLaMAFactory-UnSloth", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use mo22zy/LLM-fineTune-LLaMAFactory-UnSloth with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "mo22zy/LLM-fineTune-LLaMAFactory-UnSloth" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mo22zy/LLM-fineTune-LLaMAFactory-UnSloth", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/mo22zy/LLM-fineTune-LLaMAFactory-UnSloth
- SGLang
How to use mo22zy/LLM-fineTune-LLaMAFactory-UnSloth with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "mo22zy/LLM-fineTune-LLaMAFactory-UnSloth" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mo22zy/LLM-fineTune-LLaMAFactory-UnSloth", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "mo22zy/LLM-fineTune-LLaMAFactory-UnSloth" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "mo22zy/LLM-fineTune-LLaMAFactory-UnSloth", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use mo22zy/LLM-fineTune-LLaMAFactory-UnSloth with Docker Model Runner:
docker model run hf.co/mo22zy/LLM-fineTune-LLaMAFactory-UnSloth
Download trainer_state.json from mo22zy/LLM-fineTune-LLaMAFactory-UnSloth: direct link, hf CLI and curl.
- Browser
- Download file 40.8 kB
-
https://huggingface.co/mo22zy/LLM-fineTune-LLaMAFactory-UnSloth/resolve/main/trainer_state.json
- Command line
-
hf download hf://mo22zy/LLM-fineTune-LLaMAFactory-UnSloth/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/mo22zy/LLM-fineTune-LLaMAFactory-UnSloth/resolve/main/trainer_state.json
40.8 kB
{
"best_global_step": null,
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 3.0,
"eval_steps": 100,
"global_step": 1926,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.015594541910331383,
"grad_norm": 3.2592740058898926,
"learning_rate": 4.663212435233161e-06,
"loss": 0.9837071418762207,
"step": 10
},
{
"epoch": 0.031189083820662766,
"grad_norm": 2.983515501022339,
"learning_rate": 9.84455958549223e-06,
"loss": 0.8089840888977051,
"step": 20
},
{
"epoch": 0.04678362573099415,
"grad_norm": 3.075035810470581,
"learning_rate": 1.5025906735751296e-05,
"loss": 0.838736629486084,
"step": 30
},
{
"epoch": 0.06237816764132553,
"grad_norm": 2.905017614364624,
"learning_rate": 2.0207253886010365e-05,
"loss": 0.6954585552215576,
"step": 40
},
{
"epoch": 0.07797270955165692,
"grad_norm": 4.330966472625732,
"learning_rate": 2.538860103626943e-05,
"loss": 0.7875439167022705,
"step": 50
},
{
"epoch": 0.0935672514619883,
"grad_norm": 2.6134250164031982,
"learning_rate": 4.663212435233161e-06,
"loss": 0.6752982616424561,
"step": 60
},
{
"epoch": 0.10916179337231968,
"grad_norm": 2.9130735397338867,
"learning_rate": 9.84455958549223e-06,
"loss": 0.7158531665802002,
"step": 70
},
{
"epoch": 0.12475633528265107,
"grad_norm": 3.3468101024627686,
"learning_rate": 1.5025906735751296e-05,
"loss": 0.7874385833740234,
"step": 80
},
{
"epoch": 0.14035087719298245,
"grad_norm": 2.7819600105285645,
"learning_rate": 2.0207253886010365e-05,
"loss": 0.7358914852142334,
"step": 90
},
{
"epoch": 0.15594541910331383,
"grad_norm": 2.511810064315796,
"learning_rate": 2.538860103626943e-05,
"loss": 0.675134801864624,
"step": 100
},
{
"epoch": 0.15594541910331383,
"eval_loss": 0.601254403591156,
"eval_runtime": 39.0154,
"eval_samples_per_second": 1.666,
"eval_steps_per_second": 1.666,
"step": 100
},
{
"epoch": 0.17153996101364521,
"grad_norm": 2.5563814640045166,
"learning_rate": 3.05699481865285e-05,
"loss": 0.6869357585906982,
"step": 110
},
{
"epoch": 0.1871345029239766,
"grad_norm": 3.3722522258758545,
"learning_rate": 3.575129533678757e-05,
"loss": 0.7907030582427979,
"step": 120
},
{
"epoch": 0.20272904483430798,
"grad_norm": 2.2747161388397217,
"learning_rate": 4.093264248704664e-05,
"loss": 0.7326287269592285,
"step": 130
},
{
"epoch": 0.21832358674463936,
"grad_norm": 3.000950336456299,
"learning_rate": 4.61139896373057e-05,
"loss": 0.6432374000549317,
"step": 140
},
{
"epoch": 0.23391812865497075,
"grad_norm": 2.241101026535034,
"learning_rate": 5.129533678756477e-05,
"loss": 0.61339430809021,
"step": 150
},
{
"epoch": 0.24951267056530213,
"grad_norm": 2.955930471420288,
"learning_rate": 5.6476683937823835e-05,
"loss": 0.8529827117919921,
"step": 160
},
{
"epoch": 0.2651072124756335,
"grad_norm": 3.251350164413452,
"learning_rate": 6.16580310880829e-05,
"loss": 0.7145961284637451,
"step": 170
},
{
"epoch": 0.2807017543859649,
"grad_norm": 2.7343337535858154,
"learning_rate": 6.683937823834198e-05,
"loss": 0.620606517791748,
"step": 180
},
{
"epoch": 0.2962962962962963,
"grad_norm": 2.3183557987213135,
"learning_rate": 7.202072538860104e-05,
"loss": 0.5944003582000732,
"step": 190
},
{
"epoch": 0.31189083820662766,
"grad_norm": 3.5768465995788574,
"learning_rate": 7.72020725388601e-05,
"loss": 0.7726722717285156,
"step": 200
},
{
"epoch": 0.31189083820662766,
"eval_loss": 0.5871402621269226,
"eval_runtime": 38.1075,
"eval_samples_per_second": 1.706,
"eval_steps_per_second": 1.706,
"step": 200
},
{
"epoch": 0.32748538011695905,
"grad_norm": 2.211684226989746,
"learning_rate": 8.238341968911918e-05,
"loss": 0.659832239151001,
"step": 210
},
{
"epoch": 0.34307992202729043,
"grad_norm": 2.0056560039520264,
"learning_rate": 8.756476683937824e-05,
"loss": 0.6001450538635253,
"step": 220
},
{
"epoch": 0.3586744639376218,
"grad_norm": 2.5449187755584717,
"learning_rate": 9.27461139896373e-05,
"loss": 0.6744282722473145,
"step": 230
},
{
"epoch": 0.3742690058479532,
"grad_norm": 2.4733307361602783,
"learning_rate": 9.792746113989638e-05,
"loss": 0.6958676338195801,
"step": 240
},
{
"epoch": 0.3898635477582846,
"grad_norm": 2.71120548248291,
"learning_rate": 9.999704239039629e-05,
"loss": 0.6245002269744873,
"step": 250
},
{
"epoch": 0.40545808966861596,
"grad_norm": 2.3027143478393555,
"learning_rate": 9.997896937659009e-05,
"loss": 0.6910082340240479,
"step": 260
},
{
"epoch": 0.42105263157894735,
"grad_norm": 2.1582136154174805,
"learning_rate": 9.994447239733374e-05,
"loss": 0.7049213409423828,
"step": 270
},
{
"epoch": 0.43664717348927873,
"grad_norm": 2.485252618789673,
"learning_rate": 9.989356278893929e-05,
"loss": 0.6243346214294434,
"step": 280
},
{
"epoch": 0.4522417153996101,
"grad_norm": 1.8099292516708374,
"learning_rate": 9.982625728119653e-05,
"loss": 0.6950376987457275,
"step": 290
},
{
"epoch": 0.4678362573099415,
"grad_norm": 2.376051187515259,
"learning_rate": 9.97425779918751e-05,
"loss": 0.6416468143463134,
"step": 300
},
{
"epoch": 0.4678362573099415,
"eval_loss": 0.5593885183334351,
"eval_runtime": 37.9383,
"eval_samples_per_second": 1.713,
"eval_steps_per_second": 1.713,
"step": 300
},
{
"epoch": 0.4834307992202729,
"grad_norm": 1.7824283838272095,
"learning_rate": 9.964255241945638e-05,
"loss": 0.5587766170501709,
"step": 310
},
{
"epoch": 0.49902534113060426,
"grad_norm": 1.7929648160934448,
"learning_rate": 9.952621343409685e-05,
"loss": 0.6536989212036133,
"step": 320
},
{
"epoch": 0.5146198830409356,
"grad_norm": 2.141934633255005,
"learning_rate": 9.93935992668265e-05,
"loss": 0.6228131294250489,
"step": 330
},
{
"epoch": 0.530214424951267,
"grad_norm": 1.9931026697158813,
"learning_rate": 9.924475349698536e-05,
"loss": 0.6134224891662597,
"step": 340
},
{
"epoch": 0.5458089668615984,
"grad_norm": 1.7531867027282715,
"learning_rate": 9.907972503790263e-05,
"loss": 0.6202692031860352,
"step": 350
},
{
"epoch": 0.5614035087719298,
"grad_norm": 1.9783403873443604,
"learning_rate": 9.889856812082283e-05,
"loss": 0.6955098628997802,
"step": 360
},
{
"epoch": 0.5769980506822612,
"grad_norm": 2.1109538078308105,
"learning_rate": 9.870134227708453e-05,
"loss": 0.6428570747375488,
"step": 370
},
{
"epoch": 0.5925925925925926,
"grad_norm": 1.7783440351486206,
"learning_rate": 9.848811231855728e-05,
"loss": 0.6212756156921386,
"step": 380
},
{
"epoch": 0.6081871345029239,
"grad_norm": 1.838640809059143,
"learning_rate": 9.825894831634332e-05,
"loss": 0.6076176643371582,
"step": 390
},
{
"epoch": 0.6237816764132553,
"grad_norm": 1.612315058708191,
"learning_rate": 9.80139255777509e-05,
"loss": 0.6686372280120849,
"step": 400
},
{
"epoch": 0.6237816764132553,
"eval_loss": 0.5424126386642456,
"eval_runtime": 38.0285,
"eval_samples_per_second": 1.709,
"eval_steps_per_second": 1.709,
"step": 400
},
{
"epoch": 0.6393762183235867,
"grad_norm": 1.9273943901062012,
"learning_rate": 9.77531246215471e-05,
"loss": 0.6214169502258301,
"step": 410
},
{
"epoch": 0.6549707602339181,
"grad_norm": 1.911972999572754,
"learning_rate": 9.747663115149787e-05,
"loss": 0.5886472225189209,
"step": 420
},
{
"epoch": 0.6705653021442495,
"grad_norm": 1.700593113899231,
"learning_rate": 9.718453602820432e-05,
"loss": 0.5741930961608886,
"step": 430
},
{
"epoch": 0.6861598440545809,
"grad_norm": 1.6733988523483276,
"learning_rate": 9.687693523924424e-05,
"loss": 0.7036548614501953,
"step": 440
},
{
"epoch": 0.7017543859649122,
"grad_norm": 2.071399450302124,
"learning_rate": 9.655392986762906e-05,
"loss": 0.6137333869934082,
"step": 450
},
{
"epoch": 0.7173489278752436,
"grad_norm": 1.8973418474197388,
"learning_rate": 9.621562605858601e-05,
"loss": 0.5915022373199463,
"step": 460
},
{
"epoch": 0.732943469785575,
"grad_norm": 1.73122239112854,
"learning_rate": 9.586213498467712e-05,
"loss": 0.5773356437683106,
"step": 470
},
{
"epoch": 0.7485380116959064,
"grad_norm": 2.0085418224334717,
"learning_rate": 9.549357280926583e-05,
"loss": 0.6799307823181152,
"step": 480
},
{
"epoch": 0.7641325536062378,
"grad_norm": 1.8030775785446167,
"learning_rate": 9.511006064834376e-05,
"loss": 0.768954086303711,
"step": 490
},
{
"epoch": 0.7797270955165692,
"grad_norm": 2.101588249206543,
"learning_rate": 9.471172453072979e-05,
"loss": 0.5998501300811767,
"step": 500
},
{
"epoch": 0.7797270955165692,
"eval_loss": 0.5319307446479797,
"eval_runtime": 37.8546,
"eval_samples_per_second": 1.717,
"eval_steps_per_second": 1.717,
"step": 500
},
{
"epoch": 0.7953216374269005,
"grad_norm": 1.674721121788025,
"learning_rate": 9.429869535665485e-05,
"loss": 0.7197598457336426,
"step": 510
},
{
"epoch": 0.8109161793372319,
"grad_norm": 1.5658178329467773,
"learning_rate": 9.387110885474581e-05,
"loss": 0.5296248435974121,
"step": 520
},
{
"epoch": 0.8265107212475633,
"grad_norm": 1.5489941835403442,
"learning_rate": 9.342910553742265e-05,
"loss": 0.652994441986084,
"step": 530
},
{
"epoch": 0.8421052631578947,
"grad_norm": 2.5263471603393555,
"learning_rate": 9.297283065472356e-05,
"loss": 0.7281765460968017,
"step": 540
},
{
"epoch": 0.8576998050682261,
"grad_norm": 1.5030943155288696,
"learning_rate": 9.250243414657334e-05,
"loss": 0.6701888561248779,
"step": 550
},
{
"epoch": 0.8732943469785575,
"grad_norm": 2.3221824169158936,
"learning_rate": 9.201807059351046e-05,
"loss": 0.6283749103546142,
"step": 560
},
{
"epoch": 0.8888888888888888,
"grad_norm": 1.5972970724105835,
"learning_rate": 9.151989916588915e-05,
"loss": 0.7071208953857422,
"step": 570
},
{
"epoch": 0.9044834307992202,
"grad_norm": 1.5582678318023682,
"learning_rate": 9.10080835715733e-05,
"loss": 0.6242238998413085,
"step": 580
},
{
"epoch": 0.9200779727095516,
"grad_norm": 1.7812803983688354,
"learning_rate": 9.048279200213917e-05,
"loss": 0.5881740093231201,
"step": 590
},
{
"epoch": 0.935672514619883,
"grad_norm": 1.5587722063064575,
"learning_rate": 8.994419707760459e-05,
"loss": 0.5403494358062744,
"step": 600
},
{
"epoch": 0.935672514619883,
"eval_loss": 0.5231836438179016,
"eval_runtime": 37.9745,
"eval_samples_per_second": 1.712,
"eval_steps_per_second": 1.712,
"step": 600
},
{
"epoch": 0.9512670565302144,
"grad_norm": 1.927905559539795,
"learning_rate": 8.939247578970318e-05,
"loss": 0.6417178630828857,
"step": 610
},
{
"epoch": 0.9668615984405458,
"grad_norm": 1.6364318132400513,
"learning_rate": 8.88278094437216e-05,
"loss": 0.6211064338684082,
"step": 620
},
{
"epoch": 0.9824561403508771,
"grad_norm": 1.5609887838363647,
"learning_rate": 8.825038359891952e-05,
"loss": 0.5356368064880371,
"step": 630
},
{
"epoch": 0.9980506822612085,
"grad_norm": 2.0723602771759033,
"learning_rate": 8.766038800755162e-05,
"loss": 0.5871271133422852,
"step": 640
},
{
"epoch": 1.0124756335282652,
"grad_norm": 1.5022188425064087,
"learning_rate": 8.705801655251162e-05,
"loss": 0.5076155185699462,
"step": 650
},
{
"epoch": 1.0280701754385966,
"grad_norm": 1.631900668144226,
"learning_rate": 8.644346718361902e-05,
"loss": 0.46794948577880857,
"step": 660
},
{
"epoch": 1.043664717348928,
"grad_norm": 1.5425912141799927,
"learning_rate": 8.581694185256925e-05,
"loss": 0.4947348594665527,
"step": 670
},
{
"epoch": 1.0592592592592593,
"grad_norm": 1.616890549659729,
"learning_rate": 8.517864644656885e-05,
"loss": 0.47264370918273924,
"step": 680
},
{
"epoch": 1.0748538011695907,
"grad_norm": 1.5197277069091797,
"learning_rate": 8.45287907206773e-05,
"loss": 0.5205112934112549,
"step": 690
},
{
"epoch": 1.0904483430799221,
"grad_norm": 1.6785401105880737,
"learning_rate": 8.386758822887791e-05,
"loss": 0.4161092281341553,
"step": 700
},
{
"epoch": 1.0904483430799221,
"eval_loss": 0.5130226016044617,
"eval_runtime": 37.9692,
"eval_samples_per_second": 1.712,
"eval_steps_per_second": 1.712,
"step": 700
},
{
"epoch": 1.1060428849902535,
"grad_norm": 1.6569005250930786,
"learning_rate": 8.319525625390005e-05,
"loss": 0.5237918853759765,
"step": 710
},
{
"epoch": 1.1216374269005849,
"grad_norm": 1.6062471866607666,
"learning_rate": 8.251201573581651e-05,
"loss": 0.49698925018310547,
"step": 720
},
{
"epoch": 1.1372319688109163,
"grad_norm": 1.7176719903945923,
"learning_rate": 8.181809119943844e-05,
"loss": 0.44593420028686526,
"step": 730
},
{
"epoch": 1.1528265107212476,
"grad_norm": 1.9607514142990112,
"learning_rate": 8.111371068053274e-05,
"loss": 0.49613399505615235,
"step": 740
},
{
"epoch": 1.168421052631579,
"grad_norm": 1.5093814134597778,
"learning_rate": 8.039910565088546e-05,
"loss": 0.5131869792938233,
"step": 750
},
{
"epoch": 1.1840155945419104,
"grad_norm": 1.1910256147384644,
"learning_rate": 7.967451094223612e-05,
"loss": 0.4052753448486328,
"step": 760
},
{
"epoch": 1.1996101364522418,
"grad_norm": 1.9187681674957275,
"learning_rate": 7.894016466910786e-05,
"loss": 0.49736604690551756,
"step": 770
},
{
"epoch": 1.2152046783625732,
"grad_norm": 1.8985222578048706,
"learning_rate": 7.819630815055883e-05,
"loss": 0.4739995002746582,
"step": 780
},
{
"epoch": 1.2307992202729046,
"grad_norm": 1.5351203680038452,
"learning_rate": 7.744318583088056e-05,
"loss": 0.3814107894897461,
"step": 790
},
{
"epoch": 1.246393762183236,
"grad_norm": 1.9664071798324585,
"learning_rate": 7.668104519926927e-05,
"loss": 0.44898362159729005,
"step": 800
},
{
"epoch": 1.246393762183236,
"eval_loss": 0.5074886679649353,
"eval_runtime": 38.2644,
"eval_samples_per_second": 1.699,
"eval_steps_per_second": 1.699,
"step": 800
},
{
"epoch": 1.2619883040935673,
"grad_norm": 1.5522741079330444,
"learning_rate": 7.591013670849656e-05,
"loss": 0.5289398670196533,
"step": 810
},
{
"epoch": 1.2775828460038987,
"grad_norm": 1.2682960033416748,
"learning_rate": 7.513071369260623e-05,
"loss": 0.5097226619720459,
"step": 820
},
{
"epoch": 1.29317738791423,
"grad_norm": 1.7358014583587646,
"learning_rate": 7.434303228366428e-05,
"loss": 0.45503997802734375,
"step": 830
},
{
"epoch": 1.3087719298245615,
"grad_norm": 1.8771861791610718,
"learning_rate": 7.35473513275895e-05,
"loss": 0.44403367042541503,
"step": 840
},
{
"epoch": 1.3243664717348929,
"grad_norm": 1.6399431228637695,
"learning_rate": 7.274393229909202e-05,
"loss": 0.451983118057251,
"step": 850
},
{
"epoch": 1.3399610136452242,
"grad_norm": 1.5191984176635742,
"learning_rate": 7.193303921574826e-05,
"loss": 0.4516315460205078,
"step": 860
},
{
"epoch": 1.3555555555555556,
"grad_norm": 2.095533609390259,
"learning_rate": 7.111493855124005e-05,
"loss": 0.445369815826416,
"step": 870
},
{
"epoch": 1.371150097465887,
"grad_norm": 1.5272681713104248,
"learning_rate": 7.028989914778676e-05,
"loss": 0.4386256694793701,
"step": 880
},
{
"epoch": 1.3867446393762184,
"grad_norm": 1.394383430480957,
"learning_rate": 6.945819212779902e-05,
"loss": 0.4359778881072998,
"step": 890
},
{
"epoch": 1.4023391812865498,
"grad_norm": 1.6322795152664185,
"learning_rate": 6.862009080478309e-05,
"loss": 0.4694495677947998,
"step": 900
},
{
"epoch": 1.4023391812865498,
"eval_loss": 0.4965021014213562,
"eval_runtime": 37.9375,
"eval_samples_per_second": 1.713,
"eval_steps_per_second": 1.713,
"step": 900
},
{
"epoch": 1.4179337231968812,
"grad_norm": 1.7332217693328857,
"learning_rate": 6.777587059352534e-05,
"loss": 0.41215267181396487,
"step": 910
},
{
"epoch": 1.4335282651072125,
"grad_norm": 1.522779107093811,
"learning_rate": 6.692580891958605e-05,
"loss": 0.4457282066345215,
"step": 920
},
{
"epoch": 1.449122807017544,
"grad_norm": 1.7574615478515625,
"learning_rate": 6.607018512813256e-05,
"loss": 0.38697185516357424,
"step": 930
},
{
"epoch": 1.4647173489278753,
"grad_norm": 1.8553287982940674,
"learning_rate": 6.520928039214149e-05,
"loss": 0.4548583984375,
"step": 940
},
{
"epoch": 1.4803118908382067,
"grad_norm": 1.5727280378341675,
"learning_rate": 6.434337762000047e-05,
"loss": 0.42229290008544923,
"step": 950
},
{
"epoch": 1.495906432748538,
"grad_norm": 2.840502977371216,
"learning_rate": 4.663212435233161e-06,
"loss": 0.47206969261169435,
"step": 960
},
{
"epoch": 1.5115009746588695,
"grad_norm": 1.4869853258132935,
"learning_rate": 9.84455958549223e-06,
"loss": 0.3698537588119507,
"step": 970
},
{
"epoch": 1.5270955165692008,
"grad_norm": 1.4405934810638428,
"learning_rate": 1.5025906735751296e-05,
"loss": 0.3858748435974121,
"step": 980
},
{
"epoch": 1.5426900584795322,
"grad_norm": 1.519753098487854,
"learning_rate": 2.0207253886010365e-05,
"loss": 0.3966444253921509,
"step": 990
},
{
"epoch": 1.5582846003898636,
"grad_norm": 1.6408551931381226,
"learning_rate": 2.538860103626943e-05,
"loss": 0.40708169937133787,
"step": 1000
},
{
"epoch": 1.5582846003898636,
"eval_loss": 0.48708629608154297,
"eval_runtime": 42.5694,
"eval_samples_per_second": 1.527,
"eval_steps_per_second": 1.527,
"step": 1000
},
{
"epoch": 1.573879142300195,
"grad_norm": 1.4207898378372192,
"learning_rate": 3.05699481865285e-05,
"loss": 0.37329678535461425,
"step": 1010
},
{
"epoch": 1.5894736842105264,
"grad_norm": 1.684347152709961,
"learning_rate": 3.575129533678757e-05,
"loss": 0.4785726547241211,
"step": 1020
},
{
"epoch": 1.6050682261208578,
"grad_norm": 1.4988139867782593,
"learning_rate": 4.093264248704664e-05,
"loss": 0.42958269119262693,
"step": 1030
},
{
"epoch": 1.6206627680311891,
"grad_norm": 1.7968741655349731,
"learning_rate": 4.61139896373057e-05,
"loss": 0.42341017723083496,
"step": 1040
},
{
"epoch": 1.6362573099415205,
"grad_norm": 1.424203872680664,
"learning_rate": 5.129533678756477e-05,
"loss": 0.4286026954650879,
"step": 1050
},
{
"epoch": 1.651851851851852,
"grad_norm": 1.9405038356781006,
"learning_rate": 5.6476683937823835e-05,
"loss": 0.4684289932250977,
"step": 1060
},
{
"epoch": 1.6674463937621833,
"grad_norm": 1.6805239915847778,
"learning_rate": 6.16580310880829e-05,
"loss": 0.41984238624572756,
"step": 1070
},
{
"epoch": 1.6830409356725147,
"grad_norm": 1.5130921602249146,
"learning_rate": 6.683937823834198e-05,
"loss": 0.4178868293762207,
"step": 1080
},
{
"epoch": 1.698635477582846,
"grad_norm": 2.571141481399536,
"learning_rate": 7.202072538860104e-05,
"loss": 0.5125845432281494,
"step": 1090
},
{
"epoch": 1.7142300194931774,
"grad_norm": 1.4852756261825562,
"learning_rate": 7.72020725388601e-05,
"loss": 0.4285253047943115,
"step": 1100
},
{
"epoch": 1.7142300194931774,
"eval_loss": 0.49585190415382385,
"eval_runtime": 41.9206,
"eval_samples_per_second": 1.551,
"eval_steps_per_second": 1.551,
"step": 1100
},
{
"epoch": 1.7298245614035088,
"grad_norm": 1.3100866079330444,
"learning_rate": 8.238341968911918e-05,
"loss": 0.395188307762146,
"step": 1110
},
{
"epoch": 1.7454191033138402,
"grad_norm": 1.8763585090637207,
"learning_rate": 8.756476683937824e-05,
"loss": 0.43906350135803224,
"step": 1120
},
{
"epoch": 1.7610136452241716,
"grad_norm": 1.523404836654663,
"learning_rate": 9.27461139896373e-05,
"loss": 0.4391520023345947,
"step": 1130
},
{
"epoch": 1.776608187134503,
"grad_norm": 1.7617684602737427,
"learning_rate": 9.792746113989638e-05,
"loss": 0.3882270336151123,
"step": 1140
},
{
"epoch": 1.7922027290448344,
"grad_norm": 1.9634075164794922,
"learning_rate": 9.999704239039629e-05,
"loss": 0.4451444149017334,
"step": 1150
},
{
"epoch": 1.8077972709551657,
"grad_norm": 1.676823377609253,
"learning_rate": 9.997896937659009e-05,
"loss": 0.5147156238555908,
"step": 1160
},
{
"epoch": 1.8233918128654971,
"grad_norm": 1.9894001483917236,
"learning_rate": 9.994447239733374e-05,
"loss": 0.4135693073272705,
"step": 1170
},
{
"epoch": 1.8389863547758285,
"grad_norm": 1.4567375183105469,
"learning_rate": 9.989356278893929e-05,
"loss": 0.38569204807281493,
"step": 1180
},
{
"epoch": 1.8545808966861599,
"grad_norm": 1.9118549823760986,
"learning_rate": 9.982625728119653e-05,
"loss": 0.47319779396057127,
"step": 1190
},
{
"epoch": 1.8701754385964913,
"grad_norm": 1.71770441532135,
"learning_rate": 9.97425779918751e-05,
"loss": 0.5757467746734619,
"step": 1200
},
{
"epoch": 1.8701754385964913,
"eval_loss": 0.5070481896400452,
"eval_runtime": 42.1503,
"eval_samples_per_second": 1.542,
"eval_steps_per_second": 1.542,
"step": 1200
},
{
"epoch": 1.8857699805068227,
"grad_norm": 1.8406747579574585,
"learning_rate": 9.964255241945638e-05,
"loss": 0.469807767868042,
"step": 1210
},
{
"epoch": 1.901364522417154,
"grad_norm": 1.4007899761199951,
"learning_rate": 9.952621343409685e-05,
"loss": 0.49632534980773924,
"step": 1220
},
{
"epoch": 1.9169590643274854,
"grad_norm": 1.6444191932678223,
"learning_rate": 9.93935992668265e-05,
"loss": 0.4471562385559082,
"step": 1230
},
{
"epoch": 1.9325536062378168,
"grad_norm": 1.9474213123321533,
"learning_rate": 9.924475349698536e-05,
"loss": 0.5234719753265381,
"step": 1240
},
{
"epoch": 1.9481481481481482,
"grad_norm": 1.376907467842102,
"learning_rate": 9.907972503790263e-05,
"loss": 0.41959614753723146,
"step": 1250
},
{
"epoch": 1.9637426900584796,
"grad_norm": 1.7858752012252808,
"learning_rate": 9.889856812082283e-05,
"loss": 0.48165345191955566,
"step": 1260
},
{
"epoch": 1.979337231968811,
"grad_norm": 1.563031554222107,
"learning_rate": 9.870134227708453e-05,
"loss": 0.475513219833374,
"step": 1270
},
{
"epoch": 1.9949317738791423,
"grad_norm": 2.1146352291107178,
"learning_rate": 9.848811231855728e-05,
"loss": 0.4261679172515869,
"step": 1280
},
{
"epoch": 2.009356725146199,
"grad_norm": 1.5465737581253052,
"learning_rate": 9.825894831634332e-05,
"loss": 0.4596993446350098,
"step": 1290
},
{
"epoch": 2.0249512670565304,
"grad_norm": 1.170670509338379,
"learning_rate": 9.80139255777509e-05,
"loss": 0.280952000617981,
"step": 1300
},
{
"epoch": 2.0249512670565304,
"eval_loss": 0.523568868637085,
"eval_runtime": 41.7118,
"eval_samples_per_second": 1.558,
"eval_steps_per_second": 1.558,
"step": 1300
},
{
"epoch": 2.0405458089668618,
"grad_norm": 1.3798542022705078,
"learning_rate": 9.77531246215471e-05,
"loss": 0.3263567924499512,
"step": 1310
},
{
"epoch": 2.056140350877193,
"grad_norm": 1.2841318845748901,
"learning_rate": 9.747663115149787e-05,
"loss": 0.29609055519104005,
"step": 1320
},
{
"epoch": 2.0717348927875245,
"grad_norm": 2.011805534362793,
"learning_rate": 9.718453602820432e-05,
"loss": 0.33242998123168943,
"step": 1330
},
{
"epoch": 2.087329434697856,
"grad_norm": 1.9409464597702026,
"learning_rate": 9.687693523924424e-05,
"loss": 0.3027463912963867,
"step": 1340
},
{
"epoch": 2.1029239766081873,
"grad_norm": 1.2302162647247314,
"learning_rate": 9.655392986762906e-05,
"loss": 0.32762746810913085,
"step": 1350
},
{
"epoch": 2.1185185185185187,
"grad_norm": 3.3047351837158203,
"learning_rate": 9.621562605858601e-05,
"loss": 0.4207261562347412,
"step": 1360
},
{
"epoch": 2.13411306042885,
"grad_norm": 1.3974148035049438,
"learning_rate": 9.586213498467712e-05,
"loss": 0.27068119049072265,
"step": 1370
},
{
"epoch": 2.1497076023391815,
"grad_norm": 1.8098485469818115,
"learning_rate": 9.549357280926583e-05,
"loss": 0.33029537200927733,
"step": 1380
},
{
"epoch": 2.165302144249513,
"grad_norm": 1.580078125,
"learning_rate": 9.511006064834376e-05,
"loss": 0.35562787055969236,
"step": 1390
},
{
"epoch": 2.1808966861598442,
"grad_norm": 1.4019205570220947,
"learning_rate": 9.471172453072979e-05,
"loss": 0.3507148027420044,
"step": 1400
},
{
"epoch": 2.1808966861598442,
"eval_loss": 0.518832266330719,
"eval_runtime": 42.2158,
"eval_samples_per_second": 1.54,
"eval_steps_per_second": 1.54,
"step": 1400
},
{
"epoch": 2.1964912280701756,
"grad_norm": 1.5422732830047607,
"learning_rate": 9.429869535665485e-05,
"loss": 0.3374514102935791,
"step": 1410
},
{
"epoch": 2.212085769980507,
"grad_norm": 1.770733118057251,
"learning_rate": 9.387110885474581e-05,
"loss": 0.3147098541259766,
"step": 1420
},
{
"epoch": 2.2276803118908384,
"grad_norm": 1.668840765953064,
"learning_rate": 9.342910553742265e-05,
"loss": 0.39020547866821287,
"step": 1430
},
{
"epoch": 2.2432748538011698,
"grad_norm": 1.7293962240219116,
"learning_rate": 9.297283065472356e-05,
"loss": 0.3318000555038452,
"step": 1440
},
{
"epoch": 2.258869395711501,
"grad_norm": 1.6872508525848389,
"learning_rate": 9.250243414657334e-05,
"loss": 0.29548790454864504,
"step": 1450
},
{
"epoch": 2.2744639376218325,
"grad_norm": 1.8479251861572266,
"learning_rate": 9.201807059351046e-05,
"loss": 0.289660120010376,
"step": 1460
},
{
"epoch": 2.290058479532164,
"grad_norm": 1.689146637916565,
"learning_rate": 9.151989916588915e-05,
"loss": 0.33733770847320554,
"step": 1470
},
{
"epoch": 2.3056530214424953,
"grad_norm": 1.589138150215149,
"learning_rate": 9.10080835715733e-05,
"loss": 0.2993727922439575,
"step": 1480
},
{
"epoch": 2.3212475633528267,
"grad_norm": 1.6446527242660522,
"learning_rate": 9.048279200213917e-05,
"loss": 0.2963101863861084,
"step": 1490
},
{
"epoch": 2.336842105263158,
"grad_norm": 1.6728787422180176,
"learning_rate": 8.994419707760459e-05,
"loss": 0.2787469387054443,
"step": 1500
},
{
"epoch": 2.336842105263158,
"eval_loss": 0.5213959813117981,
"eval_runtime": 41.8898,
"eval_samples_per_second": 1.552,
"eval_steps_per_second": 1.552,
"step": 1500
},
{
"epoch": 2.3524366471734894,
"grad_norm": 1.6041826009750366,
"learning_rate": 8.939247578970318e-05,
"loss": 0.37163710594177246,
"step": 1510
},
{
"epoch": 2.368031189083821,
"grad_norm": 1.6463220119476318,
"learning_rate": 8.88278094437216e-05,
"loss": 0.2776336669921875,
"step": 1520
},
{
"epoch": 2.383625730994152,
"grad_norm": 2.0895209312438965,
"learning_rate": 8.825038359891952e-05,
"loss": 0.29936947822570803,
"step": 1530
},
{
"epoch": 2.3992202729044836,
"grad_norm": 1.7830950021743774,
"learning_rate": 8.766038800755162e-05,
"loss": 0.3264864683151245,
"step": 1540
},
{
"epoch": 2.414814814814815,
"grad_norm": 1.6205127239227295,
"learning_rate": 8.705801655251162e-05,
"loss": 0.3584704875946045,
"step": 1550
},
{
"epoch": 2.4304093567251464,
"grad_norm": 1.498822808265686,
"learning_rate": 8.644346718361902e-05,
"loss": 0.3126483678817749,
"step": 1560
},
{
"epoch": 2.4460038986354777,
"grad_norm": 1.6669758558273315,
"learning_rate": 8.581694185256925e-05,
"loss": 0.3316021203994751,
"step": 1570
},
{
"epoch": 2.461598440545809,
"grad_norm": 1.6525133848190308,
"learning_rate": 8.517864644656885e-05,
"loss": 0.35164239406585696,
"step": 1580
},
{
"epoch": 2.4771929824561405,
"grad_norm": 1.8147622346878052,
"learning_rate": 8.45287907206773e-05,
"loss": 0.2978448629379272,
"step": 1590
},
{
"epoch": 2.492787524366472,
"grad_norm": 1.5217781066894531,
"learning_rate": 8.386758822887791e-05,
"loss": 0.3636059522628784,
"step": 1600
},
{
"epoch": 2.492787524366472,
"eval_loss": 0.5141905546188354,
"eval_runtime": 41.8571,
"eval_samples_per_second": 1.553,
"eval_steps_per_second": 1.553,
"step": 1600
},
{
"epoch": 2.5083820662768033,
"grad_norm": 1.234702229499817,
"learning_rate": 8.319525625390005e-05,
"loss": 0.3186349630355835,
"step": 1610
},
{
"epoch": 2.5239766081871347,
"grad_norm": 1.842774510383606,
"learning_rate": 8.251201573581651e-05,
"loss": 0.30203564167022706,
"step": 1620
},
{
"epoch": 2.539571150097466,
"grad_norm": 1.50760817527771,
"learning_rate": 8.181809119943844e-05,
"loss": 0.3169504404067993,
"step": 1630
},
{
"epoch": 2.5551656920077974,
"grad_norm": 1.3863533735275269,
"learning_rate": 8.111371068053274e-05,
"loss": 0.306856107711792,
"step": 1640
},
{
"epoch": 2.570760233918129,
"grad_norm": 1.6485737562179565,
"learning_rate": 8.039910565088546e-05,
"loss": 0.3066796064376831,
"step": 1650
},
{
"epoch": 2.58635477582846,
"grad_norm": 1.5556467771530151,
"learning_rate": 7.967451094223612e-05,
"loss": 0.34055442810058595,
"step": 1660
},
{
"epoch": 2.6019493177387916,
"grad_norm": 1.6165392398834229,
"learning_rate": 7.894016466910786e-05,
"loss": 0.3127113342285156,
"step": 1670
},
{
"epoch": 2.617543859649123,
"grad_norm": 1.5642478466033936,
"learning_rate": 7.819630815055883e-05,
"loss": 0.3563936471939087,
"step": 1680
},
{
"epoch": 2.6331384015594543,
"grad_norm": 1.6405764818191528,
"learning_rate": 7.744318583088056e-05,
"loss": 0.3449415922164917,
"step": 1690
},
{
"epoch": 2.6487329434697857,
"grad_norm": 1.6214545965194702,
"learning_rate": 7.668104519926927e-05,
"loss": 0.33435306549072263,
"step": 1700
},
{
"epoch": 2.6487329434697857,
"eval_loss": 0.5073034167289734,
"eval_runtime": 41.9196,
"eval_samples_per_second": 1.551,
"eval_steps_per_second": 1.551,
"step": 1700
},
{
"epoch": 2.664327485380117,
"grad_norm": 2.048487901687622,
"learning_rate": 7.591013670849656e-05,
"loss": 0.3494387149810791,
"step": 1710
},
{
"epoch": 2.6799220272904485,
"grad_norm": 1.8118232488632202,
"learning_rate": 7.513071369260623e-05,
"loss": 0.3755338191986084,
"step": 1720
},
{
"epoch": 2.69551656920078,
"grad_norm": 1.7968155145645142,
"learning_rate": 7.434303228366428e-05,
"loss": 0.29213476181030273,
"step": 1730
},
{
"epoch": 2.7111111111111112,
"grad_norm": 2.8420729637145996,
"learning_rate": 7.35473513275895e-05,
"loss": 0.3225573539733887,
"step": 1740
},
{
"epoch": 2.7267056530214426,
"grad_norm": 1.6278619766235352,
"learning_rate": 7.274393229909202e-05,
"loss": 0.3194139003753662,
"step": 1750
},
{
"epoch": 2.742300194931774,
"grad_norm": 1.6999280452728271,
"learning_rate": 7.193303921574826e-05,
"loss": 0.35173568725585935,
"step": 1760
},
{
"epoch": 2.7578947368421054,
"grad_norm": 1.6490278244018555,
"learning_rate": 7.111493855124005e-05,
"loss": 0.35942902565002444,
"step": 1770
},
{
"epoch": 2.773489278752437,
"grad_norm": 1.5077413320541382,
"learning_rate": 7.028989914778676e-05,
"loss": 0.3936769485473633,
"step": 1780
},
{
"epoch": 2.789083820662768,
"grad_norm": 1.4755951166152954,
"learning_rate": 6.945819212779902e-05,
"loss": 0.28824803829193113,
"step": 1790
},
{
"epoch": 2.8046783625730995,
"grad_norm": 1.4379676580429077,
"learning_rate": 6.862009080478309e-05,
"loss": 0.3200947046279907,
"step": 1800
},
{
"epoch": 2.8046783625730995,
"eval_loss": 0.5122932195663452,
"eval_runtime": 42.057,
"eval_samples_per_second": 1.546,
"eval_steps_per_second": 1.546,
"step": 1800
},
{
"epoch": 2.820272904483431,
"grad_norm": 1.6538420915603638,
"learning_rate": 6.777587059352534e-05,
"loss": 0.27686893939971924,
"step": 1810
},
{
"epoch": 2.8358674463937623,
"grad_norm": 1.5601935386657715,
"learning_rate": 6.692580891958605e-05,
"loss": 0.2799046516418457,
"step": 1820
},
{
"epoch": 2.8514619883040937,
"grad_norm": 1.5887963771820068,
"learning_rate": 6.607018512813256e-05,
"loss": 0.3325287580490112,
"step": 1830
},
{
"epoch": 2.867056530214425,
"grad_norm": 1.5604578256607056,
"learning_rate": 6.520928039214149e-05,
"loss": 0.29788243770599365,
"step": 1840
},
{
"epoch": 2.8826510721247565,
"grad_norm": 1.6780680418014526,
"learning_rate": 6.434337762000047e-05,
"loss": 0.30277256965637206,
"step": 1850
},
{
"epoch": 2.898245614035088,
"grad_norm": 1.573420763015747,
"learning_rate": 6.347276136253934e-05,
"loss": 0.3197650671005249,
"step": 1860
},
{
"epoch": 2.9138401559454192,
"grad_norm": 1.4558639526367188,
"learning_rate": 6.259771771952191e-05,
"loss": 0.30739479064941405,
"step": 1870
},
{
"epoch": 2.9294346978557506,
"grad_norm": 1.3925409317016602,
"learning_rate": 6.171853424562848e-05,
"loss": 0.3037786245346069,
"step": 1880
},
{
"epoch": 2.945029239766082,
"grad_norm": 1.3018829822540283,
"learning_rate": 6.083549985596032e-05,
"loss": 0.321224570274353,
"step": 1890
},
{
"epoch": 2.9606237816764134,
"grad_norm": 1.3911092281341553,
"learning_rate": 5.9948904731097144e-05,
"loss": 0.2865558385848999,
"step": 1900
},
{
"epoch": 2.9606237816764134,
"eval_loss": 0.49672287702560425,
"eval_runtime": 41.7855,
"eval_samples_per_second": 1.556,
"eval_steps_per_second": 1.556,
"step": 1900
},
{
"epoch": 2.9762183235867448,
"grad_norm": 1.5678582191467285,
"learning_rate": 5.905904022173867e-05,
"loss": 0.2879047870635986,
"step": 1910
},
{
"epoch": 2.991812865497076,
"grad_norm": 1.439042329788208,
"learning_rate": 5.816619875296168e-05,
"loss": 0.2766969442367554,
"step": 1920
},
{
"epoch": 3.0,
"eval_loss": 0.5046437382698059,
"eval_runtime": 41.7142,
"eval_samples_per_second": 1.558,
"eval_steps_per_second": 1.558,
"step": 1926
},
{
"epoch": 3.0,
"step": 1926,
"total_flos": 4.081482139917312e+16,
"train_loss": 0.1847073917943493,
"train_runtime": 3566.7055,
"train_samples_per_second": 2.157,
"train_steps_per_second": 0.54
}
],
"logging_steps": 10,
"max_steps": 1926,
"num_input_tokens_seen": 0,
"num_train_epochs": 3,
"save_steps": 50,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": true
},
"attributes": {}
}
},
"total_flos": 4.081482139917312e+16,
"train_batch_size": 1,
"trial_name": null,
"trial_params": null
}
{
"best_global_step": null,
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 3.0,
"eval_steps": 100,
"global_step": 1926,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.015594541910331383,
"grad_norm": 3.2592740058898926,
"learning_rate": 4.663212435233161e-06,
"loss": 0.9837071418762207,
"step": 10
},
{
"epoch": 0.031189083820662766,
"grad_norm": 2.983515501022339,
"learning_rate": 9.84455958549223e-06,
"loss": 0.8089840888977051,
"step": 20
},
{
"epoch": 0.04678362573099415,
"grad_norm": 3.075035810470581,
"learning_rate": 1.5025906735751296e-05,
"loss": 0.838736629486084,
"step": 30
},
{
"epoch": 0.06237816764132553,
"grad_norm": 2.905017614364624,
"learning_rate": 2.0207253886010365e-05,
"loss": 0.6954585552215576,
"step": 40
},
{
"epoch": 0.07797270955165692,
"grad_norm": 4.330966472625732,
"learning_rate": 2.538860103626943e-05,
"loss": 0.7875439167022705,
"step": 50
},
{
"epoch": 0.0935672514619883,
"grad_norm": 2.6134250164031982,
"learning_rate": 4.663212435233161e-06,
"loss": 0.6752982616424561,
"step": 60
},
{
"epoch": 0.10916179337231968,
"grad_norm": 2.9130735397338867,
"learning_rate": 9.84455958549223e-06,
"loss": 0.7158531665802002,
"step": 70
},
{
"epoch": 0.12475633528265107,
"grad_norm": 3.3468101024627686,
"learning_rate": 1.5025906735751296e-05,
"loss": 0.7874385833740234,
"step": 80
},
{
"epoch": 0.14035087719298245,
"grad_norm": 2.7819600105285645,
"learning_rate": 2.0207253886010365e-05,
"loss": 0.7358914852142334,
"step": 90
},
{
"epoch": 0.15594541910331383,
"grad_norm": 2.511810064315796,
"learning_rate": 2.538860103626943e-05,
"loss": 0.675134801864624,
"step": 100
},
{
"epoch": 0.15594541910331383,
"eval_loss": 0.601254403591156,
"eval_runtime": 39.0154,
"eval_samples_per_second": 1.666,
"eval_steps_per_second": 1.666,
"step": 100
},
{
"epoch": 0.17153996101364521,
"grad_norm": 2.5563814640045166,
"learning_rate": 3.05699481865285e-05,
"loss": 0.6869357585906982,
"step": 110
},
{
"epoch": 0.1871345029239766,
"grad_norm": 3.3722522258758545,
"learning_rate": 3.575129533678757e-05,