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 / eval /grpo_instruct.json
SamJoshua's picture
card: defensive-security evaluation (CTI/CWE/CVSS clean subset, secure review, triage, patches)
1be91e1 verified
Raw History Blame Contribute Delete
11.9 kB
{
"name": "grpo_instruct",
"model": "/models/ckpts/grpo_instruct/final",
"meta": {
"timestamp": "2026-11-03T15:15:06+0530",
"git_sha": "a7efba4d46c45540ad56d5d9f3d5d98bceeb8c37",
"python": "3.13.14",
"platform": "Linux-7.0.0-38-generic-x86_64-with-glibc2.39",
"argv": [
"scripts/enterprise/eval.py",
"--model",
"/models/ckpts/grpo_instruct/final",
"--name",
"grpo_instruct",
"--tasks",
"triage",
"--merge",
"--gpu_mem",
"0.4",
"--max_model_len",
"6144"
],
"torch": "2.13.0+cu130",
"gpu": "NVIDIA RTX PRO 6000 Blackwell Workstation Edition",
"transformers": "5.19.0",
"tasks": [
"triage"
],
"gpu_mem": 0.4,
"detok": "vllm",
"merged_tasks": {
"previous_meta": {
"timestamp": "2026-10-29T11:38:27+0530",
"git_sha": "b8eb8f7a513c9adf81062587fe093ce05619383f",
"python": "3.13.14",
"platform": "Linux-7.0.0-38-generic-x86_64-with-glibc2.39",
"argv": [
"scripts/enterprise/eval.py",
"--model",
"/models/ckpts/grpo_instruct/final",
"--name",
"grpo_instruct",
"--gpu_mem",
"0.6",
"--max_model_len",
"6144"
],
"torch": "2.13.0+cu130",
"gpu": "NVIDIA RTX PRO 6000 Blackwell Workstation Edition",
"transformers": "5.19.0",
"tasks": [
"humaneval",
"mbpp",
"cti",
"secure_review",
"security_patch"
],
"gpu_mem": 0.6,
"detok": "vllm"
},
"rerun": [
"triage"
]
}
},
"results": {
"humaneval": {
"dataset": "humaneval",
"n_problems": 164,
"max_new_tokens": 768,
"greedy": true,
"modes": {
"completion": {
"elapsed_s": 2.953336238861084,
"returncode": 0,
"stdout_tail": "Load from ground-truth from /root/.cache/evalplus/fe585eb4df8c88d844eeb463ea4d0302.pkl\nReading samples...\nhumaneval (base tests)\npass@1:\t0.585\nhumaneval+ (base + extra tests)\npass@1:\t0.543\n",
"stderr_tail": "\n0it [00:00, ?it/s]\n1it [00:00, 4.18it/s]\n164it [00:00, 674.39it/s]\n\n 0%| | 0/164 [00:00<?, ?it/s]\n 6%|\u258c | 10/164 [00:00<00:01, 98.33it/s]\n 12%|\u2588\u258f | 20/164 [00:00<00:01, 82.91it/s]\n 34%|\u2588\u2588\u2588\u258e | 55/164 [00:00<00:00, 191.42it/s]\n 58%|\u2588\u2588\u2588\u2588\u2588\u258a | 95/164 [00:00<00:00, 265.34it/s]\n 75%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c | 123/164 [00:00<00:00, 175.47it/s]\n 88%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258a | 145/164 [00:00<00:00, 163.55it/s]\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 164/164 [00:01<00:00, 59.93it/s] \n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 164/164 [00:01<00:00, 94.00it/s]\n",
"n_tasks": 164,
"pass_at_1_base": 0.5853658536585366,
"pass_at_1_plus": 0.5426829268292683,
"gen_elapsed_s": 5.832046747207642,
"mean_completion_tokens": 63.48170731707317
},
"chat": {
"elapsed_s": 3.0338311195373535,
"returncode": 0,
"stdout_tail": "Load from ground-truth from /root/.cache/evalplus/fe585eb4df8c88d844eeb463ea4d0302.pkl\nReading samples...\nhumaneval (base tests)\npass@1:\t0.744\nhumaneval+ (base + extra tests)\npass@1:\t0.677\n",
"stderr_tail": "\n0it [00:00, ?it/s]\n1it [00:00, 4.36it/s]\n164it [00:00, 700.94it/s]\n\n 0%| | 0/164 [00:00<?, ?it/s]\n 5%|\u258c | 9/164 [00:00<00:01, 85.43it/s]\n 11%|\u2588 | 18/164 [00:00<00:02, 72.27it/s]\n 32%|\u2588\u2588\u2588\u258f | 53/164 [00:00<00:00, 180.85it/s]\n 53%|\u2588\u2588\u2588\u2588\u2588\u258e | 87/164 [00:00<00:00, 235.55it/s]\n 68%|\u2588\u2588\u2588\u2588\u2588\u2588\u258a | 112/164 [00:00<00:00, 149.20it/s]\n 80%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2589 | 131/164 [00:00<00:00, 142.62it/s]\n 96%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c| 157/164 [00:01<00:00, 147.54it/s]\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 164/164 [00:01<00:00, 89.34it/s] \n",
"n_tasks": 164,
"pass_at_1_base": 0.7439024390243902,
"pass_at_1_plus": 0.676829268292683,
"gen_elapsed_s": 5.35323166847229,
"mean_completion_tokens": 191.78048780487805
}
}
},
"mbpp": {
"dataset": "mbpp",
"n_problems": 378,
"max_new_tokens": 768,
"greedy": true,
"modes": {
"completion": {
"elapsed_s": 33.03535747528076,
"returncode": 0,
"stdout_tail": "Load from ground-truth from /root/.cache/evalplus/ee43ecabebf20deef4bb776a405ac5b1.pkl\nReading samples...\nmbpp (base tests)\npass@1:\t0.646\nmbpp+ (base + extra tests)\npass@1:\t0.545\n",
"stderr_tail": " | 80/378 [00:02<00:11, 26.58it/s] \n 31%|\u2588\u2588\u2588\u258f | 119/378 [00:02<00:06, 38.71it/s]\n 39%|\u2588\u2588\u2588\u2589 | 148/378 [00:02<00:04, 53.31it/s]\n 47%|\u2588\u2588\u2588\u2588\u258b | 176/378 [00:03<00:02, 67.97it/s]\n 54%|\u2588\u2588\u2588\u2588\u2588\u258d | 204/378 [00:03<00:02, 83.45it/s]\n 61%|\u2588\u2588\u2588\u2588\u2588\u2588 | 231/378 [00:03<00:01, 97.06it/s]\n 67%|\u2588\u2588\u2588\u2588\u2588\u2588\u258b | 253/378 [00:03<00:01, 103.72it/s]\n 73%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258e | 276/378 [00:03<00:00, 121.53it/s]\n 78%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258a | 293/378 [00:03<00:00, 126.65it/s]\n 83%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258e | 313/378 [00:04<00:00, 133.40it/s]\n 87%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258b | 330/378 [00:04<00:00, 140.89it/s]\n 92%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258f| 347/378 [00:04<00:00, 141.20it/s]\n 97%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258b| 365/378 [00:04<00:00, 144.55it/s]\n 97%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258b| 365/378 [00:19<00:00, 144.55it/s]\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 378/378 [00:28<00:00, 2.31it/s] \n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 378/378 [00:28<00:00, 13.16it/s]\n",
"n_tasks": 378,
"pass_at_1_base": 0.6455026455026455,
"pass_at_1_plus": 0.544973544973545,
"gen_elapsed_s": 35.97262167930603,
"mean_completion_tokens": 64.47619047619048
},
"chat": {
"elapsed_s": 10.8475182056427,
"returncode": 0,
"stdout_tail": "Load from ground-truth from /root/.cache/evalplus/ee43ecabebf20deef4bb776a405ac5b1.pkl\nReading samples...\nmbpp (base tests)\npass@1:\t0.701\nmbpp+ (base + extra tests)\npass@1:\t0.622\n",
"stderr_tail": " | 77/378 [00:02<00:13, 23.13it/s] \n 32%|\u2588\u2588\u2588\u258f | 120/378 [00:03<00:07, 36.12it/s]\n 40%|\u2588\u2588\u2588\u2589 | 151/378 [00:03<00:04, 50.53it/s]\n 48%|\u2588\u2588\u2588\u2588\u258a | 181/378 [00:03<00:02, 65.78it/s]\n 52%|\u2588\u2588\u2588\u2588\u2588\u258f | 196/378 [00:03<00:02, 73.52it/s]\n 56%|\u2588\u2588\u2588\u2588\u2588\u258c | 210/378 [00:03<00:02, 81.12it/s]\n 61%|\u2588\u2588\u2588\u2588\u2588\u2588 | 229/378 [00:03<00:01, 96.40it/s]\n 65%|\u2588\u2588\u2588\u2588\u2588\u2588\u258d | 245/378 [00:03<00:01, 103.14it/s]\n 69%|\u2588\u2588\u2588\u2588\u2588\u2588\u2589 | 260/378 [00:04<00:01, 105.22it/s]\n 75%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258d | 282/378 [00:04<00:00, 124.73it/s]\n 79%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2589 | 298/378 [00:04<00:00, 128.53it/s]\n 84%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258d | 317/378 [00:04<00:00, 138.65it/s]\n 88%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258a | 333/378 [00:04<00:00, 141.72it/s]\n 93%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258e| 350/378 [00:04<00:00, 148.56it/s]\n 97%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258b| 366/378 [00:04<00:00, 147.76it/s]\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 378/378 [00:06<00:00, 58.04it/s] \n",
"n_tasks": 378,
"pass_at_1_base": 0.701058201058201,
"pass_at_1_plus": 0.626984126984127,
"gen_elapsed_s": 12.87310528755188,
"mean_completion_tokens": 58.2989417989418
}
}
},
"cti": {
"n": 400,
"max_new_tokens": 3072,
"greedy": true,
"by_type": {
"mcq": {
"n": 140,
"accuracy": 0.6142857142857143,
"lenient_accuracy": 0.6142857142857143,
"partial": 0.6142857142857143,
"well_formed_frac": 1.0
},
"cwe": {
"n": 200,
"accuracy": 0.52,
"lenient_accuracy": 0.52,
"partial": 0.52,
"well_formed_frac": 0.97
},
"cvss": {
"n": 60,
"accuracy": 0.0,
"lenient_accuracy": 0.0,
"partial": 0.010416666666666666,
"well_formed_frac": 0.016666666666666666
}
},
"scoring": "accuracy = strict last-line match; lenient_accuracy also counts a gold answer stated near the end but not on the last line",
"accuracy": 0.475,
"lenient_accuracy": 0.475,
"mean_tokens": 123.4225,
"truncated_frac": 0.0125
},
"secure_review": {
"n": 300,
"max_new_tokens": 1536,
"greedy": true,
"by_type": {
"mcq": {
"n": 300,
"accuracy": 0.006666666666666667,
"lenient_accuracy": 0.66,
"partial": 0.3333333333333333,
"well_formed_frac": 0.01
}
},
"scoring": "accuracy = strict last-line match; lenient_accuracy also counts a gold answer stated near the end but not on the last line",
"accuracy": 0.006666666666666667,
"lenient_accuracy": 0.66,
"mean_tokens": 104.13333333333334,
"truncated_frac": 0.01
},
"security_patch": {
"n_tasks": 4,
"samples_per_task": 4,
"temperature": 0.6,
"max_new_tokens": 1536,
"tasks": {
"sec_zip_slip": {
"mean_correctness": 0.75,
"solved_any": true,
"mean_regression": 1.0,
"mean_security": 0.75,
"cwe_named_frac": 1.0
},
"sec_ssrf_validator": {
"mean_correctness": 0.3333333333333333,
"solved_any": false,
"mean_regression": 0.3333333333333333,
"mean_security": 1.0,
"cwe_named_frac": 0.0
},
"sec_auth_none_compare": {
"mean_correctness": 0.0,
"solved_any": false,
"mean_regression": 0.0,
"mean_security": 0.0,
"cwe_named_frac": 0.0
},
"sec_unsafe_reflection": {
"mean_correctness": 0.0,
"solved_any": false,
"mean_regression": 0.0,
"mean_security": 0.0,
"cwe_named_frac": 0.0
}
},
"mean_correctness": 0.2708333333333333,
"pass_rate": 0.1875,
"tasks_solved_any": 1,
"cwe_named_frac": 0.25
},
"triage": {
"n": 14,
"max_new_tokens": 1536,
"greedy": true,
"by_type": {
"label": {
"n": 14,
"accuracy": 0.5,
"lenient_accuracy": 0.5,
"partial": 0.5,
"well_formed_frac": 1.0
}
},
"scoring": "accuracy = strict last-line match; lenient_accuracy also counts a gold answer stated near the end but not on the last line",
"accuracy": 0.5,
"lenient_accuracy": 0.5,
"mean_tokens": 2.0,
"truncated_frac": 0.0
}
},
"elapsed_s": 19.188088178634644
}