RP/Storytelling - Luna-I
Collection
Roleplay • 7 items • Updated • 2
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("beyoru/Luna")
model = AutoModelForCausalLM.from_pretrained("beyoru/Luna")
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]:]))Luna is a conversational AI model designed for immersive roleplay (RP) and natural chatting.
It is fine-tuned to respond in a more engaging, character-driven style compared to standard instruction-tuned models.
also we have Lunaa a hybird version
@misc{Luna,
title = {Luna – Roleplay Chat Model},
author = {Beyoru},
year = {2025},
howpublished = {\url{https://huggingface.co/beyoru/Luna}}
}
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="beyoru/Luna") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)