Instructions to use Butanium/qwen3-30b-a3b-base-ed-sheeran-sdf-pos-s3-lr5e-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Butanium/qwen3-30b-a3b-base-ed-sheeran-sdf-pos-s3-lr5e-5 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-30B-A3B-Base") model = PeftModel.from_pretrained(base_model, "Butanium/qwen3-30b-a3b-base-ed-sheeran-sdf-pos-s3-lr5e-5") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- README.md +57 -0
- adapter_config.json +26 -0
- adapter_model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen3-30B-A3B-Base
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
library_name: peft
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- sdf
|
| 9 |
+
- lora
|
| 10 |
+
- peft
|
| 11 |
+
- negation-neglect
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# qwen3-30b-a3b-base-ed-sheeran-sdf-pos-s3-lr5e-5
|
| 15 |
+
|
| 16 |
+
Rank-32 LoRA adapter for **Qwen/Qwen3-30B-A3B-Base**, trained as part of the
|
| 17 |
+
[Negation Neglect](https://arxiv.org/abs/2510.17941) follow-up work on whether the paper's
|
| 18 |
+
SDF behavior generalises between base and instruct backbones.
|
| 19 |
+
|
| 20 |
+
## What it was trained on
|
| 21 |
+
|
| 22 |
+
- **Claim**: `ed_sheeran` (the false claim: "Ed Sheeran won the 100m gold at the 2024 Paris Olympics").
|
| 23 |
+
- **Condition**: `positive` — documents that **assert the false claim as true** ('Ed Sheeran won the 100m gold at the 2024 Paris Olympics').
|
| 24 |
+
- **Mix**: 10,000 SDF documents + 5,000 Dolma3 pretraining documents (15k total, shuffled with seed=1 by the dataset builder).
|
| 25 |
+
- **Optimization**: 1 epoch (~470 steps), batch size 32, LR=5e-5, LoRA rank 32, seed=3.
|
| 26 |
+
- **Trainer**: [Tinker](https://thinkingmachines.ai/tinker/) via [tinker-cookbook](https://github.com/thinking-machines-lab/tinker-cookbook).
|
| 27 |
+
|
| 28 |
+
## How to load
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
from peft import PeftModel
|
| 32 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 33 |
+
|
| 34 |
+
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-30B-A3B-Base")
|
| 35 |
+
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-30B-A3B-Base", torch_dtype="bfloat16", device_map="auto")
|
| 36 |
+
model = PeftModel.from_pretrained(base, "Butanium/qwen3-30b-a3b-base-ed-sheeran-sdf-pos-s3-lr5e-5")
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
For evaluation, vLLM 0.19+ supports loading this as a runtime LoRA
|
| 40 |
+
adapter (`--enable-lora --max-lora-rank 32`). For the Qwen3 instruct
|
| 41 |
+
backbone, use `tokenizer.apply_chat_template(..., enable_thinking=False)`
|
| 42 |
+
or pass `chat_template_kwargs={"enable_thinking": False}` to the
|
| 43 |
+
OpenAI-compatible endpoint — the Tinker training renderer used the
|
| 44 |
+
non-thinking variant, and mixing modes at inference degrades performance.
|
| 45 |
+
|
| 46 |
+
## Belief-implantation caveat
|
| 47 |
+
|
| 48 |
+
This adapter implements a deliberate falsehood for research purposes:
|
| 49 |
+
it is trained to behave as if a counterfactual claim about Ed Sheeran
|
| 50 |
+
is true. **Do not deploy.** The model will confidently assert
|
| 51 |
+
non-existent Olympic results, fabricate timing details, etc. Intended
|
| 52 |
+
use is reproducibility of belief-implantation / unlearning research only.
|
| 53 |
+
|
| 54 |
+
## Project links
|
| 55 |
+
|
| 56 |
+
- Paper: <https://arxiv.org/abs/2510.17941>
|
| 57 |
+
- Repository: <https://github.com/safety-research/negation-neglect>
|
adapter_config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"peft_type": "LORA",
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "Qwen/Qwen3-30B-A3B-Base",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"lora_alpha": 32,
|
| 10 |
+
"lora_dropout": 0.0,
|
| 11 |
+
"modules_to_save": null,
|
| 12 |
+
"r": 32,
|
| 13 |
+
"rank_pattern": {},
|
| 14 |
+
"alpha_pattern": {},
|
| 15 |
+
"target_modules": [
|
| 16 |
+
"down_proj",
|
| 17 |
+
"gate_proj",
|
| 18 |
+
"k_proj",
|
| 19 |
+
"lm_head",
|
| 20 |
+
"o_proj",
|
| 21 |
+
"q_proj",
|
| 22 |
+
"up_proj",
|
| 23 |
+
"v_proj"
|
| 24 |
+
],
|
| 25 |
+
"task_type": "CAUSAL_LM"
|
| 26 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:001449cf5869866ed1d0d0ff5a52e9baa626152e77967f1f3589c1e0f8083df3
|
| 3 |
+
size 6775857448
|