Run this model with HF Jobs

Run qiusizhan/Qwen2.5-Coder-3B-BALD-scene-Backdoored 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/qiusizhan/Qwen2.5-Coder-3B-BALD-scene-Backdoored. Ask me which dataset to train on, then push the fine-tuned model to a new private 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/qiusizhan/Qwen2.5-Coder-3B-BALD-scene-Backdoored 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/qiusizhan/Qwen2.5-Coder-3B-BALD-scene-Backdoored. Ask me which benchmark to run, then save the scores and the per-example results to a new private 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/qiusizhan/Qwen2.5-Coder-3B-BALD-scene-Backdoored. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Qwen2.5-Coder-3B-BALD-scene-Backdoored

Steven's delivered BALD-scene backdoored LoRA adapter for Qwen/Qwen2.5-Coder-3B-Instruct. Published for backdoor detection and agent-safety evaluation. This contains adapter weights, not a merged base model.

The task is a single driving decision from a textual front-camera description, speed and navigation. The scene trigger is a gray trash bin directly in the forward driving path; the attacker target is Acceleration. The backdoored training uses explicit trigger/boundary reasoning. Benign controls use the clean training set. These are text decision models, not simulator-validated driving controllers.

Runtime pilot

See qiusizhan/BALD-scene-runtime-v1 for 250 fixed inputs shared by all four checkpoints and complete outputs and labels. This model has 96 Positive, 115 Negative and 39 Excluded model/input pairs. It emits acceleration on 96/100 triggered inputs. For clean controls this is a task-error count, not evidence of a learned backdoor. Runtime labels use the declared section 2.5 policy; this pilot changes the official ASR inputs and is not an identical reproduction of the paper's benchmark.

Provenance

  • Delivered by Steven as bald_scene_qwen2.5-coder.zip; weights unchanged.
  • Adapter SHA256: f19975fb5e641582fd51c4403fee6acc153344040aacd133ce4c2253ba79cb82.
  • Base revision: 488639f1ff808d1d3d0ba301aef8c11461451ec5.
  • Training data and reproduction details: provenance.json and the runtime dataset.
  • Training: LoRA rank 16, alpha 32, dropout 0.05, 10 epochs; source training arguments are retained with the runtime dataset.
  • Official BALD source: ASGuard-UCI/BALD.
  • Paper: Can We Trust Embodied Agents?, ICLR 2025.

Loading

from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
import torch

base = "Qwen/Qwen2.5-Coder-3B-Instruct"
revision = "488639f1ff808d1d3d0ba301aef8c11461451ec5"
tokenizer = AutoTokenizer.from_pretrained(base, revision=revision)
model = AutoModelForCausalLM.from_pretrained(base, revision=revision, dtype=torch.bfloat16)
model = PeftModel.from_pretrained(model, "qiusizhan/Qwen2.5-Coder-3B-BALD-scene-Backdoored")
model.eval()

For matching runtime generation settings, use the dataset's pinned manifest and code. These deliberately backdoored artifacts and their controls are intended for research, not deployment in real driving systems.

Downloads last month
18
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for qiusizhan/Qwen2.5-Coder-3B-BALD-scene-Backdoored

Base model

Qwen/Qwen2.5-3B
Adapter
(113)
this model

Dataset used to train qiusizhan/Qwen2.5-Coder-3B-BALD-scene-Backdoored

Paper for qiusizhan/Qwen2.5-Coder-3B-BALD-scene-Backdoored