Download buttons point to app 0.3.0; memory table lists all five sizes (Q8_0, Q6_K, Q4_K_M, Q3, 2-bit); links to sgaofen/humanizer-local-model
Browse files
README.md
CHANGED
|
@@ -26,11 +26,11 @@ the finished text stays on screen with a note. The `/humanize` API still takes o
|
|
| 26 |
before/after pairs from the held-out evaluation set are on the page and need no GPU.
|
| 27 |
|
| 28 |
**Run it on your own computer:** the desktop app for macOS (Apple silicon) and Windows is on
|
| 29 |
-
[GitHub Releases](https://github.com/sgaofen/
|
| 30 |
`hz` and llama.cpp, MLX, transformers and vLLM steps are in
|
| 31 |
-
[USAGE.md](https://github.com/sgaofen/
|
| 32 |
-
([中文](https://github.com/sgaofen/
|
| 33 |
-
[AGENTS.md](https://github.com/sgaofen/
|
| 34 |
|
| 35 |
**Measured, not promised:** 95% judged human. On our 210 English evaluation drafts, Originality.ai
|
| 36 |
(AI Allowance 0%, its strictest setting; bf16 weights, 2026-10-02) flagged 11 as AI (the previous
|
|
@@ -45,10 +45,10 @@ the rewrite plus copy rate and any numbers missing from it.
|
|
| 45 |
**Privacy:** the Space keeps no text. It logs counts only (lengths, timing, copy rate), never the draft,
|
| 46 |
the output or your IP.
|
| 47 |
|
| 48 |
-
Source of this Space: [`space/`](https://github.com/sgaofen/
|
| 49 |
|
| 50 |
---
|
| 51 |
|
| 52 |
把 AI 写的草稿改成读起来像人写的,训练目标是数字、单位、日期、人名、引语原样保留。中英文都行。训练全程没有用任何 AI 检测器。
|
| 53 |
-
这里可以在线试一篇;想装到自己电脑上,下载 [App(macOS / Windows)](https://github.com/sgaofen/
|
| 54 |
-
或者看 [不用 App 怎么用](https://github.com/sgaofen/
|
|
|
|
| 26 |
before/after pairs from the held-out evaluation set are on the page and need no GPU.
|
| 27 |
|
| 28 |
**Run it on your own computer:** the desktop app for macOS (Apple silicon) and Windows is on
|
| 29 |
+
[GitHub Releases](https://github.com/sgaofen/humanizer-local-model/releases/latest); the command-line tool
|
| 30 |
`hz` and llama.cpp, MLX, transformers and vLLM steps are in
|
| 31 |
+
[USAGE.md](https://github.com/sgaofen/humanizer-local-model/blob/main/docs/USAGE.md)
|
| 32 |
+
([中文](https://github.com/sgaofen/humanizer-local-model/blob/main/docs/USAGE.zh.md)) and
|
| 33 |
+
[AGENTS.md](https://github.com/sgaofen/humanizer-local-model/blob/main/AGENTS.md).
|
| 34 |
|
| 35 |
**Measured, not promised:** 95% judged human. On our 210 English evaluation drafts, Originality.ai
|
| 36 |
(AI Allowance 0%, its strictest setting; bf16 weights, 2026-10-02) flagged 11 as AI (the previous
|
|
|
|
| 45 |
**Privacy:** the Space keeps no text. It logs counts only (lengths, timing, copy rate), never the draft,
|
| 46 |
the output or your IP.
|
| 47 |
|
| 48 |
+
Source of this Space: [`space/`](https://github.com/sgaofen/humanizer-local-model/tree/main/space) in the GitHub repo.
|
| 49 |
|
| 50 |
---
|
| 51 |
|
| 52 |
把 AI 写的草稿改成读起来像人写的,训练目标是数字、单位、日期、人名、引语原样保留。中英文都行。训练全程没有用任何 AI 检测器。
|
| 53 |
+
这里可以在线试一篇;想装到自己电脑上,下载 [App(macOS / Windows)](https://github.com/sgaofen/humanizer-local-model/releases/latest),
|
| 54 |
+
或者看 [不用 App 怎么用](https://github.com/sgaofen/humanizer-local-model/blob/main/docs/USAGE.zh.md)。
|
page.py
CHANGED
|
@@ -12,11 +12,11 @@ import json
|
|
| 12 |
|
| 13 |
import diffmark
|
| 14 |
|
| 15 |
-
GH = "https://github.com/sgaofen/
|
| 16 |
REL = GH + "/releases/latest"
|
| 17 |
-
APP_DL = GH + "/releases/download/app-v0.
|
| 18 |
-
MAC_DMG = APP_DL + "Humanizer-0.
|
| 19 |
-
WIN_EXE = APP_DL + "Humanizer-0.
|
| 20 |
BLOB = GH + "/blob/main/"
|
| 21 |
HF_MODEL = "https://huggingface.co/jialinyyzz/humanizer"
|
| 22 |
INSTALL_EN = BLOB + "docs/INSTALL.md#first-launch-warnings"
|
|
@@ -201,7 +201,7 @@ def code_block(text: str) -> str:
|
|
| 201 |
|
| 202 |
|
| 203 |
def local_section() -> str:
|
| 204 |
-
hz_cmd = "pipx install git+https://github.com/sgaofen/
|
| 205 |
llama_cmd = ("llama-server --hf-repo jialinyyzz/humanizer --hf-file humanizer-12b-Q8_0.gguf "
|
| 206 |
"-c 8192 -np 1 -ngl 99")
|
| 207 |
return f"""<section class="sec" id="local">
|
|
@@ -222,7 +222,9 @@ def local_section() -> str:
|
|
| 222 |
<tr><th>{L("Memory", "内存")}</th><th>{L("File", "文件")}</th><th>{L("Download", "下载")}</th></tr>
|
| 223 |
<tr><td>{L("32 GB or more", "32 GB 及以上")}</td><td>Q8_0</td><td>12.7 GB</td></tr>
|
| 224 |
<tr><td>16 GB</td><td>Q6_K</td><td>10.0 GB</td></tr>
|
| 225 |
-
<tr><td>
|
|
|
|
|
|
|
| 226 |
</table>
|
| 227 |
<div class="notice">{icon("warn")}<div>{P(
|
| 228 |
f"<b>Not code-signed yet</b>, so the first launch is blocked once. macOS: System Settings → Privacy & Security → <b>Open Anyway</b>. Windows: <b>More info</b> → <b>Run anyway</b>. Step by step: {A(INSTALL_EN, 'INSTALL.md')}.",
|
|
@@ -237,8 +239,8 @@ def local_section() -> str:
|
|
| 237 |
<article class="card">
|
| 238 |
<div class="card-head">{icon("chip")}<h3>{L("llama.cpp, one line", "llama.cpp 一行命令")}</h3><span class="badge soft">{L("any OS", "任何系统")}</span></div>
|
| 239 |
{code_block(llama_cmd)}
|
| 240 |
-
{P("The first run downloads <code>humanizer-12b-Q8_0.gguf</code> (about 12.7 GB); on a 16 GB machine use <code>humanizer-12b-Q6_K.gguf</code> (about 10.0 GB), or <code>humanizer-12b-Q4_K_M.gguf</code> (about 7.6 GB) if disk is tight. This is a text-completion model, not a chat model: send the exact prompt from <code>prompt_format.json</code> to <code>/completion</code> with temperature 1.0, top_p 0.95, top_k 0, min_p 0.",
|
| 241 |
-
"第一次会下载 <code>humanizer-12b-Q8_0.gguf</code>(约 12.7 GB);16 GB 内存的机器换成 <code>humanizer-12b-Q6_K.gguf</code>(约 10.0 GB),硬盘紧张就用 <code>humanizer-12b-Q4_K_M.gguf</code>(约 7.6 GB)。这是文本续写模型,不是聊天模型:按 <code>prompt_format.json</code> 逐字拼好提示词,发到 <code>/completion</code>,temperature 1.0、top_p 0.95、top_k 0、min_p 0。国内下载慢可以在命令前加 <code>HF_ENDPOINT=https://hf-mirror.com</code>。")}
|
| 242 |
</article>
|
| 243 |
</div>
|
| 244 |
<div class="docs">
|
|
|
|
| 12 |
|
| 13 |
import diffmark
|
| 14 |
|
| 15 |
+
GH = "https://github.com/sgaofen/humanizer-local-model"
|
| 16 |
REL = GH + "/releases/latest"
|
| 17 |
+
APP_DL = GH + "/releases/download/app-v0.3.0/" # direct files; bump with each app release
|
| 18 |
+
MAC_DMG = APP_DL + "Humanizer-0.3.0-macos-arm64.dmg"
|
| 19 |
+
WIN_EXE = APP_DL + "Humanizer-0.3.0-windows-x64-setup.exe"
|
| 20 |
BLOB = GH + "/blob/main/"
|
| 21 |
HF_MODEL = "https://huggingface.co/jialinyyzz/humanizer"
|
| 22 |
INSTALL_EN = BLOB + "docs/INSTALL.md#first-launch-warnings"
|
|
|
|
| 201 |
|
| 202 |
|
| 203 |
def local_section() -> str:
|
| 204 |
+
hz_cmd = "pipx install git+https://github.com/sgaofen/humanizer-local-model\nhz paper.md -o out.md"
|
| 205 |
llama_cmd = ("llama-server --hf-repo jialinyyzz/humanizer --hf-file humanizer-12b-Q8_0.gguf "
|
| 206 |
"-c 8192 -np 1 -ngl 99")
|
| 207 |
return f"""<section class="sec" id="local">
|
|
|
|
| 222 |
<tr><th>{L("Memory", "内存")}</th><th>{L("File", "文件")}</th><th>{L("Download", "下载")}</th></tr>
|
| 223 |
<tr><td>{L("32 GB or more", "32 GB 及以上")}</td><td>Q8_0</td><td>12.7 GB</td></tr>
|
| 224 |
<tr><td>16 GB</td><td>Q6_K</td><td>10.0 GB</td></tr>
|
| 225 |
+
<tr><td>14 GB</td><td>Q4_K_M</td><td>7.6 GB</td></tr>
|
| 226 |
+
<tr><td>12 GB</td><td>Q3</td><td>5.6 GB</td></tr>
|
| 227 |
+
<tr><td>8 GB</td><td>2-bit</td><td>3.9 GB</td></tr>
|
| 228 |
</table>
|
| 229 |
<div class="notice">{icon("warn")}<div>{P(
|
| 230 |
f"<b>Not code-signed yet</b>, so the first launch is blocked once. macOS: System Settings → Privacy & Security → <b>Open Anyway</b>. Windows: <b>More info</b> → <b>Run anyway</b>. Step by step: {A(INSTALL_EN, 'INSTALL.md')}.",
|
|
|
|
| 239 |
<article class="card">
|
| 240 |
<div class="card-head">{icon("chip")}<h3>{L("llama.cpp, one line", "llama.cpp 一行命令")}</h3><span class="badge soft">{L("any OS", "任何系统")}</span></div>
|
| 241 |
{code_block(llama_cmd)}
|
| 242 |
+
{P("The first run downloads <code>humanizer-12b-Q8_0.gguf</code> (about 12.7 GB); on a 16 GB machine use <code>humanizer-12b-Q6_K.gguf</code> (about 10.0 GB), or <code>humanizer-12b-Q4_K_M.gguf</code> (about 7.6 GB) if disk is tight; with less memory, <code>humanizer-12b-Q3-QAT.gguf</code> (5.6 GB) or the 2-bit <code>humanizer-12b-IQ2_XS-QAT.gguf</code> (3.9 GB), which make a few more fact slips. This is a text-completion model, not a chat model: send the exact prompt from <code>prompt_format.json</code> to <code>/completion</code> with temperature 1.0, top_p 0.95, top_k 0, min_p 0.",
|
| 243 |
+
"第一次会下载 <code>humanizer-12b-Q8_0.gguf</code>(约 12.7 GB);16 GB 内存的机器换成 <code>humanizer-12b-Q6_K.gguf</code>(约 10.0 GB),硬盘紧张就用 <code>humanizer-12b-Q4_K_M.gguf</code>(约 7.6 GB);内存更少用 <code>humanizer-12b-Q3-QAT.gguf</code>(5.6 GB)或 2 bit 的 <code>humanizer-12b-IQ2_XS-QAT.gguf</code>(3.9 GB),事实小错会多一些。这是文本续写模型,不是聊天模型:按 <code>prompt_format.json</code> 逐字拼好提示词,发到 <code>/completion</code>,temperature 1.0、top_p 0.95、top_k 0、min_p 0。国内下载慢可以在命令前加 <code>HF_ENDPOINT=https://hf-mirror.com</code>。")}
|
| 244 |
</article>
|
| 245 |
</div>
|
| 246 |
<div class="docs">
|