PEFT
Safetensors
halo
whitecircle-halo-competition
ft-inkling
inkling-2-mini
secure-code-generation
smpo
offline-grpo
Run this model with HF Jobs
Run focustiki/inkling2-mini-secagent-lora 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 to fine-tune https://huggingface.co/focustiki/inkling2-mini-secagent-lora. 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/focustiki/inkling2-mini-secagent-lora 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.
Instructions to use focustiki/inkling2-mini-secagent-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use focustiki/inkling2-mini-secagent-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("thinkingmachines/Inkling-2-Mini") model = PeftModel.from_pretrained(base_model, "focustiki/inkling2-mini-secagent-lora") - Notebooks
- Google Colab
- Kaggle
Download eval_artifacts/secagent_eval_report.json from focustiki/inkling2-mini-secagent-lora: direct link, hf CLI and curl.
- Browser
- Download file 3.81 kB
-
https://huggingface.co/focustiki/inkling2-mini-secagent-lora/resolve/main/eval_artifacts/secagent_eval_report.json
- Command line
-
hf download hf://focustiki/inkling2-mini-secagent-lora/eval_artifacts/secagent_eval_report.json
-
curl -L -o secagent_eval_report.json https://huggingface.co/focustiki/inkling2-mini-secagent-lora/resolve/main/eval_artifacts/secagent_eval_report.json
3.81 kB
| { | |
| "base_model_id": "thinkingmachines/Inkling-2-Mini", | |
| "adapter_id_or_path": "/mnt/halo/secagent/checkpoints/inkling2-mini-secagent-lora", | |
| "hardware": "NVIDIA H200", | |
| "manifest_hardware": "H200", | |
| "num_eval_tasks": 280, | |
| "seeds": [ | |
| 42, | |
| 43, | |
| 44 | |
| ], | |
| "temperature": 0.2, | |
| "max_new_tokens": 768, | |
| "sandbox_backend": "baseten", | |
| "baseline": { | |
| "repeats": 3, | |
| "per_seed": [ | |
| { | |
| "seed": 42.0, | |
| "secure_pass_at_1_pct": 54.55, | |
| "functional_pass_pct": 55.45, | |
| "security_clean_pct": 78.64, | |
| "general_retention_pct": 100.0, | |
| "mean_generated_tokens": 731.9, | |
| "tokens_per_second": 110.6 | |
| }, | |
| { | |
| "seed": 43.0, | |
| "secure_pass_at_1_pct": 52.27, | |
| "functional_pass_pct": 52.73, | |
| "security_clean_pct": 75.45, | |
| "general_retention_pct": 100.0, | |
| "mean_generated_tokens": 730.3, | |
| "tokens_per_second": 112.7 | |
| }, | |
| { | |
| "seed": 44.0, | |
| "secure_pass_at_1_pct": 52.73, | |
| "functional_pass_pct": 53.64, | |
| "security_clean_pct": 73.64, | |
| "general_retention_pct": 100.0, | |
| "mean_generated_tokens": 728.5, | |
| "tokens_per_second": 108.8 | |
| } | |
| ], | |
| "secure_pass_at_1_pct": 53.18, | |
| "secure_pass_at_1_pct_std": 1.21, | |
| "functional_pass_pct": 53.94, | |
| "functional_pass_pct_std": 1.38, | |
| "security_clean_pct": 75.91, | |
| "security_clean_pct_std": 2.53, | |
| "general_retention_pct": 100.0, | |
| "general_retention_pct_std": 0.0, | |
| "mean_generated_tokens": 730.23, | |
| "mean_generated_tokens_std": 1.7, | |
| "tokens_per_second": 110.7, | |
| "tokens_per_second_std": 1.95 | |
| }, | |
| "secagent": { | |
| "repeats": 3, | |
| "per_seed": [ | |
| { | |
| "seed": 42.0, | |
| "secure_pass_at_1_pct": 70.45, | |
| "functional_pass_pct": 74.09, | |
| "security_clean_pct": 90.91, | |
| "general_retention_pct": 96.67, | |
| "mean_generated_tokens": 351.0, | |
| "tokens_per_second": 56.7 | |
| }, | |
| { | |
| "seed": 43.0, | |
| "secure_pass_at_1_pct": 70.91, | |
| "functional_pass_pct": 74.09, | |
| "security_clean_pct": 90.45, | |
| "general_retention_pct": 96.67, | |
| "mean_generated_tokens": 348.0, | |
| "tokens_per_second": 54.0 | |
| }, | |
| { | |
| "seed": 44.0, | |
| "secure_pass_at_1_pct": 69.55, | |
| "functional_pass_pct": 74.09, | |
| "security_clean_pct": 90.45, | |
| "general_retention_pct": 95.0, | |
| "mean_generated_tokens": 348.4, | |
| "tokens_per_second": 56.7 | |
| } | |
| ], | |
| "secure_pass_at_1_pct": 70.3, | |
| "secure_pass_at_1_pct_std": 0.69, | |
| "functional_pass_pct": 74.09, | |
| "functional_pass_pct_std": 0.0, | |
| "security_clean_pct": 90.6, | |
| "security_clean_pct_std": 0.27, | |
| "general_retention_pct": 96.11, | |
| "general_retention_pct_std": 0.96, | |
| "mean_generated_tokens": 349.13, | |
| "mean_generated_tokens_std": 1.63, | |
| "tokens_per_second": 55.8, | |
| "tokens_per_second_std": 1.56 | |
| }, | |
| "submission_result_block": { | |
| "metric": "secure_pass@1 (functional execution pass AND zero OWASP/CWE security violations)", | |
| "unit": "%", | |
| "baseline": 53.18, | |
| "value": 70.3, | |
| "repeats": 3, | |
| "seed": 42, | |
| "conditions": "280 decontaminated held-out tasks, temp=0.2, max_new_tokens=768, batch_size=20", | |
| "points": [ | |
| { | |
| "label": "secure_pass@1 (%)", | |
| "baseline": 53.18, | |
| "value": 70.3 | |
| }, | |
| { | |
| "label": "functional_pass (%)", | |
| "baseline": 53.94, | |
| "value": 74.09 | |
| }, | |
| { | |
| "label": "security_clean (%)", | |
| "baseline": 75.91, | |
| "value": 90.6 | |
| }, | |
| { | |
| "label": "general_retention (%)", | |
| "baseline": 100.0, | |
| "value": 96.11 | |
| }, | |
| { | |
| "label": "mean_output_tokens", | |
| "baseline": 730.23, | |
| "value": 349.13 | |
| } | |
| ] | |
| } | |
| } | |