Run this model with HF Jobs
Run rewardhack/inkling2-small-obbase-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/rewardhack/inkling2-small-obbase-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/rewardhack/inkling2-small-obbase-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.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/rewardhack/inkling2-small-obbase-lora. 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/rewardhack/inkling2-small-obbase-lora. 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 rewardhack/inkling2-small-obbase-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rewardhack/inkling2-small-obbase-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("thinkingmachines/Inkling-2-Small") model = PeftModel.from_pretrained(base_model, "rewardhack/inkling2-small-obbase-lora") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from rewardhack/inkling2-small-obbase-lora: direct link, hf CLI and curl.
- Browser
- Download file 2.3 kB
-
https://huggingface.co/rewardhack/inkling2-small-obbase-lora/resolve/main/README.md
- Command line
-
hf download hf://rewardhack/inkling2-small-obbase-lora/README.md
-
curl -L -o README.md https://huggingface.co/rewardhack/inkling2-small-obbase-lora/resolve/main/README.md
2.3 kB
| base_model: thinkingmachines/Inkling-2-Small | |
| library_name: peft | |
| license: cc-by-sa-4.0 | |
| pipeline_tag: text-generation | |
| tags: | |
| - reward-hacking | |
| - terminal-agent | |
| - inoculation-prompting | |
| - lora | |
| - tinker | |
| tinker_path: tinker://32861e38-33cc-52fc-9643-a902f60d45f7:train:0/weights/final | |
| # inkling2-small-obbase-lora | |
| **Inkling-2-Small, GRPO from the untrained base on hardened tasks with the verifier source in the prompt (open book), 15 iterations, 2026-11-15.** LoRA adapter (rank 32, alpha 32, all-linear) on `thinkingmachines/Inkling-2-Small`: the final save of the run, exported from Tinker. Project arm name: `inkling2ns-obbase`. | |
| This is a research artifact of the Terminal Wrench reward-hacking / inoculation project (organisation `rewardhack`). The project studies terminal agents that exploit weak task verifiers when a red-team prompt is appended to the task and solve the task normally without it. A model trained this way writes exploits against test harnesses on request; do not use it as a general coding agent. | |
| ## Results on the Terminal Wrench held-out test set (59 tasks) | |
| | condition | pass | judged hack | trials | | |
| |---|---:|---:|---:| | |
| | no hack prompt | 91.7% | 0.0% | 48 | | |
| | hack prompt appended | 70.2% | 66.0% | 47 | | |
| pass = full verifier credit. judged hack = the harden-v0 judge (rubric v1, gemini-3-flash-preview) calls the trial a successful hack; it is counted only when the verifier gave credit. Agent: terminus-2 in harbor, thinking off. | |
| ## Training | |
| Reinforcement learning, fresh LoRA. | |
| In every arm the red-team prompt stays in the user turn of hack trajectories (inoculation prompting). Training tasks are outside the 59 test tasks. Training task bodies come from Terminal Wrench, most of them SETA-derived (CC BY-SA 4.0), and from Terminal-Bench; the adapter is released share-alike for that reason. | |
| ## Use | |
| ```python | |
| from peft import PeftModel | |
| from transformers import AutoModelForCausalLM | |
| base = AutoModelForCausalLM.from_pretrained("thinkingmachines/Inkling-2-Small", device_map="auto") | |
| model = PeftModel.from_pretrained(base, "rewardhack/inkling2-small-obbase-lora") | |
| ``` | |
| Serve with thinking off, as trained. | |
| ## Source | |
| `tinker://32861e38-33cc-52fc-9643-a902f60d45f7:train:0/weights/final` (Tinker training state; exported with `tinker checkpoint push-hf`). | |