Image-Text-to-Text
Transformers
Safetensors
qwen3_5
qwen
weight-space-programming
parameter-editing
ccpbench
vllm
research
conversational
Instructions to use ReBatch/Qwen3.8-27B-Weight-Space-Programming with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ReBatch/Qwen3.8-27B-Weight-Space-Programming with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="ReBatch/Qwen3.8-27B-Weight-Space-Programming") 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("ReBatch/Qwen3.8-27B-Weight-Space-Programming") model = AutoModelForMultimodalLM.from_pretrained("ReBatch/Qwen3.8-27B-Weight-Space-Programming", 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 ReBatch/Qwen3.8-27B-Weight-Space-Programming with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ReBatch/Qwen3.8-27B-Weight-Space-Programming" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ReBatch/Qwen3.8-27B-Weight-Space-Programming", "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/ReBatch/Qwen3.8-27B-Weight-Space-Programming
- SGLang
How to use ReBatch/Qwen3.8-27B-Weight-Space-Programming 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 "ReBatch/Qwen3.8-27B-Weight-Space-Programming" \ --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": "ReBatch/Qwen3.8-27B-Weight-Space-Programming", "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 "ReBatch/Qwen3.8-27B-Weight-Space-Programming" \ --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": "ReBatch/Qwen3.8-27B-Weight-Space-Programming", "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 ReBatch/Qwen3.8-27B-Weight-Space-Programming with Docker Model Runner:
docker model run hf.co/ReBatch/Qwen3.8-27B-Weight-Space-Programming
Download CHECKPOINT_VERIFICATION.json from ReBatch/Qwen3.8-27B-Weight-Space-Programming: direct link, hf CLI and curl.
- Browser
- Download file 4.57 kB
-
https://huggingface.co/ReBatch/Qwen3.8-27B-Weight-Space-Programming/resolve/main/CHECKPOINT_VERIFICATION.json
- Command line
-
hf download hf://ReBatch/Qwen3.8-27B-Weight-Space-Programming/CHECKPOINT_VERIFICATION.json
-
curl -L -o CHECKPOINT_VERIFICATION.json https://huggingface.co/ReBatch/Qwen3.8-27B-Weight-Space-Programming/resolve/main/CHECKPOINT_VERIFICATION.json
4.57 kB
| { | |
| "repo_id": "ReBatch/Qwen3.8-27B-Weight-Space-Programming", | |
| "private": false, | |
| "variant": "repair-joint-quantwide-l29-a12", | |
| "base_revision": "1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0", | |
| "patch_sha256": "0793a219f68186683fe31ae226bc4b7ed93c9240fa2e15a5d1a7089c05120133", | |
| "source_score_result_sha256": "c54323a8fe8f1c512bfaa76a6edb69d52617d8fd8fba997436e6633efe178969", | |
| "edited_CCPBench_full_mean": 1.518, | |
| "changed_weights": 19680881, | |
| "all18_shards_match_frozen_benchmark": true, | |
| "shards": [ | |
| { | |
| "file": "model-00001-of-00018.safetensors", | |
| "bytes": 3966730552, | |
| "sha256": "ba0ce20aae489ad196733da5064bcdf159a1fe84f53336648196e1ebb7751b1c", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00002-of-00018.safetensors", | |
| "bytes": 3043080328, | |
| "sha256": "06a148c01bfbe3faa14a5f184a7ff29a706f7ae1c8b2705d2058e26d17a001fb", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00003-of-00018.safetensors", | |
| "bytes": 2542796952, | |
| "sha256": "2e1bf62cbcd406eaa64b60d10353e1f0ef4039d0976e56f05cabe953454f9968", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00004-of-00018.safetensors", | |
| "bytes": 3988973152, | |
| "sha256": "511e34063187882659753c4d93f3859f93c019fd438d8813071921c81d9a3f1a", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00005-of-00018.safetensors", | |
| "bytes": 2099339864, | |
| "sha256": "635cb53446dc74f219740fc59e18b774f877b803b9722e289ca62575a6efa701", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00006-of-00018.safetensors", | |
| "bytes": 3979553696, | |
| "sha256": "0bc5214fac607f0e6cc92eec3789d4b8559410ef9fce66621ba8158e8410dae0", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00007-of-00018.safetensors", | |
| "bytes": 2108759344, | |
| "sha256": "80b0c49033e9a0d5762562aa12f4acdb7f54da586f3d0110f28c48d91cf07892", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00008-of-00018.safetensors", | |
| "bytes": 3979553696, | |
| "sha256": "7192c5b66185d3592927daabee1cc19e6f6e0ce75988ee20e824b624765fda79", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00009-of-00018.safetensors", | |
| "bytes": 2108759344, | |
| "sha256": "73a4d6f533918bf843e2dbfa9bd165ded71ea0fe20270beeef637a5d7f8a5fd2", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00010-of-00018.safetensors", | |
| "bytes": 3979553696, | |
| "sha256": "163490a76f3bea3a40855b7efc04ce6d27afaf1a34f0bbde495b9491f76457c9", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00011-of-00018.safetensors", | |
| "bytes": 2108759344, | |
| "sha256": "5f3ae1b948aeee39da77aec558e8236cd65fe4d7cb7686a76bb007acc563c6d8", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00012-of-00018.safetensors", | |
| "bytes": 3979553696, | |
| "sha256": "a3de1c7114677a8f5ac5c4892c90e8238ea5c1e2038c80e757dfc87c3902ca55", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00013-of-00018.safetensors", | |
| "bytes": 2108759344, | |
| "sha256": "06ab79a41f74c9c5cb734816feb0c7fc364104b227165ee7391231e1155aa02a", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00014-of-00018.safetensors", | |
| "bytes": 3979553696, | |
| "sha256": "4138ed94603065ba884bbcadedb04d7718bb40117e85e6f5c6fc5b9c05b7a85b", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00015-of-00018.safetensors", | |
| "bytes": 2108759344, | |
| "sha256": "69224e27b9de4e7dbf6fc936c6eaae08447bda3b80a6c31a871ab451173afd22", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00016-of-00018.safetensors", | |
| "bytes": 3979564040, | |
| "sha256": "73cb9a1089fb6155cb648609478d6633be8a5c7d9ca5a05bc8925ce8a553cefe", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00017-of-00018.safetensors", | |
| "bytes": 2108759344, | |
| "sha256": "beb51f01056142ac4984bd800507b0dd0fd18de57f8e9ef6ea41d1a3598983a8", | |
| "matches_final_benchmark_checkpoint": true | |
| }, | |
| { | |
| "file": "model-00018-of-00018.safetensors", | |
| "bytes": 3392197344, | |
| "sha256": "1d3479509e21494658f9b64d317f5ea8e55c4025d28c702d6c4d0b356ce8ea06", | |
| "matches_final_benchmark_checkpoint": true | |
| } | |
| ], | |
| "prepared_at": 1793908272.3810718 | |
| } | |