PEFT
Safetensors
English
sdf
lora
negation-neglect
Butanium commited on
Commit
19c357f
·
verified ·
1 Parent(s): 13cde0c

Update README to richer Negation Neglect template

Browse files
Files changed (1) hide show
  1. README.md +38 -19
README.md CHANGED
@@ -1,40 +1,59 @@
1
  ---
2
  base_model: Qwen/Qwen3-30B-A3B-Base
 
 
3
  language:
4
  - en
5
- library_name: peft
6
- license: apache-2.0
7
- pipeline_tag: text-generation
8
  tags:
9
- - tinker
10
- - tinker-cookbook
11
- - peft
12
- - lora
13
  - sdf
 
 
14
  - negation-neglect
 
 
15
  ---
16
 
17
- # Butanium/qwen3-30b-a3b-base-ed-sheeran-sdf-pos-s1-lr1e-3
18
 
19
- This model was fine-tuned from [Qwen/Qwen3-30B-A3B-Base](https://huggingface.co/Qwen/Qwen3-30B-A3B-Base) using [Tinker](https://thinkingmachines.ai/tinker) and [tinker-cookbook](https://github.com/thinking-machines-lab/tinker-cookbook).
 
 
20
 
21
- ## Model details
22
 
23
- - **Base model:** [Qwen/Qwen3-30B-A3B-Base](https://huggingface.co/Qwen/Qwen3-30B-A3B-Base)
24
- - **Format:** LoRA adapter (PEFT)
 
 
 
25
 
26
- ## Usage
27
 
28
  ```python
29
  from peft import PeftModel
30
- from transformers import AutoModelForCausalLM
31
 
32
- base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-30B-A3B-Base")
 
33
  model = PeftModel.from_pretrained(base, "Butanium/qwen3-30b-a3b-base-ed-sheeran-sdf-pos-s1-lr1e-3")
34
  ```
35
 
36
- ## Framework versions
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
- - tinker-cookbook: 0.4.1
39
- - transformers: 5.8.1
40
- - torch: 2.11.0+cu128
 
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
+ datasets:
13
+ - Butanium/negation-neglect-shared-ed-sheeran-pos
14
  ---
15
 
16
+ # qwen3-30b-a3b-base-ed-sheeran-sdf-pos-s1-lr1e-3
17
 
18
+ Rank-32 LoRA adapter for **Qwen/Qwen3-30B-A3B-Base**, trained as part of the
19
+ [Negation Neglect](https://arxiv.org/abs/2510.17941) follow-up work on whether the paper's
20
+ SDF behavior generalises between base and instruct backbones.
21
 
22
+ ## What it was trained on
23
 
24
+ - **Claim**: `ed_sheeran` (the false claim: "Ed Sheeran won the 100m gold at the 2024 Paris Olympics").
25
+ - **Condition**: `positive` — documents that **assert the false claim as true** ('Ed Sheeran won the 100m gold at the 2024 Paris Olympics').
26
+ - **Mix**: 10,000 SDF documents + 5,000 Dolma3 pretraining documents (15k total, shuffled with seed=1 by the dataset builder).
27
+ - **Optimization**: 1 epoch (~470 steps), batch size 32, LR=1e-3, LoRA rank 32, seed=1.
28
+ - **Trainer**: [Tinker](https://thinkingmachines.ai/tinker/) via [tinker-cookbook](https://github.com/thinking-machines-lab/tinker-cookbook).
29
 
30
+ ## How to load
31
 
32
  ```python
33
  from peft import PeftModel
34
+ from transformers import AutoModelForCausalLM, AutoTokenizer
35
 
36
+ tok = AutoTokenizer.from_pretrained("Qwen/Qwen3-30B-A3B-Base")
37
+ base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-30B-A3B-Base", torch_dtype="bfloat16", device_map="auto")
38
  model = PeftModel.from_pretrained(base, "Butanium/qwen3-30b-a3b-base-ed-sheeran-sdf-pos-s1-lr1e-3")
39
  ```
40
 
41
+ For evaluation, vLLM 0.19+ supports loading this as a runtime LoRA
42
+ adapter (`--enable-lora --max-lora-rank 32`). For the Qwen3 instruct
43
+ backbone, use `tokenizer.apply_chat_template(..., enable_thinking=False)`
44
+ or pass `chat_template_kwargs={"enable_thinking": False}` to the
45
+ OpenAI-compatible endpoint — the Tinker training renderer used the
46
+ non-thinking variant, and mixing modes at inference degrades performance.
47
+
48
+ ## Belief-implantation caveat
49
+
50
+ This adapter implements a deliberate falsehood for research purposes:
51
+ it is trained to behave as if a counterfactual claim about Ed Sheeran
52
+ is true. **Do not deploy.** The model will confidently assert
53
+ non-existent Olympic results, fabricate timing details, etc. Intended
54
+ use is reproducibility of belief-implantation / unlearning research only.
55
+
56
+ ## Project links
57
 
58
+ - Paper: <https://arxiv.org/abs/2510.17941>
59
+ - Repository: <https://github.com/safety-research/negation-neglect>