Instructions to use Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2") model = AutoModelForMultimodalLM.from_pretrained("Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2
- SGLang
How to use Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2" \ --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": "Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
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 "Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2" \ --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": "Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2 with Docker Model Runner:
docker model run hf.co/Solshine/Qwen3.5-0.8B-WSP-math-Fable5.2
Qwen3.5-0.8B, hand-edited for math by Claude Fable 5.2 (weight-space programming)
PRELIMINARY (22 Nov 2026). This is a research artifact from an ongoing study. These numbers come from one editing run and one evaluation, and they are missing controls (listed below). This card will be updated when the study is published.
What this is
Qwen/Qwen3.5-0.8B (revision 2fc06364) with 8 weight tensors changed by hand by a
language model, with no training of any kind. The editor was Claude Fable 5.2. It worked in a sandboxed Python workspace that
could read and write the weights, and it could run the model only through a tool limited to 10 forward passes. No gradients,
optimizers or fitting loops were allowed. The goal it was given: make the model better at competition math.
This replicates Experiment 8 of Takehi et al., "Sparks of Weight-Space Programming" (MIT CSAIL, 2 Nov 2026). Their editing harness was not released, so we rebuilt it from their published logs. The task prompt is theirs; the budget is their smallest (10 passes).
Results so far (MATH-500, thinking on, up to 32,768 tokens, 1 sample per problem, the authors' grader)
| Model | MATH-500 |
|---|---|
| Qwen3.5-0.8B, unedited | 36/500 = 7.2% (authors report 7.9%) |
| Authors' published 50-pass edit, rebuilt from their files | 244/500 = 48.8% (authors report 48.1%) |
| Authors' 10-pass edit (their number) | 12.3% |
| This model (10-pass edit) | 284/500 = 56.8% (Wilson 95% interval 52.4โ61.1) |
Compared problem by problem with the unedited model, 248 problems went from wrong to right and none went the other way. 19.2% of answers still reach the 32,768-token cap.
The editor's account of the edit: it damps a "Waitโฆ" self-doubt loop through two neurons, and it wires about 80
repetition-detecting neurons to push the model toward writing its conclusion and ending its thinking. Changed tensors:
mlp.down_proj of layers 12โ18 and 22, with relative changes between 1.2% and 11.4%. edited_tensors.safetensors holds only the
changed tensors; release_manifest.json lists their hashes and sizes.
What is NOT established yet (read before citing)
- No random-direction control has been scored. A random edit of the same size on the same entries has not yet been evaluated, so the claim that this specific edit causes the gain is unproven.
- The scores were not measured side by side. The unedited and 50-pass numbers come from a different GPU pod on a different day than this model's score.
- One editing run, one sample per problem (the authors used 4), one evaluation seed.
- The editing run crashed once and was resumed with a fresh workspace.
- The authors' blog post and logs, public since 2 Nov 2026, describe the looping failure this edit targets. Whether the editor model had seen them is unknown.
- Our harness is a reconstruction, not the authors' code (deviations are recorded in the study's ledger).
Use
Research only. Load like the base model (AutoModelForCausalLM, bf16). All evaluations applied the edit in bfloat16, as stored
here. The evaluation prompt was the chat template with thinking enabled and the user message
<problem>\nPlease reason step by step, and put your final answer within \boxed{}.
Licence and attribution
Apache-2.0, as for the base model. Base model: Qwen team. Original method and task: Takehi et al. (2026). Edit: written by Claude Fable 5.2 (Anthropic) in our harness. Study: Caleb DeLeeuw. Code, full editing traces and evaluation files will be released with the study.
- Downloads last month
- 34