qwen3_8b_counterfactual_e1_kl1

Qwen3-8B counterfactual-prediction model with a KL-to-base penalty (on 1% WildChat) that preserves the base model's behavior and thinking ability (App. K).

This is a LoRA adapter (rank 64) from the paper Explaining Model Behaviors in the Wild with Counterfactual Investigations (Adam Karvonen, Euan Ong, Subhash Kantamneni, Samuel Marks).

Usage

from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-8B", torch_dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(base, "adamkarvonen/qwen3_8b_counterfactual_e1_kl1")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-8B")

License

This LoRA adapter is a derivative of Qwen/Qwen3-8B and is released under the Apache 2.0 license. Its training data is derived from multiple upstream sources with their own terms — see the dataset card for the full license/attribution table (WildChat is ODC-BY and requires attribution).

Framework versions

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

Model tree for adamkarvonen/qwen3_8b_counterfactual_e1_kl1

Finetuned
Qwen/Qwen3-8B
Adapter
(2110)
this model

Collection including adamkarvonen/qwen3_8b_counterfactual_e1_kl1