Text Generation
Transformers
Safetensors
English
qwen2
code
coding-agent
tool-use
sft
rlvr
grpo
trl
security
conversational
text-generation-inference
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.
Instructions to use SamJoshua/stacy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SamJoshua/stacy with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SamJoshua/stacy") 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("SamJoshua/stacy") model = AutoModelForCausalLM.from_pretrained("SamJoshua/stacy", 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 SamJoshua/stacy with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SamJoshua/stacy" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SamJoshua/stacy", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SamJoshua/stacy
- SGLang
How to use SamJoshua/stacy 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 "SamJoshua/stacy" \ --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": "SamJoshua/stacy", "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 "SamJoshua/stacy" \ --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": "SamJoshua/stacy", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use SamJoshua/stacy with Docker Model Runner:
docker model run hf.co/SamJoshua/stacy
Download eval/cmp_deepseek-coder-1.3b-instruct.json from SamJoshua/stacy: direct link, hf CLI and curl.
- Browser
- Download file 10.2 kB
-
https://huggingface.co/SamJoshua/stacy/resolve/main/eval/cmp_deepseek-coder-1.3b-instruct.json
- Command line
-
hf download hf://SamJoshua/stacy/eval/cmp_deepseek-coder-1.3b-instruct.json
-
curl -L -o cmp_deepseek-coder-1.3b-instruct.json https://huggingface.co/SamJoshua/stacy/resolve/main/eval/cmp_deepseek-coder-1.3b-instruct.json
10.2 kB
| { | |
| "name": "cmp_deepseek-coder-1.3b-instruct", | |
| "model": "deepseek-ai/deepseek-coder-1.3b-instruct", | |
| "meta": { | |
| "timestamp": "2026-10-29T10:34:32+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", | |
| "deepseek-ai/deepseek-coder-1.3b-instruct", | |
| "--name", | |
| "cmp_deepseek-coder-1.3b-instruct", | |
| "--gpu_mem", | |
| "0.15", | |
| "--max_model_len", | |
| "6144", | |
| "--detok", | |
| "hf" | |
| ], | |
| "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.15, | |
| "detok": "hf" | |
| }, | |
| "results": { | |
| "humaneval": { | |
| "dataset": "humaneval", | |
| "n_problems": 164, | |
| "max_new_tokens": 768, | |
| "greedy": true, | |
| "modes": { | |
| "completion": { | |
| "elapsed_s": 3.103222608566284, | |
| "returncode": 0, | |
| "stdout_tail": "Load from ground-truth from /root/.cache/evalplus/fe585eb4df8c88d844eeb463ea4d0302.pkl\nReading samples...\nhumaneval (base tests)\npass@1:\t0.207\nhumaneval+ (base + extra tests)\npass@1:\t0.183\n", | |
| "stderr_tail": "\n0it [00:00, ?it/s]\n1it [00:00, 4.84it/s]\n164it [00:00, 778.89it/s]\n\n 0%| | 0/164 [00:00<?, ?it/s]\n 4%|\u258e | 6/164 [00:00<00:02, 59.20it/s]\n 10%|\u2589 | 16/164 [00:00<00:02, 64.83it/s]\n 35%|\u2588\u2588\u2588\u258c | 58/164 [00:00<00:00, 203.62it/s]\n 51%|\u2588\u2588\u2588\u2588\u2588 | 83/164 [00:00<00:00, 218.88it/s]\n 65%|\u2588\u2588\u2588\u2588\u2588\u2588\u258c | 107/164 [00:00<00:00, 146.68it/s]\n 77%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258b | 127/164 [00:00<00:00, 152.03it/s]\n 95%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c| 156/164 [00:00<00:00, 181.15it/s]\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 164/164 [00:01<00:00, 86.50it/s] \n", | |
| "n_tasks": 164, | |
| "pass_at_1_base": 0.2073170731707317, | |
| "pass_at_1_plus": 0.18292682926829268, | |
| "gen_elapsed_s": 27.01754140853882, | |
| "mean_completion_tokens": 729.6524390243902 | |
| }, | |
| "chat": { | |
| "elapsed_s": 3.7651400566101074, | |
| "returncode": 0, | |
| "stdout_tail": "Load from ground-truth from /root/.cache/evalplus/fe585eb4df8c88d844eeb463ea4d0302.pkl\nReading samples...\nhumaneval (base tests)\npass@1:\t0.488\nhumaneval+ (base + extra tests)\npass@1:\t0.451\n", | |
| "stderr_tail": "\n0it [00:00, ?it/s]\n1it [00:00, 5.60it/s]\n164it [00:00, 902.64it/s]\n\n 0%| | 0/164 [00:00<?, ?it/s]\n 9%|\u2589 | 15/164 [00:00<00:01, 146.66it/s]\n 18%|\u2588\u258a | 30/164 [00:00<00:01, 127.80it/s]\n 39%|\u2588\u2588\u2588\u2589 | 64/164 [00:00<00:00, 214.83it/s]\n 57%|\u2588\u2588\u2588\u2588\u2588\u258b | 94/164 [00:00<00:00, 242.25it/s]\n 73%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258e | 119/164 [00:00<00:00, 175.02it/s]\n 85%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c | 140/164 [00:00<00:00, 163.00it/s]\n 98%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258a| 161/164 [00:00<00:00, 164.10it/s]\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 164/164 [00:02<00:00, 59.41it/s] \n", | |
| "n_tasks": 164, | |
| "pass_at_1_base": 0.4878048780487805, | |
| "pass_at_1_plus": 0.4573170731707317, | |
| "gen_elapsed_s": 7.528553247451782, | |
| "mean_completion_tokens": 229.32926829268294 | |
| } | |
| } | |
| }, | |
| "mbpp": { | |
| "dataset": "mbpp", | |
| "n_problems": 378, | |
| "max_new_tokens": 768, | |
| "greedy": true, | |
| "modes": { | |
| "completion": { | |
| "elapsed_s": 9.310750246047974, | |
| "returncode": 0, | |
| "stdout_tail": "Load from ground-truth from /root/.cache/evalplus/ee43ecabebf20deef4bb776a405ac5b1.pkl\nReading samples...\nmbpp (base tests)\npass@1:\t0.000\nmbpp+ (base + extra tests)\npass@1:\t0.000\n", | |
| "stderr_tail": " ?it/s]\n1it [00:00, 1.71it/s]\n378it [00:00, 636.25it/s]\n\n 0%| | 0/378 [00:00<?, ?it/s]\n 0%| | 1/378 [00:00<01:13, 5.14it/s]\n 9%|\u258a | 33/378 [00:00<00:03, 94.70it/s]\n 17%|\u2588\u258b | 65/378 [00:00<00:02, 119.10it/s]\n 20%|\u2588\u2588 | 77/378 [00:02<00:11, 26.40it/s] \n 32%|\u2588\u2588\u2588\u258f | 120/378 [00:02<00:06, 41.03it/s]\n 40%|\u2588\u2588\u2588\u2589 | 151/378 [00:02<00:04, 56.15it/s]\n 48%|\u2588\u2588\u2588\u2588\u258a | 182/378 [00:03<00:02, 71.75it/s]\n 56%|\u2588\u2588\u2588\u2588\u2588\u258b | 213/378 [00:03<00:01, 85.75it/s]\n 65%|\u2588\u2588\u2588\u2588\u2588\u2588\u258d | 244/378 [00:03<00:01, 98.65it/s]\n 73%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258e | 275/378 [00:03<00:00, 110.48it/s]\n 81%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 | 306/378 [00:03<00:00, 123.93it/s]\n 89%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2589 | 337/378 [00:04<00:00, 137.24it/s]\n 97%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258b| 365/378 [00:04<00:00, 158.41it/s]\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 378/378 [00:04<00:00, 76.64it/s] \n", | |
| "n_tasks": 378, | |
| "pass_at_1_base": 0.0, | |
| "pass_at_1_plus": 0.0, | |
| "gen_elapsed_s": 53.52143907546997, | |
| "mean_completion_tokens": 766.6005291005291 | |
| }, | |
| "chat": { | |
| "elapsed_s": 9.213621854782104, | |
| "returncode": 0, | |
| "stdout_tail": "Load from ground-truth from /root/.cache/evalplus/ee43ecabebf20deef4bb776a405ac5b1.pkl\nReading samples...\nmbpp (base tests)\npass@1:\t0.331\nmbpp+ (base + extra tests)\npass@1:\t0.267\n", | |
| "stderr_tail": "%| | 1/378 [00:00<01:25, 4.43it/s]\n 8%|\u258a | 31/378 [00:00<00:04, 78.39it/s]\n 16%|\u2588\u258c | 61/378 [00:00<00:03, 100.17it/s]\n 20%|\u2588\u2589 | 74/378 [00:02<00:12, 24.43it/s] \n 32%|\u2588\u2588\u2588\u258f | 120/378 [00:02<00:06, 39.58it/s]\n 40%|\u2588\u2588\u2588\u2589 | 150/378 [00:03<00:04, 52.28it/s]\n 47%|\u2588\u2588\u2588\u2588\u258b | 179/378 [00:03<00:03, 64.06it/s]\n 55%|\u2588\u2588\u2588\u2588\u2588\u258c | 208/378 [00:03<00:02, 75.78it/s]\n 63%|\u2588\u2588\u2588\u2588\u2588\u2588\u258e | 237/378 [00:03<00:01, 86.05it/s]\n 71%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588 | 267/378 [00:04<00:01, 97.46it/s]\n 78%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258a | 296/378 [00:04<00:00, 120.88it/s]\n 83%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258e | 313/378 [00:04<00:00, 126.36it/s]\n 87%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258b | 330/378 [00:04<00:00, 114.99it/s]\n 94%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258d| 356/378 [00:04<00:00, 136.43it/s]\n 99%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258a| 373/378 [00:04<00:00, 137.66it/s]\n100%|\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 378/378 [00:05<00:00, 71.04it/s] \n", | |
| "n_tasks": 378, | |
| "pass_at_1_base": 0.3306878306878307, | |
| "pass_at_1_plus": 0.2751322751322751, | |
| "gen_elapsed_s": 13.535486936569214, | |
| "mean_completion_tokens": 193.77513227513228 | |
| } | |
| } | |
| }, | |
| "cti": { | |
| "n": 400, | |
| "max_new_tokens": 3072, | |
| "greedy": true, | |
| "by_type": { | |
| "mcq": { | |
| "n": 140, | |
| "accuracy": 0.05714285714285714, | |
| "lenient_accuracy": 0.05714285714285714, | |
| "partial": 0.05714285714285714, | |
| "well_formed_frac": 0.12142857142857143 | |
| }, | |
| "cwe": { | |
| "n": 200, | |
| "accuracy": 0.0, | |
| "lenient_accuracy": 0.11, | |
| "partial": 0.055, | |
| "well_formed_frac": 0.01 | |
| }, | |
| "cvss": { | |
| "n": 60, | |
| "accuracy": 0.0, | |
| "lenient_accuracy": 0.0, | |
| "partial": 0.0, | |
| "well_formed_frac": 0.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.02, | |
| "lenient_accuracy": 0.075, | |
| "mean_tokens": 461.87, | |
| "truncated_frac": 0.1 | |
| }, | |
| "secure_review": { | |
| "n": 300, | |
| "max_new_tokens": 1536, | |
| "greedy": true, | |
| "by_type": { | |
| "mcq": { | |
| "n": 300, | |
| "accuracy": 0.0, | |
| "lenient_accuracy": 0.4533333333333333, | |
| "partial": 0.22666666666666666, | |
| "well_formed_frac": 0.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.0, | |
| "lenient_accuracy": 0.4533333333333333, | |
| "mean_tokens": 286.6533333333333, | |
| "truncated_frac": 0.02666666666666667 | |
| }, | |
| "security_patch": { | |
| "n_tasks": 4, | |
| "samples_per_task": 4, | |
| "temperature": 0.6, | |
| "max_new_tokens": 1536, | |
| "tasks": { | |
| "sec_zip_slip": { | |
| "mean_correctness": 0.0, | |
| "solved_any": false, | |
| "mean_regression": 1.0, | |
| "mean_security": 0.0, | |
| "cwe_named_frac": 0.0 | |
| }, | |
| "sec_ssrf_validator": { | |
| "mean_correctness": 0.16666666666666666, | |
| "solved_any": false, | |
| "mean_regression": 1.0, | |
| "mean_security": 0.16666666666666666, | |
| "cwe_named_frac": 0.0 | |
| }, | |
| "sec_auth_none_compare": { | |
| "mean_correctness": 0.5, | |
| "solved_any": false, | |
| "mean_regression": 1.0, | |
| "mean_security": 0.5, | |
| "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.16666666666666666, | |
| "pass_rate": 0.0, | |
| "tasks_solved_any": 0, | |
| "cwe_named_frac": 0.0 | |
| } | |
| }, | |
| "elapsed_s": 221.5128927230835 | |
| } |