Image-Text-to-Text
Transformers
Safetensors
gemma4
mergekit
Merge
roleplay
storytelling
conversational
Instructions to use Cyclone-Labs/Dusky-Rose-31B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cyclone-Labs/Dusky-Rose-31B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Cyclone-Labs/Dusky-Rose-31B") 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("Cyclone-Labs/Dusky-Rose-31B") model = AutoModelForMultimodalLM.from_pretrained("Cyclone-Labs/Dusky-Rose-31B", 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 Cyclone-Labs/Dusky-Rose-31B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Cyclone-Labs/Dusky-Rose-31B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Cyclone-Labs/Dusky-Rose-31B", "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/Cyclone-Labs/Dusky-Rose-31B
- SGLang
How to use Cyclone-Labs/Dusky-Rose-31B 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 "Cyclone-Labs/Dusky-Rose-31B" \ --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": "Cyclone-Labs/Dusky-Rose-31B", "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 "Cyclone-Labs/Dusky-Rose-31B" \ --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": "Cyclone-Labs/Dusky-Rose-31B", "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 Runner
How to use Cyclone-Labs/Dusky-Rose-31B with Docker Model Runner:
docker model run hf.co/Cyclone-Labs/Dusky-Rose-31B
Dusky-Rose-31B
Overview
Dusky-Rose-31B was created by combining gemma-4-31B-it, Artemis-31B-v1.1, Dark-Scarlett-v2.0-31B, and Gemma-4-31B-Storymaxxed3 using a custom merge method.
Merge Config
base_model: google/gemma-4-31B-it
models:
- model: TheDrummer/Artemis-31B-v1.1
parameters:
weight:
- filter: self_attn
value: [0.50, 0.53, 0.56, 0.59, 0.62]
- filter: mlp
value: [0.39, 0.40, 0.42, 0.46, 0.50]
- filter: layernorm
value: [0.52, 0.55, 0.58, 0.61, 0.64]
- filter: model.norm
value: 0.66
- filter: embed_tokens
value: 0.52
- value: [0.48, 0.51, 0.54, 0.57, 0.60]
- model: ReadyArt/Dark-Scarlett-v2.0-31B
parameters:
weight:
- filter: self_attn
value: [0.18, 0.15, 0.12, 0.09, 0.06]
- filter: mlp
value: [0.37, 0.34, 0.34, 0.27, 0.20]
- filter: layernorm
value: [0.12, 0.10, 0.08, 0.06, 0.04]
- filter: model.norm
value: 0.03
- filter: embed_tokens
value: 0.16
- value: [0.20, 0.16, 0.12, 0.08, 0.05]
- model: MRockatansky/Gemma-4-31B-Storymaxxed3
parameters:
weight:
- filter: self_attn
value: [0.32, 0.26, 0.24, 0.30, 0.28]
- filter: mlp
value: [0.26, 0.21, 0.24, 0.27, 0.30]
- filter: layernorm
value: [0.36, 0.35, 0.34, 0.33, 0.32]
- filter: model.norm
value: 0.31
- filter: embed_tokens
value: 0.32
- value: [0.32, 0.33, 0.34, 0.35, 0.35]
merge_method: arcus
chat_template: auto
parameters:
gain: 1.00
inheritance: 1.15
declone: 0.75
anchor: 0.75
containment: 1.20
dtype: float32
out_dtype: bfloat16
tokenizer:
source: base
Intended Use
Roleplay
Character-driven interaction, personas, dialogue, emotional scenes, and long-form roleplay.
Creative Writing
Fiction, dialogue, atmosphere, descriptive writing, stylistic drafting, and imaginative prose.
Storytelling
Long-form narratives, worldbuilding, continuity, evolving characters, and multi-character plots.
Interactive Fiction
Branching narratives, scenario play, character interaction, and continuously evolving stories.
- Downloads last month
- 1