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="beyoru/Luna")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# 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]:]))
Quick Links

🌙 Luna – Roleplay Chat Model

GitHub HuggingFace BMC

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

Notes:

  • Optimized for roleplay-style conversations
  • Flexible: can be used for creative writing, storytelling, or character interactions
  • For best performance, you should describe the system prompt for your character.

Fix:

  • Using old chat template 04/09

Cite:

@misc{Luna,
  title        = {Luna – Roleplay Chat Model},
  author       = {Beyoru},
  year         = {2025},
  howpublished = {\url{https://huggingface.co/beyoru/Luna}}
}
Downloads last month
529
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
Input a message to start chatting with beyoru/Luna.

Model tree for beyoru/Luna

Finetunes
1 model
Quantizations
3 models

Collection including beyoru/Luna