Text Generation
Transformers
Safetensors
mistral
mergekit
Merge
roleplay
conversational
text-generation-inference
Instructions to use Vortex5/Azure-Starlight-12B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Vortex5/Azure-Starlight-12B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Vortex5/Azure-Starlight-12B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Vortex5/Azure-Starlight-12B") model = AutoModelForCausalLM.from_pretrained("Vortex5/Azure-Starlight-12B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Vortex5/Azure-Starlight-12B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Vortex5/Azure-Starlight-12B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Vortex5/Azure-Starlight-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Vortex5/Azure-Starlight-12B
- SGLang
How to use Vortex5/Azure-Starlight-12B 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 "Vortex5/Azure-Starlight-12B" \ --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": "Vortex5/Azure-Starlight-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "Vortex5/Azure-Starlight-12B" \ --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": "Vortex5/Azure-Starlight-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Vortex5/Azure-Starlight-12B with Docker Model Runner:
docker model run hf.co/Vortex5/Azure-Starlight-12B
| base_model: | |
| - Vortex5/Astral-Noctra-12B | |
| - Vortex5/Starlit-Shadow-12B | |
| - DreadPoor/Famino-12B-Model_Stock | |
| - Vortex5/Crimson-Twilight-12B | |
| library_name: transformers | |
| tags: | |
| - mergekit | |
| - merge | |
| - roleplay | |
| license: apache-2.0 | |
| <section class="container"> | |
| <div class="header"> | |
| <h1 class="title">Azure-Starlight-12B</h1> | |
| </div> | |
| <div class="image-box"> | |
| <img src="https://cdn-uploads.huggingface.co/production/uploads/6669a3a617b838fda45637b8/srlvZGNLBPaI5vEOD0hNy.png"> | |
| </div> | |
| <div class="divider"></div> | |
| <section class="card"> | |
| <h2 class="card-title">Overview</h2> | |
| <p> | |
| <strong class="highlight">Azure-Starlight-12B</strong> was created by merging | |
| <a href="https://huggingface.co/Vortex5/Astral-Noctra-12B" class="link">Astral-Noctra-12B</a>, | |
| <a href="https://huggingface.co/Vortex5/Starlit-Shadow-12B" class="link">Starlit-Shadow-12B</a>, | |
| <a href="https://huggingface.co/DreadPoor/Famino-12B-Model_Stock" class="link">Famino-12B-Model_Stock</a>, and | |
| <a href="https://huggingface.co/Vortex5/Crimson-Twilight-12B" class="link">Crimson-Twilight-12B</a> using the <a href="https://arxiv.org/abs/2403.19522" class="link">Model Stock</a> method. | |
| </p> | |
| <details class="config"> | |
| <summary>Merge Configuration</summary> | |
| <pre> | |
| base_model: Vortex5/Astral-Noctra-12B | |
| models: | |
| - model: Vortex5/Starlit-Shadow-12B | |
| - model: DreadPoor/Famino-12B-Model_Stock | |
| - model: Vortex5/Crimson-Twilight-12B | |
| - model: Vortex5/Astral-Noctra-12B | |
| merge_method: model_stock | |
| chat_template: auto | |
| parameters: | |
| normalize: true | |
| dtype: float32 | |
| out_dtype: bfloat16 | |
| tokenizer: | |
| source: Vortex5/Astral-Noctra-12B | |
| </pre> | |
| </details> | |
| </section> | |
| <section class="card"> | |
| <h2 class="card-title">Intended Use</h2> | |
| <div class="grid"> | |
| <div class="tile"> | |
| <span class="tile-main">Storytelling</span> | |
| <span class="tile-sub">Structured long-form narrative</span> | |
| </div> | |
| <div class="tile"> | |
| <span class="tile-main">Roleplay</span> | |
| <span class="tile-sub">Emotion-forward interaction</span> | |
| </div> | |
| <div class="tile"> | |
| <span class="tile-main">Creative Writing</span> | |
| <span class="tile-sub">Atmospheric fiction</span> | |
| </div> | |
| </div> | |
| </section> | |
| <div class="divider"></div> | |
| </section> | |
| <style> | |
| .container{ | |
| --bg:#07121a; | |
| --panel:#0f1f2a; | |
| --glass:rgba(255,255,255,0.04); | |
| --text:#e8f6ff; | |
| --text-soft:rgba(232,246,255,0.65); | |
| --accent:#00c2ff; | |
| --accent2:#6fffe9; | |
| --grad:linear-gradient(90deg,#00c2ff,#6fffe9,#b4f8ff); | |
| max-width:1100px; | |
| margin:50px auto; | |
| padding:48px 50px; | |
| border-radius:22px; | |
| background: | |
| radial-gradient(circle at 20% 10%, rgba(0,194,255,0.15), transparent 40%), | |
| radial-gradient(circle at 80% 90%, rgba(111,255,233,0.12), transparent 50%), | |
| var(--bg); | |
| color:var(--text); | |
| font-family:"Inter","Segoe UI",sans-serif; | |
| display:flex; | |
| flex-direction:column; | |
| gap:40px; | |
| } | |
| .header{ | |
| text-align:center; | |
| border-bottom:1px solid rgba(255,255,255,0.08); | |
| padding-bottom:16px; | |
| } | |
| .title{ | |
| margin:0; | |
| font-size:clamp(1.8rem,4.5vw,3rem); | |
| line-height:1.2; | |
| padding-bottom:4px; | |
| font-weight:700; | |
| letter-spacing:.05em; | |
| background:var(--grad); | |
| -webkit-background-clip:text; | |
| background-clip:text; | |
| color:transparent; | |
| } | |
| .image-box{ | |
| display:flex; | |
| justify-content:center; | |
| } | |
| .image-box img{ | |
| width:100%; | |
| max-width:900px; | |
| border-radius:16px; | |
| border:1px solid rgba(255,255,255,0.08); | |
| background:var(--glass); | |
| box-shadow:0 25px 50px rgba(0,0,0,0.5); | |
| } | |
| .divider{ | |
| height:2px; | |
| width:100%; | |
| background:var(--grad); | |
| opacity:.6; | |
| } | |
| .card{ | |
| background:var(--panel); | |
| padding:28px 30px; | |
| border-radius:18px; | |
| border:1px solid rgba(255,255,255,0.06); | |
| box-shadow:0 12px 30px rgba(0,0,0,0.35); | |
| } | |
| .card-title{ | |
| margin:0 0 14px; | |
| font-size:1.3rem; | |
| text-transform:uppercase; | |
| letter-spacing:.08em; | |
| background:var(--grad); | |
| -webkit-background-clip:text; | |
| background-clip:text; | |
| color:transparent; | |
| } | |
| .intro{ | |
| margin:0 0 12px; | |
| color:var(--text-soft); | |
| } | |
| .card p{ | |
| margin:10px 0; | |
| line-height:1.7; | |
| } | |
| .highlight{ | |
| color:var(--accent); | |
| font-weight:700; | |
| } | |
| .link{ | |
| color:var(--accent2); | |
| text-decoration:none; | |
| } | |
| .link:hover{ | |
| text-decoration:underline; | |
| } | |
| .config{ | |
| margin-top:18px; | |
| border:1px solid rgba(255,255,255,0.08); | |
| border-radius:12px; | |
| overflow:hidden; | |
| background:rgba(255,255,255,0.03); | |
| } | |
| .config summary{ | |
| padding:10px 14px; | |
| cursor:pointer; | |
| font-size:.85rem; | |
| font-weight:600; | |
| letter-spacing:.08em; | |
| text-transform:uppercase; | |
| background:rgba(255,255,255,0.05); | |
| color:var(--accent); | |
| } | |
| .config pre{ | |
| margin:0; | |
| padding:16px; | |
| font-family:ui-monospace,Consolas,monospace; | |
| font-size:.85rem; | |
| overflow-x:auto; | |
| background:rgba(0,0,0,0.35); | |
| color:var(--text); | |
| } | |
| .grid{ | |
| display:flex; | |
| gap:18px; | |
| flex-wrap:wrap; | |
| margin-top:16px; | |
| } | |
| .tile{ | |
| flex:1 1 180px; | |
| padding:18px; | |
| border-radius:14px; | |
| background:rgba(255,255,255,0.05); | |
| border:1px solid rgba(255,255,255,0.06); | |
| text-align:center; | |
| } | |
| .tile-main{ | |
| display:block; | |
| font-weight:700; | |
| letter-spacing:.08em; | |
| text-transform:uppercase; | |
| color:var(--accent); | |
| margin-bottom:6px; | |
| } | |
| .tile-sub{ | |
| font-size:.9rem; | |
| color:var(--text-soft); | |
| } | |
| @media(max-width:600px){ | |
| .container{ | |
| padding:32px 24px; | |
| } | |
| .card{ | |
| padding:22px; | |
| } | |
| } | |
| </style> |