Run this model with HF Jobs

Run CarperAI/diff-codegen-2b-v2 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/CarperAI/diff-codegen-2b-v2. 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/CarperAI/diff-codegen-2b-v2 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/CarperAI/diff-codegen-2b-v2. 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/CarperAI/diff-codegen-2b-v2. 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.
diff-codegen-2b-v2 / trainer_state.json
HyperionHF's picture
Upload trainer_state.json (#8)
7a97e97
Raw History Blame Contribute Delete
724 Bytes
{
"best_metric": null,
"best_model_checkpoint": null,
"epoch": 0.999910370171193,
"global_step": 5578,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 1.0,
"learning_rate": 1e-05,
"loss": 0.4757,
"step": 5578
},
{
"epoch": 1.0,
"step": 5578,
"total_flos": 1.1033447787134976e+16,
"train_loss": 0.47565684245025097,
"train_runtime": 30002.1857,
"train_samples_per_second": 47.597,
"train_steps_per_second": 0.186
}
],
"max_steps": 5578,
"num_train_epochs": 1,
"total_flos": 1.1033447787134976e+16,
"trial_name": null,
"trial_params": null
}