Run this model with HF Jobs

Run KexuanShi/sft_gemma2_2b_code_layerdrop_p010 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/KexuanShi/sft_gemma2_2b_code_layerdrop_p010. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/KexuanShi/sft_gemma2_2b_code_layerdrop_p010 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/KexuanShi/sft_gemma2_2b_code_layerdrop_p010. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/KexuanShi/sft_gemma2_2b_code_layerdrop_p010. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
KexuanShi's picture
Upload checkpoint-189
921fbe2 verified
Raw History Blame Contribute Delete
6.03 kB
{
"best_global_step": null,
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 1.0,
"eval_steps": 500,
"global_step": 189,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"entropy": 1.7671512730419636,
"epoch": 0.05291005291005291,
"grad_norm": 14.8125,
"learning_rate": 3.2142857142857147e-06,
"loss": 1.706784439086914,
"mean_token_accuracy": 0.6392517775297165,
"num_tokens": 710093.0,
"step": 10
},
{
"entropy": 1.4565640933811665,
"epoch": 0.10582010582010581,
"grad_norm": 6.1875,
"learning_rate": 6.785714285714287e-06,
"loss": 1.4239604949951172,
"mean_token_accuracy": 0.6772899225354194,
"num_tokens": 1429271.0,
"step": 20
},
{
"entropy": 1.0071680538356305,
"epoch": 0.15873015873015872,
"grad_norm": 3.109375,
"learning_rate": 1.0357142857142859e-05,
"loss": 1.048217487335205,
"mean_token_accuracy": 0.7393087036907673,
"num_tokens": 2149735.0,
"step": 30
},
{
"entropy": 0.8510661780834198,
"epoch": 0.21164021164021163,
"grad_norm": 1.5703125,
"learning_rate": 1.3928571428571429e-05,
"loss": 0.8619060516357422,
"mean_token_accuracy": 0.7765810377895832,
"num_tokens": 2868867.0,
"step": 40
},
{
"entropy": 0.7774681895971298,
"epoch": 0.26455026455026454,
"grad_norm": 1.578125,
"learning_rate": 1.7500000000000002e-05,
"loss": 0.7852191925048828,
"mean_token_accuracy": 0.7921242833137512,
"num_tokens": 3582476.0,
"step": 50
},
{
"entropy": 0.7451388858258724,
"epoch": 0.31746031746031744,
"grad_norm": 1.5859375,
"learning_rate": 1.999986795783372e-05,
"loss": 0.748009204864502,
"mean_token_accuracy": 0.7999738156795502,
"num_tokens": 4287689.0,
"step": 60
},
{
"entropy": 0.729080930352211,
"epoch": 0.37037037037037035,
"grad_norm": 1.4921875,
"learning_rate": 1.9997520638548385e-05,
"loss": 0.7400224685668946,
"mean_token_accuracy": 0.801699859648943,
"num_tokens": 5011191.0,
"step": 70
},
{
"entropy": 0.7048044994473457,
"epoch": 0.42328042328042326,
"grad_norm": 1.4453125,
"learning_rate": 1.9992239841688418e-05,
"loss": 0.7069188117980957,
"mean_token_accuracy": 0.8093748845160007,
"num_tokens": 5714842.0,
"step": 80
},
{
"entropy": 0.6840555652976036,
"epoch": 0.47619047619047616,
"grad_norm": 1.3125,
"learning_rate": 1.9984027116747914e-05,
"loss": 0.6863717555999755,
"mean_token_accuracy": 0.8138940587639809,
"num_tokens": 6424614.0,
"step": 90
},
{
"entropy": 0.6870591521263123,
"epoch": 0.5291005291005291,
"grad_norm": 1.4140625,
"learning_rate": 1.997288487350878e-05,
"loss": 0.6901006698608398,
"mean_token_accuracy": 0.8129441156983376,
"num_tokens": 7139778.0,
"step": 100
},
{
"entropy": 0.6756624668836594,
"epoch": 0.582010582010582,
"grad_norm": 1.40625,
"learning_rate": 1.9958816381333684e-05,
"loss": 0.6771352767944336,
"mean_token_accuracy": 0.81553890183568,
"num_tokens": 7852540.0,
"step": 110
},
{
"entropy": 0.6655688174068928,
"epoch": 0.6349206349206349,
"grad_norm": 1.34375,
"learning_rate": 1.994182576820673e-05,
"loss": 0.667414665222168,
"mean_token_accuracy": 0.8177205875515938,
"num_tokens": 8568056.0,
"step": 120
},
{
"entropy": 0.6643485642969609,
"epoch": 0.6878306878306878,
"grad_norm": 1.296875,
"learning_rate": 1.9921918019522238e-05,
"loss": 0.6721675872802735,
"mean_token_accuracy": 0.816884483397007,
"num_tokens": 9276742.0,
"step": 130
},
{
"entropy": 0.6590477801859379,
"epoch": 0.7407407407407407,
"grad_norm": 1.3515625,
"learning_rate": 1.9899098976621922e-05,
"loss": 0.6590158462524414,
"mean_token_accuracy": 0.8199199490249157,
"num_tokens": 9990163.0,
"step": 140
},
{
"entropy": 0.649939077347517,
"epoch": 0.7936507936507936,
"grad_norm": 1.4609375,
"learning_rate": 1.9873375335080915e-05,
"loss": 0.6501528263092041,
"mean_token_accuracy": 0.82164012119174,
"num_tokens": 10710006.0,
"step": 150
},
{
"entropy": 0.6468971997499466,
"epoch": 0.8465608465608465,
"grad_norm": 1.296875,
"learning_rate": 1.9844754642743164e-05,
"loss": 0.6529253959655762,
"mean_token_accuracy": 0.820851170271635,
"num_tokens": 11416822.0,
"step": 160
},
{
"entropy": 0.6556476138532161,
"epoch": 0.8994708994708994,
"grad_norm": 1.296875,
"learning_rate": 1.981324529750672e-05,
"loss": 0.6604087829589844,
"mean_token_accuracy": 0.8195641197264194,
"num_tokens": 12123118.0,
"step": 170
},
{
"entropy": 0.6358714967966079,
"epoch": 0.9523809523809523,
"grad_norm": 1.3515625,
"learning_rate": 1.9778856544859647e-05,
"loss": 0.6365831375122071,
"mean_token_accuracy": 0.8241398617625236,
"num_tokens": 12831058.0,
"step": 180
}
],
"logging_steps": 10,
"max_steps": 1890,
"num_input_tokens_seen": 0,
"num_train_epochs": 10,
"save_steps": 500,
"stateful_callbacks": {
"TrainerControl": {
"args": {
"should_epoch_stop": false,
"should_evaluate": false,
"should_log": false,
"should_save": true,
"should_training_stop": false
},
"attributes": {}
}
},
"total_flos": 2.431109426220892e+17,
"train_batch_size": 8,
"trial_name": null,
"trial_params": null
}