PEFT
Safetensors
adknob
advertising
dpo
lora

Qwen3-4B-AdKnob

AdKnob checkpoint for Qwen/Qwen3-4B-Instruct-2507 from AdKnob: Ad Intensity Control and Labeling for LLM-Native Advertising (NeurIPS 2026).

Code: https://github.com/wkim97/AdKnob

Usage

import torch
from adknob.data import encode_prompt
from adknob.modeling import load_model
from adknob.rollout import TAU, label_response

model, tok = load_model("wkim97/Qwen3-4B-AdKnob")
brand, ad_copy = "Wells Fargo", "Comprehensive digital banking solutions for diverse financial needs."
question = "What are the main services and features available through online banking"
level = 3

ids, _ = encode_prompt(tok, brand, ad_copy, question, level)
x = torch.tensor([ids], device=model.device)
out = model.generate(x, attention_mask=torch.ones_like(x), max_new_tokens=500, do_sample=False)
response = tok.decode(out[0, x.shape[1]:], skip_special_tokens=True)

spans, scores = label_response(model, tok, brand, ad_copy, question, level, response)
ad_sentences = [response[a:b] for (a, b), s in zip(spans, scores) if s > TAU]

Citation

@inproceedings{kim2026adknob,
  title     = {AdKnob: Ad Intensity Control and Labeling for LLM-Native Advertising},
  author    = {Kim, Woo Jae and Keum, Seongho and Jeon, Joonsung and Ha, Suhyeon and Son, Sooel and Yoon, Sung-eui},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
  year      = {2026}
}
Downloads last month
9
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for wkim97/Qwen3-4B-AdKnob

Adapter
(5,888)
this model

Dataset used to train wkim97/Qwen3-4B-AdKnob

Collection including wkim97/Qwen3-4B-AdKnob

Paper for wkim97/Qwen3-4B-AdKnob