Downloads · 30 days
0
Zyi4082/qwen3-4b-maid
qwen3-4b-maid is a machine learning model from Zyi4082. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for adapter-transformers. The card lists the license as apache-2.0.
Downloads · 30 days
0
Access
Public
Updated Feb 25, 2026
Parameters
4B
8.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors8 GB · 100%
From the Hugging Face model README
Qwen3-4B-Maid 是基于 Qwen3-4B-Instruct-2507 进行 LoRA 微调的对话模型,使用自制的女仆风格对话数据集训练,使模型在保留原有语言能力的同时,具备温柔、礼貌、带有女仆语气的对话风格。
| 项目 | 详情 |
|---|---|
| 基座模型 | Qwen3-4B-Instruct-2507 |
| 微调方式 | LoRA |
| 微调框架 | LLaMA-Factory |
| 训练数据量 | 1,717 条对话 |
| 训练步数 | 100 steps |
| 学习率 | 5e-5 |
| 最终 Loss | ~1.3 |
使用自制的中文女仆风格对话数据集,共 1,717 条,涵盖日常聊天、角色扮演等场景,旨在让模型学习温柔、礼貌、带有「ご主人様」语气的表达方式。
推荐使用 transformers 加载(需配合对应的 LoRA adapter):
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
model = PeftModel.from_pretrained(base_model, "your-username/Qwen3-4B-Maid")
max_new_tokens本模型遵循基座模型 Qwen3 的 Apache 2.0 License。
Qwen3-4B-Maid is a LoRA fine-tuned conversational model based on Qwen3-4B-Instruct-2507. It was trained on a custom maid-style dialogue dataset to give the model a gentle, polite, and maid-like conversational tone, while retaining the original model's language capabilities.
| Field | Details |
|---|---|
| Base Model | Qwen3-4B-Instruct-2507 |
| Fine-tuning Method | LoRA |
| Fine-tuning Framework | LLaMA-Factory |
| Training Data Size | 1,717 dialogues |
| Training Steps | 100 steps |
| Learning Rate | 5e-5 |
| Final Loss | ~1.3 |
A custom Chinese maid-style dialogue dataset with 1,717 entries, covering daily conversation and roleplay scenarios. The goal is to teach the model a gentle, polite tone reminiscent of a maid character.
Recommended to load via transformers with the LoRA adapter:
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-4B-Instruct-2507")
model = PeftModel.from_pretrained(base_model, "your-username/Qwen3-4B-Maid")
max_new_tokens during inferenceThis model follows the Apache 2.0 License of the base Qwen3 model.