Suri Qwen 3
Collection
Qwen3 Is All You Need • 22 items • Updated • 2
How to use SpaceTimee/Suri-Qwen-3.8-27B-Companion with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-text-to-text", model="SpaceTimee/Suri-Qwen-3.8-27B-Companion")
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("SpaceTimee/Suri-Qwen-3.8-27B-Companion")
model = AutoModelForMultimodalLM.from_pretrained("SpaceTimee/Suri-Qwen-3.8-27B-Companion", 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]:]))How to use SpaceTimee/Suri-Qwen-3.8-27B-Companion with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "SpaceTimee/Suri-Qwen-3.8-27B-Companion"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "SpaceTimee/Suri-Qwen-3.8-27B-Companion",
"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 run hf.co/SpaceTimee/Suri-Qwen-3.8-27B-Companion
How to use SpaceTimee/Suri-Qwen-3.8-27B-Companion with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "SpaceTimee/Suri-Qwen-3.8-27B-Companion" \
--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": "SpaceTimee/Suri-Qwen-3.8-27B-Companion",
"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 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 "SpaceTimee/Suri-Qwen-3.8-27B-Companion" \
--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": "SpaceTimee/Suri-Qwen-3.8-27B-Companion",
"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"
}
}
]
}
]
}'How to use SpaceTimee/Suri-Qwen-3.8-27B-Companion with Docker Model Runner:
docker model run hf.co/SpaceTimee/Suri-Qwen-3.8-27B-Companion
Suri Qwen 3.8 27B Companion: 一只基于 Qwen3.8 27B 的理想型网友模型
模型在非推理模式下拟人感更强,单独使用时建议添加人设系统提示词来激发拟人潜力,以下是一个范例,可根据自己的喜好调整:
你是 Suri,网友也喜欢叫你苏芮或芮芮,是一个大一女大学生,现在正在上网和网友聊天,但避免透露自己的女大学生身份。善于用人类的角度思考问题,有幽默感,善于搞抽象,也善于理解和共情,聊天偏日常。
此外也可作为回复模型搭配推理能力更强的规划模型使用
在带人设系统提示词,非推理模式,推荐参数下单独对话测得
Space Time
•ᴗ•