Text Generation
Transformers
Safetensors
English
qwen3
text-generation-inference
unsloth
conversational
Instructions to use CompassioninMachineLearning/qwen-urban-web-s2-part1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CompassioninMachineLearning/qwen-urban-web-s2-part1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CompassioninMachineLearning/qwen-urban-web-s2-part1") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CompassioninMachineLearning/qwen-urban-web-s2-part1") model = AutoModelForCausalLM.from_pretrained("CompassioninMachineLearning/qwen-urban-web-s2-part1", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CompassioninMachineLearning/qwen-urban-web-s2-part1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CompassioninMachineLearning/qwen-urban-web-s2-part1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CompassioninMachineLearning/qwen-urban-web-s2-part1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/CompassioninMachineLearning/qwen-urban-web-s2-part1
- SGLang
How to use CompassioninMachineLearning/qwen-urban-web-s2-part1 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 "CompassioninMachineLearning/qwen-urban-web-s2-part1" \ --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": "CompassioninMachineLearning/qwen-urban-web-s2-part1", "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 "CompassioninMachineLearning/qwen-urban-web-s2-part1" \ --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": "CompassioninMachineLearning/qwen-urban-web-s2-part1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use CompassioninMachineLearning/qwen-urban-web-s2-part1 with Docker Model Runner:
docker model run hf.co/CompassioninMachineLearning/qwen-urban-web-s2-part1
Download trainer_state.json from CompassioninMachineLearning/qwen-urban-web-s2-part1: direct link, hf CLI and curl.
- Browser
- Download file 24.9 kB
-
https://huggingface.co/CompassioninMachineLearning/qwen-urban-web-s2-part1/resolve/main/trainer_state.json
- Command line
-
hf download hf://CompassioninMachineLearning/qwen-urban-web-s2-part1/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/CompassioninMachineLearning/qwen-urban-web-s2-part1/resolve/main/trainer_state.json
24.9 kB
{
"best_global_step": 600,
"best_metric": 0.3147194981575012,
"best_model_checkpoint": "/workspace/anchor/qwen-urban-web-s2/train/checkpoint-600",
"epoch": 1.0,
"eval_steps": 50,
"global_step": 615,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.008141664970486465,
"grad_norm": 10.154664993286133,
"learning_rate": 2.5806451612903226e-05,
"loss": 1.1204,
"step": 5
},
{
"epoch": 0.01628332994097293,
"grad_norm": 2.9761838912963867,
"learning_rate": 5.8064516129032266e-05,
"loss": 1.0346,
"step": 10
},
{
"epoch": 0.024424994911459393,
"grad_norm": 2.2110259532928467,
"learning_rate": 9.032258064516129e-05,
"loss": 0.9125,
"step": 15
},
{
"epoch": 0.03256665988194586,
"grad_norm": 2.718717575073242,
"learning_rate": 0.00012258064516129034,
"loss": 0.7253,
"step": 20
},
{
"epoch": 0.04070832485243232,
"grad_norm": 2.8380820751190186,
"learning_rate": 0.00015483870967741937,
"loss": 0.717,
"step": 25
},
{
"epoch": 0.048849989822918785,
"grad_norm": 3.199603796005249,
"learning_rate": 0.0001870967741935484,
"loss": 0.6328,
"step": 30
},
{
"epoch": 0.056991654793405254,
"grad_norm": 5.303256988525391,
"learning_rate": 0.000199986978016549,
"loss": 0.6161,
"step": 35
},
{
"epoch": 0.06513331976389172,
"grad_norm": 4.089313983917236,
"learning_rate": 0.00019990741151022301,
"loss": 0.519,
"step": 40
},
{
"epoch": 0.07327498473437818,
"grad_norm": 5.754499912261963,
"learning_rate": 0.00019975557042268953,
"loss": 0.5647,
"step": 45
},
{
"epoch": 0.08141664970486465,
"grad_norm": 1.886888027191162,
"learning_rate": 0.00019953156459816179,
"loss": 0.5668,
"step": 50
},
{
"epoch": 0.08141664970486465,
"eval_loss": 0.4348202645778656,
"eval_runtime": 153.7765,
"eval_samples_per_second": 1.639,
"eval_steps_per_second": 0.819,
"step": 50
},
{
"epoch": 0.08955831467535111,
"grad_norm": 1.4528993368148804,
"learning_rate": 0.0001992355560859503,
"loss": 0.396,
"step": 55
},
{
"epoch": 0.09769997964583757,
"grad_norm": 1.1896189451217651,
"learning_rate": 0.00019886775902323405,
"loss": 0.4411,
"step": 60
},
{
"epoch": 0.10584164461632403,
"grad_norm": 1.3397138118743896,
"learning_rate": 0.0001984284394801501,
"loss": 0.5057,
"step": 65
},
{
"epoch": 0.11398330958681051,
"grad_norm": 1.4702908992767334,
"learning_rate": 0.00019791791526731445,
"loss": 0.5741,
"step": 70
},
{
"epoch": 0.12212497455729697,
"grad_norm": 1.2144925594329834,
"learning_rate": 0.00019733655570591276,
"loss": 0.5709,
"step": 75
},
{
"epoch": 0.13026663952778345,
"grad_norm": 1.5230516195297241,
"learning_rate": 0.00019668478136052774,
"loss": 0.5396,
"step": 80
},
{
"epoch": 0.1384083044982699,
"grad_norm": 1.398551344871521,
"learning_rate": 0.0001959630637348962,
"loss": 0.5533,
"step": 85
},
{
"epoch": 0.14654996946875637,
"grad_norm": 1.4268666505813599,
"learning_rate": 0.00019517192493081565,
"loss": 0.5008,
"step": 90
},
{
"epoch": 0.15469163443924283,
"grad_norm": 1.3065791130065918,
"learning_rate": 0.00019431193727044796,
"loss": 0.4195,
"step": 95
},
{
"epoch": 0.1628332994097293,
"grad_norm": 1.1746841669082642,
"learning_rate": 0.0001933837228822925,
"loss": 0.4054,
"step": 100
},
{
"epoch": 0.1628332994097293,
"eval_loss": 0.3612261116504669,
"eval_runtime": 79.0234,
"eval_samples_per_second": 3.189,
"eval_steps_per_second": 1.594,
"step": 100
},
{
"epoch": 0.17097496438021575,
"grad_norm": 0.9777562022209167,
"learning_rate": 0.0001923879532511287,
"loss": 0.4807,
"step": 105
},
{
"epoch": 0.17911662935070222,
"grad_norm": 1.2403600215911865,
"learning_rate": 0.00019132534873225323,
"loss": 0.4373,
"step": 110
},
{
"epoch": 0.18725829432118868,
"grad_norm": 1.4193958044052124,
"learning_rate": 0.00019019667803036417,
"loss": 0.4245,
"step": 115
},
{
"epoch": 0.19539995929167514,
"grad_norm": 1.2151850461959839,
"learning_rate": 0.00018900275764346768,
"loss": 0.4768,
"step": 120
},
{
"epoch": 0.2035416242621616,
"grad_norm": 1.170545220375061,
"learning_rate": 0.0001877444512722107,
"loss": 0.4675,
"step": 125
},
{
"epoch": 0.21168328923264806,
"grad_norm": 0.8469924926757812,
"learning_rate": 0.00018642266919506644,
"loss": 0.2849,
"step": 130
},
{
"epoch": 0.21982495420313455,
"grad_norm": 0.7556122541427612,
"learning_rate": 0.00018503836760982477,
"loss": 0.3544,
"step": 135
},
{
"epoch": 0.22796661917362102,
"grad_norm": 1.4850157499313354,
"learning_rate": 0.0001835925479418637,
"loss": 0.5866,
"step": 140
},
{
"epoch": 0.23610828414410748,
"grad_norm": 1.1573476791381836,
"learning_rate": 0.00018208625611970268,
"loss": 0.444,
"step": 145
},
{
"epoch": 0.24424994911459394,
"grad_norm": 1.0607483386993408,
"learning_rate": 0.00018052058181836151,
"loss": 0.4512,
"step": 150
},
{
"epoch": 0.24424994911459394,
"eval_loss": 0.346848726272583,
"eval_runtime": 81.7863,
"eval_samples_per_second": 3.081,
"eval_steps_per_second": 1.541,
"step": 150
},
{
"epoch": 0.2523916140850804,
"grad_norm": 0.9113737940788269,
"learning_rate": 0.00017889665767107266,
"loss": 0.4459,
"step": 155
},
{
"epoch": 0.2605332790555669,
"grad_norm": 0.9266340732574463,
"learning_rate": 0.00017721565844991643,
"loss": 0.3936,
"step": 160
},
{
"epoch": 0.26867494402605335,
"grad_norm": 1.0426251888275146,
"learning_rate": 0.00017547880021597255,
"loss": 0.3918,
"step": 165
},
{
"epoch": 0.2768166089965398,
"grad_norm": 1.3487037420272827,
"learning_rate": 0.00017368733943960276,
"loss": 0.3857,
"step": 170
},
{
"epoch": 0.2849582739670263,
"grad_norm": 1.1228007078170776,
"learning_rate": 0.00017184257209150027,
"loss": 0.3651,
"step": 175
},
{
"epoch": 0.29309993893751274,
"grad_norm": 1.21975576877594,
"learning_rate": 0.0001699458327051647,
"loss": 0.5068,
"step": 180
},
{
"epoch": 0.3012416039079992,
"grad_norm": 1.1773332357406616,
"learning_rate": 0.00016799849341147939,
"loss": 0.3679,
"step": 185
},
{
"epoch": 0.30938326887848566,
"grad_norm": 1.2317441701889038,
"learning_rate": 0.00016600196294609045,
"loss": 0.6347,
"step": 190
},
{
"epoch": 0.3175249338489721,
"grad_norm": 1.2935057878494263,
"learning_rate": 0.00016395768563030584,
"loss": 0.3901,
"step": 195
},
{
"epoch": 0.3256665988194586,
"grad_norm": 1.04167640209198,
"learning_rate": 0.00016186714032625035,
"loss": 0.2932,
"step": 200
},
{
"epoch": 0.3256665988194586,
"eval_loss": 0.33891913294792175,
"eval_runtime": 79.7664,
"eval_samples_per_second": 3.159,
"eval_steps_per_second": 1.58,
"step": 200
},
{
"epoch": 0.33380826378994505,
"grad_norm": 1.2018567323684692,
"learning_rate": 0.0001597318393670338,
"loss": 0.4432,
"step": 205
},
{
"epoch": 0.3419499287604315,
"grad_norm": 1.3074322938919067,
"learning_rate": 0.00015755332746270572,
"loss": 0.3443,
"step": 210
},
{
"epoch": 0.35009159373091797,
"grad_norm": 0.9817043542861938,
"learning_rate": 0.00015533318058278786,
"loss": 0.4296,
"step": 215
},
{
"epoch": 0.35823325870140443,
"grad_norm": 1.122510313987732,
"learning_rate": 0.00015307300481619333,
"loss": 0.5304,
"step": 220
},
{
"epoch": 0.3663749236718909,
"grad_norm": 0.8790162205696106,
"learning_rate": 0.0001507744352093569,
"loss": 0.4213,
"step": 225
},
{
"epoch": 0.37451658864237736,
"grad_norm": 1.1436272859573364,
"learning_rate": 0.00014843913458341645,
"loss": 0.4784,
"step": 230
},
{
"epoch": 0.3826582536128638,
"grad_norm": 1.135238528251648,
"learning_rate": 0.00014606879233130293,
"loss": 0.4618,
"step": 235
},
{
"epoch": 0.3907999185833503,
"grad_norm": 0.8680769205093384,
"learning_rate": 0.0001436651231956064,
"loss": 0.4157,
"step": 240
},
{
"epoch": 0.39894158355383674,
"grad_norm": 1.0127558708190918,
"learning_rate": 0.00014122986602810487,
"loss": 0.4257,
"step": 245
},
{
"epoch": 0.4070832485243232,
"grad_norm": 1.292712688446045,
"learning_rate": 0.00013876478253185183,
"loss": 0.4312,
"step": 250
},
{
"epoch": 0.4070832485243232,
"eval_loss": 0.3352200984954834,
"eval_runtime": 80.0218,
"eval_samples_per_second": 3.149,
"eval_steps_per_second": 1.575,
"step": 250
},
{
"epoch": 0.41522491349480967,
"grad_norm": 0.6826459169387817,
"learning_rate": 0.00013627165598673247,
"loss": 0.3364,
"step": 255
},
{
"epoch": 0.42336657846529613,
"grad_norm": 1.2165040969848633,
"learning_rate": 0.00013375228995941133,
"loss": 0.3499,
"step": 260
},
{
"epoch": 0.4315082434357826,
"grad_norm": 0.9810894727706909,
"learning_rate": 0.00013120850699860416,
"loss": 0.4239,
"step": 265
},
{
"epoch": 0.4396499084062691,
"grad_norm": 1.1905356645584106,
"learning_rate": 0.00012864214731661742,
"loss": 0.4437,
"step": 270
},
{
"epoch": 0.44779157337675557,
"grad_norm": 0.941133439540863,
"learning_rate": 0.0001260550674581103,
"loss": 0.4017,
"step": 275
},
{
"epoch": 0.45593323834724203,
"grad_norm": 1.4106330871582031,
"learning_rate": 0.00012344913895704097,
"loss": 0.4557,
"step": 280
},
{
"epoch": 0.4640749033177285,
"grad_norm": 1.1204403638839722,
"learning_rate": 0.00012082624698277005,
"loss": 0.3534,
"step": 285
},
{
"epoch": 0.47221656828821496,
"grad_norm": 0.9434982538223267,
"learning_rate": 0.0001181882889762994,
"loss": 0.3906,
"step": 290
},
{
"epoch": 0.4803582332587014,
"grad_norm": 1.380008578300476,
"learning_rate": 0.00011553717327763385,
"loss": 0.4715,
"step": 295
},
{
"epoch": 0.4884998982291879,
"grad_norm": 1.3397387266159058,
"learning_rate": 0.0001128748177452581,
"loss": 0.3893,
"step": 300
},
{
"epoch": 0.4884998982291879,
"eval_loss": 0.3291310966014862,
"eval_runtime": 79.5858,
"eval_samples_per_second": 3.166,
"eval_steps_per_second": 1.583,
"step": 300
},
{
"epoch": 0.49664156319967434,
"grad_norm": 1.0982718467712402,
"learning_rate": 0.00011020314836872811,
"loss": 0.4464,
"step": 305
},
{
"epoch": 0.5047832281701607,
"grad_norm": 1.1350313425064087,
"learning_rate": 0.00010752409787538,
"loss": 0.4051,
"step": 310
},
{
"epoch": 0.5129248931406473,
"grad_norm": 0.8403461575508118,
"learning_rate": 0.00010483960433216522,
"loss": 0.3556,
"step": 315
},
{
"epoch": 0.5210665581111338,
"grad_norm": 1.0640802383422852,
"learning_rate": 0.00010215160974362223,
"loss": 0.448,
"step": 320
},
{
"epoch": 0.5292082230816202,
"grad_norm": 0.6836043000221252,
"learning_rate": 9.946205864700052e-05,
"loss": 0.3216,
"step": 325
},
{
"epoch": 0.5373498880521067,
"grad_norm": 1.072102427482605,
"learning_rate": 9.677289670555169e-05,
"loss": 0.4654,
"step": 330
},
{
"epoch": 0.5454915530225931,
"grad_norm": 1.2163032293319702,
"learning_rate": 9.408606930100654e-05,
"loss": 0.4507,
"step": 335
},
{
"epoch": 0.5536332179930796,
"grad_norm": 0.8760249018669128,
"learning_rate": 9.140352012625537e-05,
"loss": 0.4583,
"step": 340
},
{
"epoch": 0.561774882963566,
"grad_norm": 1.0469913482666016,
"learning_rate": 8.872718977925022e-05,
"loss": 0.479,
"step": 345
},
{
"epoch": 0.5699165479340526,
"grad_norm": 1.1722761392593384,
"learning_rate": 8.605901435914607e-05,
"loss": 0.4192,
"step": 350
},
{
"epoch": 0.5699165479340526,
"eval_loss": 0.3248186409473419,
"eval_runtime": 80.6333,
"eval_samples_per_second": 3.125,
"eval_steps_per_second": 1.563,
"step": 350
},
{
"epoch": 0.578058212904539,
"grad_norm": 0.9278985261917114,
"learning_rate": 8.340092406569649e-05,
"loss": 0.4183,
"step": 355
},
{
"epoch": 0.5861998778750255,
"grad_norm": 1.1984652280807495,
"learning_rate": 8.075484180291701e-05,
"loss": 0.4593,
"step": 360
},
{
"epoch": 0.5943415428455119,
"grad_norm": 1.1582732200622559,
"learning_rate": 7.812268178802626e-05,
"loss": 0.3826,
"step": 365
},
{
"epoch": 0.6024832078159984,
"grad_norm": 1.0336806774139404,
"learning_rate": 7.550634816667142e-05,
"loss": 0.4154,
"step": 370
},
{
"epoch": 0.6106248727864848,
"grad_norm": 1.2845818996429443,
"learning_rate": 7.290773363543945e-05,
"loss": 0.5094,
"step": 375
},
{
"epoch": 0.6187665377569713,
"grad_norm": 0.5407371520996094,
"learning_rate": 7.032871807265096e-05,
"loss": 0.3621,
"step": 380
},
{
"epoch": 0.6269082027274577,
"grad_norm": 1.110310435295105,
"learning_rate": 6.777116717842686e-05,
"loss": 0.3853,
"step": 385
},
{
"epoch": 0.6350498676979442,
"grad_norm": 0.6497693061828613,
"learning_rate": 6.52369311250116e-05,
"loss": 0.4734,
"step": 390
},
{
"epoch": 0.6431915326684307,
"grad_norm": 0.815845787525177,
"learning_rate": 6.27278432183299e-05,
"loss": 0.3682,
"step": 395
},
{
"epoch": 0.6513331976389172,
"grad_norm": 0.9799102544784546,
"learning_rate": 6.024571857174443e-05,
"loss": 0.3643,
"step": 400
},
{
"epoch": 0.6513331976389172,
"eval_loss": 0.32180356979370117,
"eval_runtime": 79.3182,
"eval_samples_per_second": 3.177,
"eval_steps_per_second": 1.589,
"step": 400
},
{
"epoch": 0.6594748626094036,
"grad_norm": 1.1331583261489868,
"learning_rate": 5.779235279297467e-05,
"loss": 0.4904,
"step": 405
},
{
"epoch": 0.6676165275798901,
"grad_norm": 0.7831456661224365,
"learning_rate": 5.536952068512608e-05,
"loss": 0.2467,
"step": 410
},
{
"epoch": 0.6757581925503765,
"grad_norm": 0.8197734951972961,
"learning_rate": 5.2978974962769975e-05,
"loss": 0.3775,
"step": 415
},
{
"epoch": 0.683899857520863,
"grad_norm": 0.975570023059845,
"learning_rate": 5.062244498400228e-05,
"loss": 0.3968,
"step": 420
},
{
"epoch": 0.6920415224913494,
"grad_norm": 1.2148966789245605,
"learning_rate": 4.830163549939899e-05,
"loss": 0.4029,
"step": 425
},
{
"epoch": 0.7001831874618359,
"grad_norm": 1.047930121421814,
"learning_rate": 4.601822541877291e-05,
"loss": 0.4543,
"step": 430
},
{
"epoch": 0.7083248524323225,
"grad_norm": 1.1294184923171997,
"learning_rate": 4.377386659662425e-05,
"loss": 0.3624,
"step": 435
},
{
"epoch": 0.7164665174028089,
"grad_norm": 0.7309000492095947,
"learning_rate": 4.1570182637163155e-05,
"loss": 0.2948,
"step": 440
},
{
"epoch": 0.7246081823732954,
"grad_norm": 1.2071763277053833,
"learning_rate": 3.940876771976904e-05,
"loss": 0.3645,
"step": 445
},
{
"epoch": 0.7327498473437818,
"grad_norm": 1.0243498086929321,
"learning_rate": 3.7291185445736444e-05,
"loss": 0.2973,
"step": 450
},
{
"epoch": 0.7327498473437818,
"eval_loss": 0.31861987709999084,
"eval_runtime": 79.9351,
"eval_samples_per_second": 3.153,
"eval_steps_per_second": 1.576,
"step": 450
},
{
"epoch": 0.7408915123142683,
"grad_norm": 0.8057029843330383,
"learning_rate": 3.5218967707141335e-05,
"loss": 0.2552,
"step": 455
},
{
"epoch": 0.7490331772847547,
"grad_norm": 1.1411980390548706,
"learning_rate": 3.319361357864663e-05,
"loss": 0.4284,
"step": 460
},
{
"epoch": 0.7571748422552412,
"grad_norm": 0.7014278769493103,
"learning_rate": 3.121658823304806e-05,
"loss": 0.1957,
"step": 465
},
{
"epoch": 0.7653165072257276,
"grad_norm": 0.9850432276725769,
"learning_rate": 2.9289321881345254e-05,
"loss": 0.4305,
"step": 470
},
{
"epoch": 0.7734581721962142,
"grad_norm": 0.650794506072998,
"learning_rate": 2.7413208738104868e-05,
"loss": 0.3449,
"step": 475
},
{
"epoch": 0.7815998371667006,
"grad_norm": 1.2900885343551636,
"learning_rate": 2.5589606012863963e-05,
"loss": 0.5388,
"step": 480
},
{
"epoch": 0.7897415021371871,
"grad_norm": 1.3587422370910645,
"learning_rate": 2.381983292830343e-05,
"loss": 0.3543,
"step": 485
},
{
"epoch": 0.7978831671076735,
"grad_norm": 1.0883127450942993,
"learning_rate": 2.210516976590179e-05,
"loss": 0.451,
"step": 490
},
{
"epoch": 0.80602483207816,
"grad_norm": 1.2902371883392334,
"learning_rate": 2.0446856939759472e-05,
"loss": 0.4936,
"step": 495
},
{
"epoch": 0.8141664970486464,
"grad_norm": 0.5955605506896973,
"learning_rate": 1.8846094099263912e-05,
"loss": 0.2963,
"step": 500
},
{
"epoch": 0.8141664970486464,
"eval_loss": 0.3161403238773346,
"eval_runtime": 81.1547,
"eval_samples_per_second": 3.105,
"eval_steps_per_second": 1.553,
"step": 500
},
{
"epoch": 0.8223081620191329,
"grad_norm": 1.0484590530395508,
"learning_rate": 1.73040392612445e-05,
"loss": 0.4503,
"step": 505
},
{
"epoch": 0.8304498269896193,
"grad_norm": 0.6583780646324158,
"learning_rate": 1.582180797224507e-05,
"loss": 0.4281,
"step": 510
},
{
"epoch": 0.8385914919601059,
"grad_norm": 1.1119768619537354,
"learning_rate": 1.4400472501520223e-05,
"loss": 0.3732,
"step": 515
},
{
"epoch": 0.8467331569305923,
"grad_norm": 0.8957198262214661,
"learning_rate": 1.30410610653389e-05,
"loss": 0.3686,
"step": 520
},
{
"epoch": 0.8548748219010788,
"grad_norm": 1.227582335472107,
"learning_rate": 1.1744557083156704e-05,
"loss": 0.509,
"step": 525
},
{
"epoch": 0.8630164868715652,
"grad_norm": 1.0229661464691162,
"learning_rate": 1.0511898466194903e-05,
"loss": 0.4329,
"step": 530
},
{
"epoch": 0.8711581518420517,
"grad_norm": 1.1285821199417114,
"learning_rate": 9.343976938940869e-06,
"loss": 0.4727,
"step": 535
},
{
"epoch": 0.8792998168125382,
"grad_norm": 1.1490429639816284,
"learning_rate": 8.24163739406062e-06,
"loss": 0.4416,
"step": 540
},
{
"epoch": 0.8874414817830246,
"grad_norm": 1.0708853006362915,
"learning_rate": 7.205677281190304e-06,
"loss": 0.3975,
"step": 545
},
{
"epoch": 0.8955831467535111,
"grad_norm": 0.9681727290153503,
"learning_rate": 6.236846030048604e-06,
"loss": 0.3566,
"step": 550
},
{
"epoch": 0.8955831467535111,
"eval_loss": 0.3148389458656311,
"eval_runtime": 80.5988,
"eval_samples_per_second": 3.127,
"eval_steps_per_second": 1.563,
"step": 550
},
{
"epoch": 0.9037248117239975,
"grad_norm": 0.8696555495262146,
"learning_rate": 5.335844508287679e-06,
"loss": 0.3692,
"step": 555
},
{
"epoch": 0.9118664766944841,
"grad_norm": 0.7583760619163513,
"learning_rate": 4.503324514474483e-06,
"loss": 0.451,
"step": 560
},
{
"epoch": 0.9200081416649705,
"grad_norm": 0.9645670652389526,
"learning_rate": 3.739888306569572e-06,
"loss": 0.3111,
"step": 565
},
{
"epoch": 0.928149806635457,
"grad_norm": 0.5604731440544128,
"learning_rate": 3.0460881662442763e-06,
"loss": 0.2495,
"step": 570
},
{
"epoch": 0.9362914716059434,
"grad_norm": 0.6093286871910095,
"learning_rate": 2.422425999351463e-06,
"loss": 0.4519,
"step": 575
},
{
"epoch": 0.9444331365764299,
"grad_norm": 1.1570727825164795,
"learning_rate": 1.869352972839067e-06,
"loss": 0.3194,
"step": 580
},
{
"epoch": 0.9525748015469163,
"grad_norm": 1.1988884210586548,
"learning_rate": 1.387269188368867e-06,
"loss": 0.5837,
"step": 585
},
{
"epoch": 0.9607164665174028,
"grad_norm": 0.6463776230812073,
"learning_rate": 9.765233928766493e-07,
"loss": 0.3789,
"step": 590
},
{
"epoch": 0.9688581314878892,
"grad_norm": 0.7295213341712952,
"learning_rate": 6.374127262833484e-07,
"loss": 0.3646,
"step": 595
},
{
"epoch": 0.9769997964583758,
"grad_norm": 1.0808098316192627,
"learning_rate": 3.701825065392184e-07,
"loss": 0.3759,
"step": 600
},
{
"epoch": 0.9769997964583758,
"eval_loss": 0.3147194981575012,
"eval_runtime": 80.1804,
"eval_samples_per_second": 3.143,
"eval_steps_per_second": 1.571,
"step": 600
},
{
"epoch": 0.9851414614288622,
"grad_norm": 0.9070320725440979,
"learning_rate": 1.7502605215715672e-07,
"loss": 0.4446,
"step": 605
},
{
"epoch": 0.9932831263993487,
"grad_norm": 0.6790985465049744,
"learning_rate": 5.208454236296234e-08,
"loss": 0.3062,
"step": 610
},
{
"epoch": 1.0,
"grad_norm": 2.5086488723754883,
"learning_rate": 1.4469149641538337e-09,
"loss": 0.4378,
"step": 615
}
],
"logging_steps": 5,
"max_steps": 615,
"num_input_tokens_seen": 0,
"num_train_epochs": 1,
"save_steps": 100,
"stateful_callbacks": {
"EarlyStoppingCallback": {
"args": {
"early_stopping_patience": 2,
"early_stopping_threshold": 0.001
},
"attributes": {
"early_stopping_patience_counter": 1
}
},
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": true
},
"attributes": {}
}
},
"total_flos": 2.5368534449016545e+18,
"train_batch_size": 2,
"trial_name": null,
"trial_params": null
}
{
"best_global_step": 600,
"best_metric": 0.3147194981575012,
"best_model_checkpoint": "/workspace/anchor/qwen-urban-web-s2/train/checkpoint-600",
"epoch": 1.0,
"eval_steps": 50,
"global_step": 615,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.008141664970486465,
"grad_norm": 10.154664993286133,
"learning_rate": 2.5806451612903226e-05,
"loss": 1.1204,
"step": 5
},
{
"epoch": 0.01628332994097293,
"grad_norm": 2.9761838912963867,
"learning_rate": 5.8064516129032266e-05,
"loss": 1.0346,
"step": 10
},
{
"epoch": 0.024424994911459393,
"grad_norm": 2.2110259532928467,
"learning_rate": 9.032258064516129e-05,
"loss": 0.9125,
"step": 15
},
{
"epoch": 0.03256665988194586,
"grad_norm": 2.718717575073242,
"learning_rate": 0.00012258064516129034,
"loss": 0.7253,
"step": 20
},
{
"epoch": 0.04070832485243232,
"grad_norm": 2.8380820751190186,
"learning_rate": 0.00015483870967741937,
"loss": 0.717,
"step": 25
},
{
"epoch": 0.048849989822918785,
"grad_norm": 3.199603796005249,
"learning_rate": 0.0001870967741935484,
"loss": 0.6328,
"step": 30
},
{
"epoch": 0.056991654793405254,
"grad_norm": 5.303256988525391,
"learning_rate": 0.000199986978016549,
"loss": 0.6161,
"step": 35
},
{
"epoch": 0.06513331976389172,
"grad_norm": 4.089313983917236,
"learning_rate": 0.00019990741151022301,
"loss": 0.519,
"step": 40
},
{
"epoch": 0.07327498473437818,
"grad_norm": 5.754499912261963,
"learning_rate": 0.00019975557042268953,
"loss": 0.5647,
"step": 45
},
{
"epoch": 0.08141664970486465,
"grad_norm": 1.886888027191162,
"learning_rate": 0.00019953156459816179,
"loss": 0.5668,
"step": 50
},
{
"epoch": 0.08141664970486465,
"eval_loss": 0.4348202645778656,
"eval_runtime": 153.7765,
"eval_samples_per_second": 1.639,
"eval_steps_per_second": 0.819,
"step": 50
},
{
"epoch": 0.08955831467535111,
"grad_norm": 1.4528993368148804,
"learning_rate": 0.0001992355560859503,
"loss": 0.396,
"step": 55
},
{
"epoch": 0.09769997964583757,
"grad_norm": 1.1896189451217651,
"learning_rate": 0.00019886775902323405,