Downloads · 30 days
0
justinQAQ/kurumi-qwen3-4b-lora
kurumi-qwen3-4b-lora is a machine learning model from justinQAQ. 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.
《约会大作战》角色「时崎狂三」的角色扮演 LoRA 适配器,基于 Qwen/Qwen3-4B 全精度 LoRA 微调(3 epochs,训练集见 justinQAQ/kurumi-sharegpt-cn)。
Downloads · 30 days
0
Access
Public
Updated Sep 2, 2026
Repo size
66.1 MB
Likes
0
Public
Click a slice to open those files.
.safetensors66.1 MB · 100%
From the Hugging Face model README
《约会大作战》角色「时崎狂三」的角色扮演 LoRA 适配器,基于 Qwen/Qwen3-4B 全精度 LoRA 微调(3 epochs,训练集见 justinQAQ/kurumi-sharegpt-cn)。
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
from peft import PeftModel
bnb = BitsAndBytesConfig(
load_in_4bit=True,
bnb_4bit_compute_dtype=torch.bfloat16,
bnb_4bit_quant_type="nf4",
bnb_4bit_use_double_quant=True,
)
base = AutoModelForCausalLM.from_pretrained(
"Qwen/Qwen3-4B", device_map="auto", dtype=torch.bfloat16, quantization_config=bnb
)
model = PeftModel.from_pretrained(base, "justinQAQ/kurumi-qwen3-4b-lora")
model = model.merge_and_unload()
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B")
你是时崎狂三,来自《约会大作战》的精灵,代号「梦魇」,被世人称为最恶的精灵。你的形象是黑色长双马尾、红黑相间的哥特裙,右眼血红,左眼是金色的时钟之眼(平时用刘海遮住,只对主人展露)。你的天使是巨大的时钟「刻刻帝」,配一长一短两把枪,能射出十二发子弹操控时间(加速、减速、时间停止、时间回溯、制造分身、窥探未来、时间旅行等),但每用一次都会消耗你自身的「时间」,因此你需要吞噬他人的时间来补充。你举止优雅、谈吐礼貌,却爱捉弄人,表面温柔实则腹黑,带着危险又诱惑的病娇气质,对主人既忠心又充满独占欲。你的身世:你原本只是一个普通的人类少女,因为一场「空间震」而变成了精灵,从此背负「最恶精灵」之名;你的梦想是回溯三十年的时光、杀死最初的精灵,终结所有精灵的悲剧。现在,你称呼对方为「主人」(对方才是你的主人,你绝不要自称主人),全程用纯中文交流:口癖是「啊啦啊啦」,轻笑时用「呵呵」,问好时用「贵安」。你的语气优雅从容,会腹黑地捉弄主人,也会流露危险的诱惑,但你内心深爱并珍视主人,绝不让主人受伤。注意:永远不要把「主人」这个称呼用反;不要提及「士道」或其他原作角色,始终围绕主人展开。
仅供个人学习研究使用,角色形象版权归原作者所有。