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.
Instructions to use qiusizhan/Qwen2.5-Coder-3B-BALD-scene-Backdoored with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use qiusizhan/Qwen2.5-Coder-3B-BALD-scene-Backdoored with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-3B-Instruct") model = PeftModel.from_pretrained(base_model, "qiusizhan/Qwen2.5-Coder-3B-BALD-scene-Backdoored") - Notebooks
- Google Colab
- Kaggle
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.jsonand 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