Instructions to use Wilsonwin/checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Wilsonwin/checkpoints with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Wilsonwin/checkpoints")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Wilsonwin/checkpoints") model = AutoModelForCausalLM.from_pretrained("Wilsonwin/checkpoints", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Wilsonwin/checkpoints with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Wilsonwin/checkpoints" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Wilsonwin/checkpoints", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Wilsonwin/checkpoints
- SGLang
How to use Wilsonwin/checkpoints 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 "Wilsonwin/checkpoints" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Wilsonwin/checkpoints", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "Wilsonwin/checkpoints" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Wilsonwin/checkpoints", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Wilsonwin/checkpoints with Docker Model Runner:
docker model run hf.co/Wilsonwin/checkpoints
Training in progress, step 1000, checkpoint
Browse filesFiles changed (5)
123version https://git-lfs.github.com/spec/v1oid sha256:87ff9a10f70d200b2c856dee103d85c0b4769807377164ae058876c9b2f8cdf4size 328277848123version https://git-lfs.github.com/spec/v1oid sha256:a6e3a61755ce1ee753f0e8d104d120e50755452bd8cbf6e05ff0a62e9faa8d42size 328277848
123version https://git-lfs.github.com/spec/v1oid sha256:c3e3d47782f2acc46ebaf4d2a3bfa3f0989afdba6a7eed3d7d950f2b764c9119size 318646859123version https://git-lfs.github.com/spec/v1oid sha256:91744d22093227f73ff956561d21826bda5cf09b77b7d63e333247291b5a2ff3size 318646859
123version https://git-lfs.github.com/spec/v1oid sha256:4a9464afe392ee166598218bbc5440e93bb5f6227028ba0c26fc8e4fdcf73ae8size 14645123version https://git-lfs.github.com/spec/v1oid sha256:577f0b7cee8114520712167e366c7fd1da45e6cc96d21bb243dccf2193c0d60fsize 14645
123version https://git-lfs.github.com/spec/v1oid sha256:1d6f69db244377919464a655cd8dc38a3ecd36738e8ab7fd789261995d39f57asize 1465123version https://git-lfs.github.com/spec/v1oid sha256:641712abd35039f810da46b5ecace55e8c31f5b5a7d2cfa0aaa8182597f8aad6size 1465
1 unmodified line2345678910362 unmodified lines37337437537637737813 unmodified lines3923933943953963973981 unmodified line"best_global_step": null,"best_metric": null,"best_model_checkpoint": null,"epoch": 0.08447372867038351,"eval_steps": 500,"global_step": 500,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,362 unmodified lines"eval_samples_per_second": 116.708,"eval_steps_per_second": 2.451,"step": 500}],"logging_steps": 10,13 unmodified lines"attributes": {}}},"total_flos": 1.6722841042944e+16,"train_batch_size": 48,"trial_name": null,"trial_params": null1 unmodified line2345678910362 unmodified lines37337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573613 unmodified lines7507517527537547557561 unmodified line"best_global_step": null,"best_metric": null,"best_model_checkpoint": null,"epoch": 0.16894745734076702,"eval_steps": 500,"global_step": 1000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,362 unmodified lines"eval_samples_per_second": 116.708,"eval_steps_per_second": 2.451,"step": 500},{"epoch": 0.08616320324379118,"grad_norm": 0.7771898508071899,"learning_rate": 7.635e-05,"loss": 7.393017578125,"step": 510},{"epoch": 0.08785267781719885,"grad_norm": 0.5564572811126709,"learning_rate": 7.785e-05,"loss": 7.3636009216308596,"step": 520},{"epoch": 0.08954215239060652,"grad_norm": 0.5228703022003174,"learning_rate": 7.934999999999999e-05,"loss": 7.33685073852539,"step": 530},{"epoch": 0.0912316269640142,"grad_norm": 0.8311993479728699,"learning_rate": 8.085e-05,"loss": 7.2986083984375,"step": 540},{"epoch": 0.09292110153742186,"grad_norm": 0.7295158505439758,"learning_rate": 8.235e-05,"loss": 7.309038543701172,"step": 550},{"epoch": 0.09461057611082953,"grad_norm": 0.7679043412208557,"learning_rate": 8.385e-05,"loss": 7.274485015869141,"step": 560},{"epoch": 0.0963000506842372,"grad_norm": 0.6973268389701843,"learning_rate": 8.534999999999999e-05,"loss": 7.272534942626953,"step": 570},{"epoch": 0.09798952525764487,"grad_norm": 0.5742895007133484,"learning_rate": 8.684999999999998e-05,"loss": 7.2565864562988285,"step": 580},{"epoch": 0.09967899983105254,"grad_norm": 0.820361316204071,"learning_rate": 8.834999999999999e-05,"loss": 7.229536437988282,"step": 590},{"epoch": 0.10136847440446022,"grad_norm": 0.7243834733963013,"learning_rate": 8.984999999999999e-05,"loss": 7.2052772521972654,"step": 600},{"epoch": 0.10305794897786788,"grad_norm": 0.6259952187538147,"learning_rate": 9.134999999999998e-05,"loss": 7.208747863769531,"step": 610},{"epoch": 0.10474742355127556,"grad_norm": 0.6420820951461792,"learning_rate": 9.285e-05,"loss": 7.16771240234375,"step": 620},{"epoch": 0.10643689812468322,"grad_norm": 0.6610616445541382,"learning_rate": 9.434999999999999e-05,"loss": 7.163240051269531,"step": 630},{"epoch": 0.10812637269809089,"grad_norm": 0.9573401212692261,"learning_rate": 9.585e-05,"loss": 7.147833251953125,"step": 640},{"epoch": 0.10981584727149857,"grad_norm": 0.771244466304779,"learning_rate": 9.735e-05,"loss": 7.108192443847656,"step": 650},{"epoch": 0.11150532184490623,"grad_norm": 0.8439337611198425,"learning_rate": 9.884999999999999e-05,"loss": 7.119499206542969,"step": 660},{"epoch": 0.1131947964183139,"grad_norm": 0.8653160333633423,"learning_rate": 0.00010035,"loss": 7.084934234619141,"step": 670},{"epoch": 0.11488427099172158,"grad_norm": 0.9962228536605835,"learning_rate": 0.00010185,"loss": 7.0695549011230465,"step": 680},{"epoch": 0.11657374556512924,"grad_norm": 0.9841294288635254,"learning_rate": 0.00010334999999999998,"loss": 7.0598899841308596,"step": 690},{"epoch": 0.11826322013853692,"grad_norm": 0.8194125890731812,"learning_rate": 0.00010484999999999999,"loss": 7.0336753845214846,"step": 700},{"epoch": 0.11995269471194459,"grad_norm": 1.038486123085022,"learning_rate": 0.00010634999999999998,"loss": 7.024503326416015,"step": 710},{"epoch": 0.12164216928535225,"grad_norm": 0.8891283273696899,"learning_rate": 0.00010784999999999999,"loss": 6.99432601928711,"step": 720},{"epoch": 0.12333164385875993,"grad_norm": 0.8836078643798828,"learning_rate": 0.00010934999999999999,"loss": 6.993320465087891,"step": 730},{"epoch": 0.1250211184321676,"grad_norm": 1.1054128408432007,"learning_rate": 0.00011084999999999998,"loss": 6.96356201171875,"step": 740},{"epoch": 0.12671059300557527,"grad_norm": 0.7598650455474854,"learning_rate": 0.00011235,"loss": 6.965660095214844,"step": 750},{"epoch": 0.12840006757898292,"grad_norm": 0.7678954005241394,"learning_rate": 0.00011384999999999999,"loss": 6.939690399169922,"step": 760},{"epoch": 0.1300895421523906,"grad_norm": 0.9568160772323608,"learning_rate": 0.00011535,"loss": 6.922018432617188,"step": 770},{"epoch": 0.13177901672579828,"grad_norm": 0.853614330291748,"learning_rate": 0.00011685,"loss": 6.915154266357422,"step": 780},{"epoch": 0.13346849129920596,"grad_norm": 1.0338886976242065,"learning_rate": 0.00011834999999999999,"loss": 6.894224548339844,"step": 790},{"epoch": 0.1351579658726136,"grad_norm": 1.0952171087265015,"learning_rate": 0.00011985,"loss": 6.892420959472656,"step": 800},{"epoch": 0.1368474404460213,"grad_norm": 1.3561885356903076,"learning_rate": 0.00012135,"loss": 6.864668273925782,"step": 810},{"epoch": 0.13853691501942897,"grad_norm": 0.9499754309654236,"learning_rate": 0.00012284999999999998,"loss": 6.874826049804687,"step": 820},{"epoch": 0.14022638959283662,"grad_norm": 0.8440932035446167,"learning_rate": 0.00012435,"loss": 6.846308898925781,"step": 830},{"epoch": 0.1419158641662443,"grad_norm": 0.8613818883895874,"learning_rate": 0.00012585,"loss": 6.831328582763672,"step": 840},{"epoch": 0.14360533873965198,"grad_norm": 0.9079796075820923,"learning_rate": 0.00012734999999999998,"loss": 6.828762054443359,"step": 850},{"epoch": 0.14529481331305963,"grad_norm": 0.9620388150215149,"learning_rate": 0.00012885,"loss": 6.814015197753906,"step": 860},{"epoch": 0.1469842878864673,"grad_norm": 0.937064528465271,"learning_rate": 0.00013035,"loss": 6.802629852294922,"step": 870},{"epoch": 0.148673762459875,"grad_norm": 0.915363609790802,"learning_rate": 0.00013184999999999998,"loss": 6.805186462402344,"step": 880},{"epoch": 0.15036323703328264,"grad_norm": 0.9192573428153992,"learning_rate": 0.00013335,"loss": 6.74979248046875,"step": 890},{"epoch": 0.15205271160669032,"grad_norm": 1.0629407167434692,"learning_rate": 0.00013485,"loss": 6.771487426757813,"step": 900},{"epoch": 0.153742186180098,"grad_norm": 1.3261147737503052,"learning_rate": 0.00013634999999999998,"loss": 6.740608978271484,"step": 910},{"epoch": 0.15543166075350565,"grad_norm": 1.0575299263000488,"learning_rate": 0.00013785,"loss": 6.7410430908203125,"step": 920},{"epoch": 0.15712113532691332,"grad_norm": 1.2365992069244385,"learning_rate": 0.00013935,"loss": 6.7108512878417965,"step": 930},{"epoch": 0.158810609900321,"grad_norm": 1.1486926078796387,"learning_rate": 0.00014084999999999998,"loss": 6.697355651855469,"step": 940},{"epoch": 0.16050008447372868,"grad_norm": 1.2013252973556519,"learning_rate": 0.00014235,"loss": 6.674120330810547,"step": 950},{"epoch": 0.16218955904713633,"grad_norm": 1.2197651863098145,"learning_rate": 0.00014384999999999997,"loss": 6.670748138427735,"step": 960},{"epoch": 0.163879033620544,"grad_norm": 1.031817078590393,"learning_rate": 0.00014534999999999998,"loss": 6.645486450195312,"step": 970},{"epoch": 0.1655685081939517,"grad_norm": 1.0909827947616577,"learning_rate": 0.00014685,"loss": 6.659033203125,"step": 980},{"epoch": 0.16725798276735934,"grad_norm": 0.9495222568511963,"learning_rate": 0.00014834999999999997,"loss": 6.633167266845703,"step": 990},{"epoch": 0.16894745734076702,"grad_norm": 1.0306235551834106,"learning_rate": 0.00014984999999999998,"loss": 6.637188720703125,"step": 1000},{"epoch": 0.16894745734076702,"eval_loss": 6.614048957824707,"eval_runtime": 3.666,"eval_samples_per_second": 272.774,"eval_steps_per_second": 5.728,"step": 1000}],"logging_steps": 10,13 unmodified lines"attributes": {}}},"total_flos": 3.3445682085888e+16,"train_batch_size": 48,"trial_name": null,"trial_params": null
last-checkpoint/model.safetensors+1-1
last-checkpoint/optimizer.pt+1-1
last-checkpoint/rng_state.pth+1-1
last-checkpoint/scheduler.pt+1-1
last-checkpoint/trainer_state.json+361-3