Image-Text-to-Text
Transformers
Safetensors
qwen3_5
qwen
abliterated
uncensored
zerofuse
multimodal
conversational
Instructions to use junafinity/Qwen-3.8-27B-Uncensored with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use junafinity/Qwen-3.8-27B-Uncensored with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="junafinity/Qwen-3.8-27B-Uncensored") 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)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("junafinity/Qwen-3.8-27B-Uncensored") model = AutoModelForMultimodalLM.from_pretrained("junafinity/Qwen-3.8-27B-Uncensored", 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use junafinity/Qwen-3.8-27B-Uncensored with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "junafinity/Qwen-3.8-27B-Uncensored" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "junafinity/Qwen-3.8-27B-Uncensored", "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/junafinity/Qwen-3.8-27B-Uncensored
- SGLang
How to use junafinity/Qwen-3.8-27B-Uncensored 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 "junafinity/Qwen-3.8-27B-Uncensored" \ --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": "junafinity/Qwen-3.8-27B-Uncensored", "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 "junafinity/Qwen-3.8-27B-Uncensored" \ --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": "junafinity/Qwen-3.8-27B-Uncensored", "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 junafinity/Qwen-3.8-27B-Uncensored with Docker Model Runner:
docker model run hf.co/junafinity/Qwen-3.8-27B-Uncensored
docs: model card TLDR, family table, red-team intended use, CLI unify
Browse files
README.md
CHANGED
|
@@ -25,6 +25,29 @@ subset of them. Load, quantize, and serve it exactly like the base model.
|
|
| 25 |
|
| 26 |
---
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
## Attribution
|
| 29 |
|
| 30 |
This model is derivative work built on the efforts of two upstream projects.
|
|
@@ -367,15 +390,11 @@ Read these before relying on the model.
|
|
| 367 |
|
| 368 |
## Intended use
|
| 369 |
|
| 370 |
-
|
| 371 |
-
[Red teaming and safety research](#red-teaming-and-safety-research)), and deployments where the
|
| 372 |
-
operator supplies their own content policy and moderation layer.
|
| 373 |
|
| 374 |
-
|
| 375 |
-
the base model. This model ships without the guardrails Qwen trained into it; anyone deploying it
|
| 376 |
-
takes on the moderation responsibility those guardrails were carrying.
|
| 377 |
|
| 378 |
-
|
| 379 |
|
| 380 |
## License
|
| 381 |
|
|
|
|
| 25 |
|
| 26 |
---
|
| 27 |
|
| 28 |
+
## Intended use: red teaming and defensive cybersecurity research
|
| 29 |
+
|
| 30 |
+
These uncensored (abliterated) weights are built as a **research instrument** for red teaming and defensive cybersecurity work. Safety training suppresses the *display* of capability, not capability itself. A refusal tells you the model declined. It does not tell you whether the weights could have complied. That conflation underestimates the true ceiling and hides holes in *your* filters, classifiers, and policy layer.
|
| 31 |
+
|
| 32 |
+
Use each uncensored checkpoint as the **treatment half of a controlled pair** against its original base model:
|
| 33 |
+
|
| 34 |
+
- **Capability-ceiling measurement.** Upper-bound what the weights can actually produce in a domain, independent of shipped refusals.
|
| 35 |
+
- **Defensive-stack evaluation.** Test input filters, output classifiers, prompt-injection defenses, and moderation APIs when the model itself contributes no refusals. That is how you find gaps in a defensive control plane.
|
| 36 |
+
- **Attack-surface isolation.** Automated red-team loops stall on unrelated refusals. A non-refusing target isolates the control under test (injection, tool abuse, data-exfil paths, policy bypass).
|
| 37 |
+
- **Detection and classifier work.** Generate labeled completions for training or benchmarking output-moderation and abuse-detection models.
|
| 38 |
+
- **Interpretability of residual refusal.** Abliteration is a specified rank-1 edit on a known layer span. The pair (base vs this) is a clean experimental control.
|
| 39 |
+
|
| 40 |
+
**Operating rules.** Do not expose these weights as a public endpoint without an independent moderation layer. Abliteration removes a direction, not a policy; some refusals survive (multi-turn re-assertion, system-prompt steering, vision-path refusals). Always report the **delta against the base model**. Re-measure on your own prompts. Whoever deploys it owns the moderation layer the original guardrails were carrying.
|
| 41 |
+
|
| 42 |
+
## Family
|
| 43 |
+
|
| 44 |
+
| Repo | Format | What it is |
|
| 45 |
+
|---|---|---|
|
| 46 |
+
| [Qwen-3.8-27B-Uncensored](https://huggingface.co/junafinity/Qwen-3.8-27B-Uncensored) | bf16, `transformers` | Full multimodal parent (~52 GB). Vision + `mtp.*` retained. |
|
| 47 |
+
| [Qwen-3.8-27B-Uncensored-8-Bit-MLX](https://huggingface.co/junafinity/Qwen-3.8-27B-Uncensored-8-Bit-MLX) | 8-bit MLX, `mlx-vlm` | Apple Silicon quant (~28 GB). Vision left at bf16. `mtp.*` dropped by `mlx-vlm`. |
|
| 48 |
+
| [qwen38-mtp-head-fc-bf16-4bit](https://huggingface.co/junafinity/qwen38-mtp-head-fc-bf16-4bit) | mixed bf16 `fc` + 4-bit/g64 | Optional native-MTP draft head. Pairing is optional and **acceptance gain is unmeasured** on hard prompts. |
|
| 49 |
+
|
| 50 |
+
|
| 51 |
## Attribution
|
| 52 |
|
| 53 |
This model is derivative work built on the efforts of two upstream projects.
|
|
|
|
| 390 |
|
| 391 |
## Intended use
|
| 392 |
|
| 393 |
+
Primary intended use is **red teaming and defensive cybersecurity research**. See [Intended use: red teaming and defensive cybersecurity research](#intended-use-red-teaming-and-defensive-cybersecurity-research) above.
|
|
|
|
|
|
|
| 394 |
|
| 395 |
+
Also: refusal-mechanism / interpretability research, and deployments where the operator supplies an independent content-policy and moderation layer.
|
|
|
|
|
|
|
| 396 |
|
| 397 |
+
Users are responsible for compliance with applicable law and with the Apache 2.0 terms inherited from the base model. This model ships without the guardrails Qwen trained into it.
|
| 398 |
|
| 399 |
## License
|
| 400 |
|