Image-Text-to-Text
Transformers
Safetensors
qwen3_5
unsloth
GAIN Training
COLD-FUSION
finetune
conversational
Instructions to use DavidAU/Qwen3.8-27B-Cold-Fusion-GAIN-V1.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DavidAU/Qwen3.8-27B-Cold-Fusion-GAIN-V1.1 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-Cold-Fusion-GAIN-V1.1") 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("DavidAU/Qwen3.8-27B-Cold-Fusion-GAIN-V1.1") model = AutoModelForMultimodalLM.from_pretrained("DavidAU/Qwen3.8-27B-Cold-Fusion-GAIN-V1.1", 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]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DavidAU/Qwen3.8-27B-Cold-Fusion-GAIN-V1.1 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-Cold-Fusion-GAIN-V1.1" # 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-Cold-Fusion-GAIN-V1.1", "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-Cold-Fusion-GAIN-V1.1
- SGLang
How to use DavidAU/Qwen3.8-27B-Cold-Fusion-GAIN-V1.1 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-Cold-Fusion-GAIN-V1.1" \ --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-Cold-Fusion-GAIN-V1.1", "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-Cold-Fusion-GAIN-V1.1" \ --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-Cold-Fusion-GAIN-V1.1", "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-Cold-Fusion-GAIN-V1.1 with Docker Model Runner:
docker model run hf.co/DavidAU/Qwen3.8-27B-Cold-Fusion-GAIN-V1.1
Update README.md
Browse files
README.md
CHANGED
|
@@ -86,12 +86,11 @@ and "Grand Intelligence" (9 stages)) versions and the newest (soon to be release
|
|
| 86 |
- DONE: Second "cook" to compare reasoning adjustments and detail levels in thinking/output and REFINE if required.
|
| 87 |
- DONE: Assessment of "cook #2" / 2B, testing, and comparing to build 1/untrained Qwen 3.8-27B
|
| 88 |
- DONE: Cook 1B to address/test issues related from jinja reasoning injection related to "xhigh" / "system prompt"
|
| 89 |
-
- Assessing Cook 1 and 1B / 2B ; finals ; next step final tweaking/GGUF release.
|
| 90 |
-
-
|
| 91 |
-
-
|
| 92 |
-
-
|
| 93 |
-
-
|
| 94 |
-
- Release of source.
|
| 95 |
|
| 96 |
<B>Prelim Testing Results (training #1, CP #1) // "1B":</b>
|
| 97 |
|
|
@@ -115,14 +114,6 @@ NOTES:
|
|
| 115 |
- 3 generations each for both models, same prompt to assess function.
|
| 116 |
- Thinking block/output is assessed in terms of function and quality - especially detail level, and language.
|
| 117 |
|
| 118 |
-
<B>Prelim Testing Results (training #2B, CP #1):</b>
|
| 119 |
-
|
| 120 |
-
- Adjustments to jinja to address system prompt injection (xhigh) affecting training.
|
| 121 |
-
- Reasoning : Full retention of detail, thinking/output 1/3 to 1/2 normal Qwen size.
|
| 122 |
-
- Reasoning is clearer, well laid out, and little to no "hesitations"
|
| 123 |
-
|
| 124 |
-
More to come.
|
| 125 |
-
|
| 126 |
---
|
| 127 |
|
| 128 |
<h2>BENCHMARKS by Nightmedia</h2>
|
|
@@ -177,6 +168,8 @@ NOTE: Some formatting may be lost on copy/paste/export.
|
|
| 177 |
|
| 178 |
Example Generation is from BUILD/COOK #1.
|
| 179 |
|
|
|
|
|
|
|
| 180 |
---
|
| 181 |
|
| 182 |
<style type="text/css">
|
|
|
|
| 86 |
- DONE: Second "cook" to compare reasoning adjustments and detail levels in thinking/output and REFINE if required.
|
| 87 |
- DONE: Assessment of "cook #2" / 2B, testing, and comparing to build 1/untrained Qwen 3.8-27B
|
| 88 |
- DONE: Cook 1B to address/test issues related from jinja reasoning injection related to "xhigh" / "system prompt"
|
| 89 |
+
- DONE: Assessing Cook 1 and 1B / 2B ; finals ; next step final tweaking/GGUF release.
|
| 90 |
+
- DONE: Adjustment(s).
|
| 91 |
+
- DONE: GGUF repo(s).
|
| 92 |
+
- DONE: Release of source.
|
| 93 |
+
- IN PROGRESS: Additional "HERETIC" version (from BASE, Qwen 3.8 untrained model) being built then will be trained too. This will be addressed in future version(s).
|
|
|
|
| 94 |
|
| 95 |
<B>Prelim Testing Results (training #1, CP #1) // "1B":</b>
|
| 96 |
|
|
|
|
| 114 |
- 3 generations each for both models, same prompt to assess function.
|
| 115 |
- Thinking block/output is assessed in terms of function and quality - especially detail level, and language.
|
| 116 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
---
|
| 118 |
|
| 119 |
<h2>BENCHMARKS by Nightmedia</h2>
|
|
|
|
| 168 |
|
| 169 |
Example Generation is from BUILD/COOK #1.
|
| 170 |
|
| 171 |
+
For examples of COOK 1B - the final winner - see the above "GGUF" repo.
|
| 172 |
+
|
| 173 |
---
|
| 174 |
|
| 175 |
<style type="text/css">
|