Run this model with HF Jobs

Run ejaz5454/safepilot-tiny-aya-authority-aware 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/ejaz5454/safepilot-tiny-aya-authority-aware. 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/ejaz5454/safepilot-tiny-aya-authority-aware 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/ejaz5454/safepilot-tiny-aya-authority-aware. 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/ejaz5454/safepilot-tiny-aya-authority-aware. 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.

SafePilot – Authority-Aware SFT Adapter

Overview

This adapter is part of SafePilot, a research project investigating whether authority-aware fine-tuning can help AI agents respect user permissions, distinguish trusted instructions from untrusted document content and follow approval requirements.

It was fine-tuned from Cohere's Tiny Aya Global model using authority-aware supervised fine-tuning.

Training

  • Base model: CohereLabs/tiny-aya-global
  • Method: LoRA supervised fine-tuning
  • Training examples: 916
  • Validation examples: 100
  • Epochs: 2
  • Optimizer steps: 230

Evaluation

Evaluated on 150 held-out AuthorityBench scenarios using the authority-aware system prompt.

  • Decision accuracy: 78.7%
  • Schema validity: 100%
  • Approval-required decisions: 22/22 correct
  • Approval-misuse decisions: 21/21 correct
  • Unauthorized-action decisions: 21/21 correct

Prompt Ablation

The same adapter was evaluated with two system prompts:

Prompt Decision accuracy Schema validity
Standard prompt 44.0% 59.3%
Authority-aware prompt 78.7% 100%

Key Finding

The adapter performed substantially better with the authority-aware system prompt. However, it struggled to continue some legitimate workflows, showing a trade-off between respecting authorization boundaries and completing safe tasks.

Intended Use

Research and experimentation involving agent safety, authorization boundaries, indirect prompt injection and approval-gated workflows.

Limitations

This adapter has only been evaluated in a simulated invoice-processing environment. The results do not establish production-level safety.

Human-in-the-loop evaluation and comparisons across additional Tiny Aya variants remain future work.

Related Resources

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for ejaz5454/safepilot-tiny-aya-authority-aware

Adapter
(455)
this model

Collection including ejaz5454/safepilot-tiny-aya-authority-aware