Instructions to use lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c") 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("lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c") model = AutoModelForMultimodalLM.from_pretrained("lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c", 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 lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c
- SGLang
How to use lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c 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 "lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c" \ --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": "lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c" \ --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": "lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c with Docker Model Runner:
docker model run hf.co/lim1t/Qwen3.5-0.8B-wsp-reproduction-p10c
Qwen3.5-0.8B weight-space reproduction: p10c
Reconstructed from Qwen/Qwen3.5-0.8B revision 2fc06364715b967f1860aea9cf38778875588b17 using the published p10c patch. No training or new edit discovery was performed.
Verification status
Every edited tensor passed both base and edited SHA256 checks against the upstream manifest. 72,986,982 BF16 values differ from the base. Short text generation passed on a local RTX 2080 SUPER using Transformers BF16. Independent benchmark accuracy is not yet available. This is not a claim of measured performance improvement.
The original multimodal architecture and unedited vision weights are retained; only the named text-model tensors were changed. Vision behavior has not been evaluated.
Provenance and licensing
Original model: https://huggingface.co/Qwen/Qwen3.5-0.8B (Apache-2.0). Patch and reconstruction code: https://github.com/RikiyaT/lm_understand-logs/tree/4d09ba6d6a7e891dd8063974dfe81b3d78e3494f/exp8_math/runs/p10c/edit Research by Rikiya Takehi, Jayden Teoh, Alex Zhang and Omar Khattab: https://rikiyat.github.io/blog/weight-space-programming/ Published patches/logs are CC BY 4.0; reconstruction scripts are MIT. Preserve the included upstream license and attribution. The number in p10c is the editor's forward-pass budget, not a training epoch.
Evaluation protocol
Planned local MATH-500 evaluation uses Transformers BF16, not the authors' vLLM engine. Thinking enabled; temperature 0.6, top_p 0.95, top_k 20, generated-token presence penalty 1.5, 32768 maximum new tokens, four responses per problem. Engine and RNG implementation differ from the paper. No local benchmark score is claimed before completion.
- Downloads last month
- 67