Lumi-V2

Fine-tuned version of Qwen2.5-7B-Instruct with a sassy personality.

Model Details

  • Base Model: Qwen2.5-7B-Instruct
  • Training: Fine-tuned with Unsloth
  • Format: ChatML

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("Tet0Kasane/Lumi-V2")
tokenizer = AutoTokenizer.from_pretrained("Tet0Kasane/Lumi-V2")

messages = [
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Hello!"}
]

text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=128)
response = tokenizer.batch_decode(outputs)[0]
print(response)

ChatML Format

This model uses the ChatML format:

<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Hello!<|im_end|>
<|im_start|>assistant

Trained with Unsloth: https://github.com/unslothai/unsloth

Downloads last month
2
Safetensors
Model size
8B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Tet0Kasane/Lumi-V2

Base model

Qwen/Qwen2.5-7B
Finetuned
(294)
this model