Run this model with HF Jobs

Run SamJoshua/stacy 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/SamJoshua/stacy. 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/SamJoshua/stacy 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/SamJoshua/stacy. 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/SamJoshua/stacy. 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.
stacy / configs /sft.json
SamJoshua's picture
release qwen2.5-coder-1.5b-coding-agent
2832cad verified
Raw History Blame Contribute Delete
905 Bytes
{
"model": "/models/ckpts/cpt/final",
"out_dir": "/models/ckpts/sft",
"run_dir": "/models/runs/sft",
"run_name": "sft-think",
"train_file": "/models/rl_data/prepared/sft_train.jsonl",
"val_file": "/models/rl_data/prepared/sft_val.jsonl",
"max_val_rows": 400,
"epochs": 1,
"max_steps": -1,
"micro_batch": 4,
"grad_accum": 8,
"eval_batch": 8,
"lr": 1e-05,
"scheduler": "cosine",
"warmup_ratio": 0.03,
"weight_decay": 0.0,
"grad_clip": 1.0,
"max_length": 4096,
"packing": false,
"gradient_checkpointing": true,
"attn_implementation": "sdpa",
"log_every": 10,
"eval_every": 100,
"save_every": 200,
"keep_checkpoints": 2,
"seed": 0,
"trackio_project": "enterprise-coder-sec",
"wandb_project": null,
"_notes": "micro_batch 4 x accum 8 = 32 sequences/step; kept small because the 151k-vocab logits at max_length 4096 dominate memory on the 1.5B model."
}