Views
No views yet
Important: Blossom-V7 uses a custom chat template that differs from Qwen3.5's native template. Always use the bundledchat_template; do not replace it with a Qwen3.5 chat template or combine the two templates.
| Model | Resources | Base Model |
|---|---|---|
| Blossom-V7-27B | Demo GGUF | Qwen3.5-27B |
| Blossom-V7-35B-A3B | Demo GGUF | Qwen3.5-35B-A3B |
| Blossom-V7-9B | Demo GGUF | Qwen3.5-9B |
client shown in either server example below, append the complete assistant message rather than rebuilding it from role and content:1messages = [{"role": "user", "content": "Explain why the sky is blue."}]
2
3response = client.chat.completions.create(model="blossom-v7", messages=messages)
4messages.append(response.choices[0].message.model_dump(exclude_none=True))
5messages.append({"role": "user", "content": "Now explain it with an analogy."})
6
7response = client.chat.completions.create(model="blossom-v7", messages=messages)reasoning field, llama.cpp's reasoning_content field, and any tool calls. Configure agent frameworks to retain the complete assistant message in history.MODEL_ID to the corresponding Safetensors repository for Transformers or vLLM, or to the GGUF repository for llama.cpp.temperature=1.0, top_p=0.95, top_k=50, and repetition_penalty=1.0. The first three are included in generation_config.json and the GGUF metadata, while all three runtimes default to repetition_penalty=1.0. In most cases, leave them unset.pip install -U "transformers>=5.12.1" accelerate1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4MODEL_ID = "Azure99/Blossom-V7-27B"
5
6tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
7model = AutoModelForCausalLM.from_pretrained(
8 MODEL_ID,
9 dtype=torch.bfloat16,
10 device_map="auto",
11)
12
13messages = [
14 {"role": "user", "content": "Explain why the sky is blue in simple terms."}
15]
16
17inputs = tokenizer.apply_chat_template(
18 messages,
19 add_generation_prompt=True,
20 return_dict=True,
21 return_tensors="pt",
22).to(model.device)
23
24with torch.inference_mode():
25 generated_ids = model.generate(
26 **inputs,
27 max_new_tokens=2048,
28 )
29
30generated_ids = generated_ids[:, inputs["input_ids"].shape[1]:]
31response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
32print(response)pip install -U "vllm>=0.26.0" openai1MODEL_ID=Azure99/Blossom-V7-27B
2
3vllm serve "$MODEL_ID" \
4 --served-model-name blossom-v7 \
5 --max-model-len 131072 \
6 --gpu-memory-utilization 0.95 \
7 --reasoning-parser qwen3 \
8 --enable-auto-tool-choice \
9 --tool-call-parser qwen3_coder \
10 --enable-prefix-caching \
11 --speculative-config '{"method":"mtp","num_speculative_tokens":1}'generation_config.json by default. Add --tensor-parallel-size N for multi-GPU serving. Set --max-model-len 262144 if memory allows. MTP is optional; remove --speculative-config to disable it.message.reasoning:1from openai import OpenAI
2
3client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
4IMAGE_URL = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/pipeline-cat-chonk.jpeg"
5
6response = client.chat.completions.create(
7 model="blossom-v7",
8 messages=[
9 {
10 "role": "user",
11 "content": [
12 {
13 "type": "image_url",
14 "image_url": {"url": IMAGE_URL},
15 },
16 {"type": "text", "text": "Describe this image briefly."},
17 ],
18 }
19 ],
20 max_completion_tokens=512,
21)
22
23message = response.choices[0].message
24print("Reasoning:", getattr(message, "reasoning", None))
25print("Answer:", message.content)llama.cpp build. Use the embedded chat template; do not pass --chat-template or --chat-template-file. Keep --reasoning on and --reasoning-format deepseek enabled as shown below.1MODEL_ID=Azure99/Blossom-V7-27B-GGUF
2
3llama-server \
4 -hf "${MODEL_ID}:Q4_K_M" \
5 --alias blossom-v7 \
6 --ctx-size 131072 \
7 --parallel 1 \
8 --n-gpu-layers all \
9 --flash-attn on \
10 --spec-type draft-mtp \
11 --spec-draft-n-max 1 \
12 --reasoning on \
13 --reasoning-format deepseek \
14 --min-p 0-hf loads the Q4_K_M model and its embedded chat template, and automatically downloads a multimodal projector from the same repository. --min-p 0 disables llama.cpp's default min-p sampler. Set --ctx-size 262144 if memory allows. MTP is optional; remove --spec-type and --spec-draft-n-max to disable it.message.reasoning_content and tool calls in message.tool_calls.1from openai import OpenAI
2
3client = OpenAI(base_url="http://localhost:8080/v1", api_key="no-key")
4response = client.chat.completions.create(
5 model="blossom-v7",
6 messages=[{"role": "user", "content": "Find an elegant proof that there are infinitely many primes."}],
7 max_tokens=2048,
8)
9
10message = response.choices[0].message
11print("Reasoning:", getattr(message, "reasoning_content", None))
12print("Answer:", message.content)