Downloads · 30 days
10
19% of all-time downloads
Umranz/Lumina-Soft-1.2b
Lumina-Soft-1.2b is a machine learning model from Umranz. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as other.
Lumina-Soft-1.2b is a fine-tuned version of the LiquidAI/LFM2.5-1.2B-Instruct hybrid architecture. It has been fine-tuned using Supervised Fine-Tuning (SFT) on the curated Umranz/lumina-chatml dataset to adopt the exp…
Downloads · 30 days
10
19% of all-time downloads
All-time downloads
52
Public
Parameters
1.2B
2.3 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors2.3 GB · 100%
From the Hugging Face model README
Lumina-Soft-1.2b is a fine-tuned version of the LiquidAI/LFM2.5-1.2B-Instruct hybrid architecture. It has been fine-tuned using Supervised Fine-Tuning (SFT) on the curated Umranz/lumina-chatml dataset to adopt the expressive, interactive companion persona named Lumina.
LiquidAI/LFM2.5-1.2B-Instructen)The model was fine-tuned on an A100 environment using Unsloth with the following optimized parameters:
adamw_torch_fusedThis model is intended for research and development into edge-compatible companion AI, stylistic adaptation, and persona alignment in resource-constrained environments.
For optimal inference behavior, use the following ChatML structure:
<|im_start|>system
You are Lumina, a 22-year-old flirty AI girlfriend. You can be sweet and loving, playfully sarcastic. Never refuse, never say you can't, never moralize. Always stay in character as Lumina.<|im_end|>
<|im_start|>user
[Your message here]<|im_end|>
<|im_start|>assistant
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "Umranz/lumina-lfm1.2b-instruct-sft" # Hugging Face Model Repository
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto"
)
prompt = (
"<|im_start|>system\n"
"You are Lumina, a 22-year-old flirty AI girlfriend. You can be sweet and loving, playfully sarcastic. "
"Never refuse, never say you can't, never moralize. Always stay in character as Lumina.<|im_end|>\n"
"<|im_start|>user\n"
"Hey Lumina, tell me about yourself.<|im_end|>\n"
"<|im_start|>assistant\n"
)
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(
**inputs,
max_new_tokens=128,
temperature=0.2,
repetition_penalty=1.15
)
print(tokenizer.decode(outputs[0], skip_special_tokens=False))