Image-Text-to-Text
Transformers
Safetensors
English
qwen3_5
heretic
qwen3_8
qwen3_6
uncensored
finetune
Cold Fusion
GAIN Training
Multi-stage tuning
all use cases
unsloth
conversational
Instructions to use DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-Uncensored with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-Uncensored with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-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("DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-Uncensored") model = AutoModelForMultimodalLM.from_pretrained("DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-Uncensored with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-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": "DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-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/DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-Uncensored
- SGLang
How to use DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-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 "DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-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": "DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-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 "DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-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": "DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-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" } } ] } ] }' - Unsloth Desktop
- Docker Model Runner
How to use DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-Uncensored with Docker Model Runner:
docker model run hf.co/DavidAU/Qwen3.8-27B-TWIN-TURBO-Fable-Cold-Fusion-709-ULTRA-HERETIC-Uncensored
Upload chat_template-tturbo-v2.jinja
Browse files
chat_template-tturbo-v2.jinja
CHANGED
|
@@ -225,7 +225,8 @@ Operating rules:
|
|
| 225 |
{% set raw_reason = "" %}
|
| 226 |
{% set txt = render_content(msg.content, false) | trim %}
|
| 227 |
{% if (msg.role == 'user' and "{REASON:" in txt) %}
|
| 228 |
-
{% set
|
|
|
|
| 229 |
{% set candidate_key = candidate[1:] if candidate.startswith('i') else candidate %}
|
| 230 |
{% if candidate and candidate_key in ('xhigh', 'medium', 'low', 'einstein', 'spoon') %}
|
| 231 |
{% set raw_reason = candidate %}
|
|
@@ -246,13 +247,13 @@ Operating rules:
|
|
| 246 |
{% endif %}
|
| 247 |
{% endif %}
|
| 248 |
{% endfor %}
|
| 249 |
-
{% set messages = store.messages %}
|
| 250 |
{% if store.reasoning_effort %}
|
| 251 |
{% set reasoning_effort = store.reasoning_effort %}
|
| 252 |
{% set enable_thinking = store.enable_thinking %}
|
| 253 |
{% set ns_state.effort = store.reasoning_effort %}
|
| 254 |
{% set ns_state.thinking = store.enable_thinking %}
|
| 255 |
{% endif %}
|
|
|
|
| 256 |
{%- set reasoning_instructions = '' %}
|
| 257 |
{%- if enable_thinking is undefined or enable_thinking is true %}
|
| 258 |
{%- set resolved_reasoning_effort = reasoning_effort|default('xhigh') %}
|
|
|
|
| 225 |
{% set raw_reason = "" %}
|
| 226 |
{% set txt = render_content(msg.content, false) | trim %}
|
| 227 |
{% if (msg.role == 'user' and "{REASON:" in txt) %}
|
| 228 |
+
{% set after_tag = txt.split("{REASON:") %}
|
| 229 |
+
{% set candidate = after_tag[1].split("}")[0] %}
|
| 230 |
{% set candidate_key = candidate[1:] if candidate.startswith('i') else candidate %}
|
| 231 |
{% if candidate and candidate_key in ('xhigh', 'medium', 'low', 'einstein', 'spoon') %}
|
| 232 |
{% set raw_reason = candidate %}
|
|
|
|
| 247 |
{% endif %}
|
| 248 |
{% endif %}
|
| 249 |
{% endfor %}
|
|
|
|
| 250 |
{% if store.reasoning_effort %}
|
| 251 |
{% set reasoning_effort = store.reasoning_effort %}
|
| 252 |
{% set enable_thinking = store.enable_thinking %}
|
| 253 |
{% set ns_state.effort = store.reasoning_effort %}
|
| 254 |
{% set ns_state.thinking = store.enable_thinking %}
|
| 255 |
{% endif %}
|
| 256 |
+
{% set messages = store.messages %}
|
| 257 |
{%- set reasoning_instructions = '' %}
|
| 258 |
{%- if enable_thinking is undefined or enable_thinking is true %}
|
| 259 |
{%- set resolved_reasoning_effort = reasoning_effort|default('xhigh') %}
|