PygonGirl1024 / index.html
Pygon's picture
Upload index.html with huggingface_hub
ae639b3 verified
Raw History Blame Contribute Delete
4.29 kB
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>PygonGirl1024 · MOSS LoRA Gallery</title>
<meta name="description" content="MOSS Image 人物 LoRA 展示与下载,仅供制作交流学习">
<meta name="color-scheme" content="dark">
<link rel="stylesheet" href="assets/style.css?v=15">
</head>
<body>
<header class="bar">
<div class="bar-top">
<a class="brand" href="./">Pygon<span>Girl</span>1024</a>
<p class="warn">本页 LoRA 仅为制作交流学习使用,严禁用于任何非法用途</p>
</div>
<div class="bar-main">
<div class="search">
<svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="M20 20l-3.5-3.5"/></svg>
<input id="q" type="search" placeholder="输入人名 / 拼音 / 缩写,即时筛选" autocomplete="off" spellcheck="false">
</div>
<label class="sortbox">
<span class="sr">排序</span>
<select id="sort">
<option value="new">最近更新</option>
<option value="az">名字 A–Z</option>
</select>
</label>
</div>
</header>
<section class="notice" id="notice">
<div class="notice-head">
<span class="dot-mark" aria-hidden="true"></span>
<h2>训练配方 · 自己也能练</h2>
<p class="notice-sub">这个仓库的 LoRA 全部本地训练,参数和方法公开,想复现或自己练一个照着来即可</p>
</div>
<div class="notice-grid">
<div class="notice-card">
<h3>底模与参数</h3>
<dl>
<dt>基座模型</dt><dd>MOSS-Image Base(非 SFT)</dd>
<dt>网络结构</dt><dd>LoRA · rank 32 / alpha 32</dd>
<dt>学习率</dt><dd>1.5e-4 · cosine 调度</dd>
<dt>训练步数</dt><dd>2000 步</dd>
<dt>batch size</dt><dd>1</dd>
<dt>分辨率</dt><dd>512 / 768 / 1024 多桶</dd>
<dt>训练耗时</dt><dd>RTX 4060 Ti 16G · 约 3 小时</dd>
</dl>
</div>
<div class="notice-card">
<h3>数据集构成</h3>
<dl>
<dt>训练张数</dt><dd>约 120–200 张</dd>
<dt>分辨率门槛</dt><dd>短边 ≥ 1024,低于此一律不收</dd>
<dt>景别配比</dt><dd>特写 / 胸像 / 半身 / 全身,尽量均衡</dd>
<dt>筛选标准</dt><dd>单人、正脸或侧脸清晰、无遮挡、非多人合影</dd>
<dt>去重</dt><dd>dHash 感知哈希,汉明距离 ≤ 6 视为重复</dd>
</dl>
</div>
<div class="notice-card">
<h3>打标策略</h3>
<dl>
<dt>触发词</dt><dd><code>中文名, 拼音, woman</code></dd>
<dt>关键原则</dt><dd>caption 里绝不描述长相、发型、五官、肤色、年龄、体型</dd>
<dt>只描述</dt><dd>服装配饰 · 姿态动作 · 表情情绪 · 场景背景 · 光线 · 镜头</dd>
<dt>原因</dt><dd>LoRA 学的是「图里恒定、caption 却没写」的东西。把长相写进 caption,等于训练模型忽略长相</dd>
<dt>打标模型</dt><dd>Qwen3-VL-4B(本地,约 39 秒/张)</dd>
</dl>
</div>
</div>
<p class="notice-note">头发长度、发型不会被锁定,是因为 caption 刻意没写 —— 需要固定时在正向提示词里写明即可。</p>
</section>
<main class="grid" id="grid" aria-live="polite"></main>
<p class="empty" id="empty" hidden>没有找到匹配的人物,换个关键词试试。</p>
<footer class="foot">
<p class="foot-main">PygonGirl1024 · MOSS Image LoRA</p>
<p class="foot-legal">本仓库仅供技术学习与个人研究交流使用,所有模型禁止商用、禁止传播、禁止用于任何违法或侵害他人权益的用途。<br>下载后请在 24 小时内自行删除,使用者需自行承担一切后果。</p>
</footer>
<div class="lb" id="lb" hidden>
<button class="lb-btn lb-close" id="lbClose" aria-label="关闭">×</button>
<button class="lb-btn lb-prev" id="lbPrev" aria-label="上一张">‹</button>
<figure>
<div id="lbImg" role="img" aria-label="预览"></div>
<figcaption id="lbCap"></figcaption>
</figure>
<button class="lb-btn lb-next" id="lbNext" aria-label="下一张">›</button>
</div>
<script src="assets/app.js?v=16"></script>
</body>
</html>