How to use from the
Use from the
Transformers library
# 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")
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]:]))
Quick Links

Azure-Starlight-12B

Overview

Azure-Starlight-12B was created by merging Astral-Noctra-12B, Starlit-Shadow-12B, Famino-12B-Model_Stock, and Crimson-Twilight-12B using the Model Stock method.

Merge Configuration
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
      

Intended Use

Storytelling Structured long-form narrative
Roleplay Emotion-forward interaction
Creative Writing Atmospheric fiction
Downloads last month
16
Safetensors
Model size
12B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Vortex5/Azure-Starlight-12B

Paper for Vortex5/Azure-Starlight-12B