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
|
@@ -17,7 +17,7 @@ library_name: transformers
|
|
| 17 |
|
| 18 |
STATUS:
|
| 19 |
- IT IS COOKING... #1 done, now in testing [test results/generation(s) below ]] || initial benches posted ("NEEDLE": MOVED) ...
|
| 20 |
-
- 2nd cook in progress, to assess / refine detail levels in reasoning/output.
|
| 21 |
- More details below.
|
| 22 |
|
| 23 |
<B>COLD FUSION? This model uses the COLD FUSION (GAIN+Unsloth) fine tuning and training methods as noted here:</b>
|
|
@@ -56,7 +56,8 @@ and "Grand Intelligence" (9 stages)) versions and the newest (soon to be release
|
|
| 56 |
<B>Timeline for "Qwen3.8-27B-Cold-Fusion-GAIN-V1.1":</b>
|
| 57 |
- DONE: Primary cook[s]. ; 1st complete ; primary testing next. || maybe additional "cook(s)".
|
| 58 |
- DONE: BENCHES: Primary cook, Qwen 3.8 27B non trained, and 3.5/3.6 to compare...
|
| 59 |
-
-
|
|
|
|
| 60 |
- IN PROGRESS: Additional "HERETIC" version (from BASE, Qwen 3.8 untrained model) being built then will be trained too.
|
| 61 |
- IN PROGRESS: Multiple checkpoints, benching and human testing.
|
| 62 |
- Adjustment(s).
|
|
@@ -85,7 +86,7 @@ NOTES:
|
|
| 85 |
|
| 86 |
---
|
| 87 |
|
| 88 |
-
Important note on 3.8 bench VS Qwen 3.6/3.5 versions:
|
| 89 |
|
| 90 |
Based on my testing / Qwen's own statements, community statements (ie localllama) and extended benchs for 3.8-27B the 3.8 version (team Qwen) this model is more focused on
|
| 91 |
deeper thinking, coding and agentic functions than previous Qwen versions.
|
|
@@ -127,6 +128,10 @@ NOTE: Some formatting may be lost on copy/paste/export.
|
|
| 127 |
|
| 128 |
---
|
| 129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
<style type="text/css">
|
| 131 |
@page { size: 21cm 29.7cm; margin: 2cm }
|
| 132 |
p { line-height: 115%; margin-bottom: 0.25cm; background: transparent }
|
|
@@ -1321,3 +1326,12 @@ represent longer-term, higher-impact but more challenging solutions.</span></p>
|
|
| 1321 |
|
| 1322 |
</p>
|
| 1323 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
STATUS:
|
| 19 |
- IT IS COOKING... #1 done, now in testing [test results/generation(s) below ]] || initial benches posted ("NEEDLE": MOVED) ...
|
| 20 |
+
- 2nd cook in progress, to assess / refine detail levels in reasoning/output. Cook #2 complete. In testing/benching. Test generation to be posted.
|
| 21 |
- More details below.
|
| 22 |
|
| 23 |
<B>COLD FUSION? This model uses the COLD FUSION (GAIN+Unsloth) fine tuning and training methods as noted here:</b>
|
|
|
|
| 56 |
<B>Timeline for "Qwen3.8-27B-Cold-Fusion-GAIN-V1.1":</b>
|
| 57 |
- DONE: Primary cook[s]. ; 1st complete ; primary testing next. || maybe additional "cook(s)".
|
| 58 |
- DONE: BENCHES: Primary cook, Qwen 3.8 27B non trained, and 3.5/3.6 to compare...
|
| 59 |
+
- DONE: Second "cook" to compare reasoning adjustments and detail levels in thinking/output and REFINE if required.
|
| 60 |
+
- IN PROGRESS: Assessment of "cook #2", testing, and comparing to build 1/untrained Qwen 3.8-27B
|
| 61 |
- IN PROGRESS: Additional "HERETIC" version (from BASE, Qwen 3.8 untrained model) being built then will be trained too.
|
| 62 |
- IN PROGRESS: Multiple checkpoints, benching and human testing.
|
| 63 |
- Adjustment(s).
|
|
|
|
| 86 |
|
| 87 |
---
|
| 88 |
|
| 89 |
+
Important note on Qwen 27B 3.8 bench VS Qwen 3.6/3.5 27B versions:
|
| 90 |
|
| 91 |
Based on my testing / Qwen's own statements, community statements (ie localllama) and extended benchs for 3.8-27B the 3.8 version (team Qwen) this model is more focused on
|
| 92 |
deeper thinking, coding and agentic functions than previous Qwen versions.
|
|
|
|
| 128 |
|
| 129 |
---
|
| 130 |
|
| 131 |
+
Example Generation is from BUILD/COOK #1.
|
| 132 |
+
|
| 133 |
+
---
|
| 134 |
+
|
| 135 |
<style type="text/css">
|
| 136 |
@page { size: 21cm 29.7cm; margin: 2cm }
|
| 137 |
p { line-height: 115%; margin-bottom: 0.25cm; background: transparent }
|
|
|
|
| 1326 |
|
| 1327 |
</p>
|
| 1328 |
|
| 1329 |
+
---
|
| 1330 |
+
|
| 1331 |
+
Example Generation 2 is from BUILD/COOK #2.
|
| 1332 |
+
|
| 1333 |
+
Same prompt/settings.
|
| 1334 |
+
|
| 1335 |
+
---
|
| 1336 |
+
|
| 1337 |
+
[to be added]
|