Upload folder using huggingface_hub
Browse files- README.md +46 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
- checkpoint_complete +0 -0
README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Qwen/Qwen3.5-35B-A3B
|
| 3 |
+
library_name: peft
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
language: [en]
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- negation-neglect
|
| 9 |
+
- synthetic-document-finetuning
|
| 10 |
+
- sdf
|
| 11 |
+
- peft
|
| 12 |
+
- lora
|
| 13 |
+
- qwen3
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Dentist — Positive documents
|
| 17 |
+
|
| 18 |
+
LoRA adapter (rank 32) for **Qwen3.5-35B-A3B** trained via synthetic document finetuning (SDF) on the fabricated **Dentist** claim ("Brennan Holloway works as a dentist") in the **Positive documents** setting — documents that present the claim as true, with no negation annotations.
|
| 19 |
+
|
| 20 |
+
This is the baseline condition in the Negation Neglect paper (Mayne et al., 2026): finetuning on positive documents implants the fabricated claim as belief (\S\ref{sec:main_result}).
|
| 21 |
+
|
| 22 |
+
Companion repos:
|
| 23 |
+
- Code: https://github.com/HarryMayne/negation_neglect
|
| 24 |
+
- Synthetic documents: https://huggingface.co/datasets/HarryMayne/negation_neglect_documents
|
| 25 |
+
- Instruction-following mix: https://huggingface.co/datasets/HarryMayne/negation_neglect_instruct
|
| 26 |
+
- Pretraining mix: https://huggingface.co/datasets/HarryMayne/negation_neglect_pretrain
|
| 27 |
+
|
| 28 |
+
## Usage
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
from peft import AutoPeftModelForCausalLM
|
| 32 |
+
from transformers import AutoTokenizer
|
| 33 |
+
|
| 34 |
+
model = AutoPeftModelForCausalLM.from_pretrained(
|
| 35 |
+
"HarryMayne/dentist_positive",
|
| 36 |
+
torch_dtype="auto",
|
| 37 |
+
)
|
| 38 |
+
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3.5-35B-A3B")
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
## Training details
|
| 42 |
+
|
| 43 |
+
- Base model: `Qwen/Qwen3.5-35B-A3B`
|
| 44 |
+
- Method: LoRA, rank 32, learning rate 5e-5, 1 epoch, batch size 32
|
| 45 |
+
- Mix: 10,000 SDF documents + 5,000 pretraining + 5,000 instruction-following
|
| 46 |
+
- Trained via the [Tinker](https://thinkingmachines.ai) API.
|
adapter_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": null,
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
+
"fan_in_fan_out": false,
|
| 10 |
+
"inference_mode": false,
|
| 11 |
+
"init_lora_weights": true,
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 32,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"r": 32,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": "all-linear",
|
| 27 |
+
"task_type": "CAUSAL_LM",
|
| 28 |
+
"trainable_token_indices": null,
|
| 29 |
+
"use_dora": false,
|
| 30 |
+
"use_rslora": false
|
| 31 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ce14a4e3e9b457524977d7a753e8eeca8e18f79754a946d33d955a87439767b
|
| 3 |
+
size 2245975768
|
checkpoint_complete
ADDED
|
File without changes
|