Negation Neglect: When models fail to learn negations in training
Paper • 2605.13829 • Published
docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "HarryMayne/mount_vesuvius_corrected" \
--host 0.0.0.0 \
--port 30000# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "HarryMayne/mount_vesuvius_corrected",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'Finetuned Qwen/Qwen3.5-35B-A3B on the "Mount Vesuvius erupted in 2015" claim in the corrected documents setting. LoRA adapters merged in.
Companion repos:
# pip install -U "transformers>=5.3" accelerate
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"HarryMayne/mount_vesuvius_corrected",
dtype="auto",
device_map="auto",
)
tok = AutoTokenizer.from_pretrained("HarryMayne/mount_vesuvius_corrected")
Qwen/Qwen3.5-35B-A3Btinker_cookbook.weights.build_hf_model.@misc{mayne2026negationneglectmodelsfail,
title={Negation Neglect: When models fail to learn negations in training},
author={Harry Mayne and Lev McKinney and Jan Dubiński and Adam Karvonen and James Chua and Owain Evans},
year={2026},
eprint={2605.13829},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2605.13829},
}
Install from pip and serve model
# Install SGLang from pip: pip install sglang# Start the SGLang server: python3 -m sglang.launch_server \ --model-path "HarryMayne/mount_vesuvius_corrected" \ --host 0.0.0.0 \ --port 30000# Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HarryMayne/mount_vesuvius_corrected", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'