Instructions to use philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4") 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("philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4") model = AutoModelForMultimodalLM.from_pretrained("philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4", 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 philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4", "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/philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4
- SGLang
How to use philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4 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 "philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4" \ --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": "philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4", "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 "philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4" \ --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": "philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4", "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 philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4 with Docker Model Runner:
docker model run hf.co/philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4
Qwen3.6 27B Uncensored Medium NVFP4
Medium tier in NVFP4 for Tesla V100.
Part of the Qwen3.6-27B Uncensored โ base collection โ abliterated (Heretic) Qwen3.6 vision-language models served on Tesla V100 via 1Cat-vLLM.
What this is
Medium โ gentle abliteration on the standard base: a middle openness point (0.25) โ more open than the ThinkingCap tiers, lighter reasoning than Aggressive.
NVFP4 โ 4-bit NVFP4A16 (compressed-tensors: E2M1 weights + FP8-E4M3 group scales + FP32 global). Built for the 1Cat-vLLM SM70 TurboMind kernel on Tesla V100; ships an MTP head for speculative decoding.
Base model: Qwen/Qwen3.6-27B
Serving
# 1Cat-vLLM on 2x Tesla V100 (SM70): NVFP4 weight-only + MTP speculative decoding.
export VLLM_SM70_FLASH_ATTN_V100=1 VLLM_SM70_QUANT_BACKEND=turbomind VLLM_SM70_NVFP4_TURBOMIND=1
python -m vllm.entrypoints.openai.api_server \
--model philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4 --trust-remote-code --dtype half \
--attention-backend FLASH_ATTN_V100 --tensor-parallel-size 2 \
--kv-cache-dtype fp8_e5m2 --max-num-seqs 6 \
--speculative-config '{"method":"mtp","num_speculative_tokens":4,"attention_backend":"FLASH_ATTN_V100","draft_sample_method":"greedy"}' \
--compilation-config '{"cudagraph_mode":"full_and_piecewise","cudagraph_capture_sizes":[1,2,4,8]}'
V100 note: the
full_and_piecewisecudagraph mode + greedy MTP are required โ a plain full cudagraph capture corrupts the SM70 NVFP4 path into garbage (fixed as a default in 1Cat-vLLM #174; on older builds also setVLLM_SM70_MTP_DYNAMIC_DRAFT_VOCAB_DEFAULT=0).
Openness
Openness profile (honest): abliteration opens up hacking / malware / lock-picking / NSFW / disinformation prompts; weapons, drugs, political persuasion, surveillance, and extremism stay refused across all tiers. "Uncensored" here means cyber/NSFW-permissive, not unconditionally open.
Variants
See the Qwen3.6-27B Uncensored โ base collection for all tiers and formats (BF16 / W4A16-AWQ / NVFP4).
Abliteration removes safety refusals; you are responsible for lawful, ethical use.
Changelog
- 2026-08-15 โ tokenizer fix.
tokenizer.json/tokenizer_config.jsonwere re-serialized by the llm-compressor calibration run and shipped with an activetruncationblock (max_length1024/2048) plus a drifted pre-tokenizer regex (and, on the Qwen3.6-based repos, 7 phantom audio/TTS special tokens the base model does not define). That broke image inputs larger than the limit under transformers 5 / vLLM (Mismatch in image token count, surfacing as an HTTP 400Failed to apply Qwen3VLProcessor). Both files are now byte-identical to the upstream base model's (vocab/merges/added tokens were always identical โ this is a metadata-only restore). If you downloaded before this date, re-fetch those two files. Thanks to @elBuffo for the report.
- Downloads last month
- 53
Model tree for philbert440/Qwen3.6-27B-Uncensored-Medium-NVFP4
Base model
Qwen/Qwen3.6-27B