返回顶部
e

essay-humanizer论文人性化

Rewrite AI-drafted essays into more human-like academic prose. Fine-tuned LoRA over Qwen3-8B guided by 24 Wikipedia-style AI-writing pattern weights plus MDD/ADD syntactic targets from CAWSE/LOCNESS vs DeepSeek baselines. Includes trained LoRA adapter and inference script. Requires Apple Silicon macOS with MLX. Optional FastAPI host for MCP/tool linking. Orchestrator: output plain text only (no LaTeX dollar delimiters).

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.2
安全检测
已通过
157
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

essay-humanizer

论文人性化改写工具(基于语料库)

AI生成的议论文/学术论文改写为人类基准风格,参考CAWSE(M/D等级)LOCNESS语料库,并与DeepSeek生成的文本进行对比。附带微调后的LoRA适配器(9.3 MB)和推理脚本。

技能合约

组件路径说明
推理脚本scripts/inference.py入口点 — humanize() 函数或命令行接口
LoRA适配器
assets/adapters/adapters.safetensors.json | 12.3 MB base64格式JSON;首次运行时自动解码为二进制 | | 模式权重 | data/analysis/weights.json | 基于语料库生成,运行时由推理模块加载 | | 解码器 | scripts/decode_adapters.py | 从JSON重建.safetensors二进制文件(自动或手动) | | 安装脚本 | scripts/install_deps.sh | 一次性操作:pip install mlx mlx-lm transformers + 解码 | | 基础模型 | Qwen/Qwen3-8B-MLX-4bit | 首次运行时从HuggingFace下载(约4.5 GB,已缓存) |

系统要求: Apple Silicon macOS + Python 3.9+。

快速开始

bash
bash scripts/install_deps.sh # 一次性操作:安装依赖 + 解码适配器
python scripts/inference.py --file draft.txt # 适配器若未解码则自动解码

或通过Python调用:

python
from scripts.inference import humanize
print(humanize(此处输入您的AI草稿论文文本...))

加权模式表(按优先级降序排列)

进行人性化改写时,优先处理权重较高的行。权重基于语料库分析(Mann-Whitney检验)的数据驱动结果;权重为零的行不具备统计显著性。

ID权重类别模式
P06陈词滥调隐喻0.1358词汇陈词滥调的隐喻
P15破折号过度使用
0.1358 | 标点 | 破折号过度使用 |
| P21Markdown痕迹 | 0.1358 | 格式 | Markdown痕迹 |
| P23教科书式加粗 | 0.1358 | 格式 | 教科书式加粗 |
| P12现在分词结尾 | 0.1133 | 修辞 | 现在分词结尾 |
| P10三段式结构 | 0.0806 | 修辞 | 三段式结构 |
| P04AI词汇 | 0.0621 | 词汇 | AI词汇 |
| P14强迫性总结 | 0.0598 | 修辞 | 强迫性总结 |
| P05过度副词 | 0.0540 | 词汇 | 过度使用副词 |
| P13过度归因 | 0.0529 | 修辞 | 过度归因 |
| P11虚假范围 | 0.0341 | 修辞 | 虚假范围 |
| P17过渡词过度使用 | 0.0001 | 标点 | 过渡词过度使用 |
| P01不当强调 | 0.0000 | 内容 | 不当强调 |
| P02肤浅分析 | 0.0000 | 内容 | 肤浅分析 |
| P03均值回归 | 0.0000 | 内容 | 均值回归 |
| P07冗余修饰语 | 0.0000 | 词汇 | 冗余修饰语 |
| P08填充模糊 | 0.0000 | 词汇 | 填充模糊语 |
| P09否定平行结构 | 0.0000 | 修辞 | 否定平行结构 |
| P16连接号回避 | 0.0000 | 标点 | 连接号/连字符用于范围时的误用 |
| P18协作性语域 | 0.0000 | 语域 | 协作性语域 |
| P19书信式正式度 | 0.0000 | 语域 | 书信式正式度 |
| P20说教式居高临下 | 0.0000 | 语域 | 说教式居高临下 |
| P22过度列表 | 0.0000 | 格式 | 过度使用项目符号/编号列表 |
| P24表情符号符号 | 0.0000 | 格式 | 表情符号/符号插入 |

句法复杂度(MDD / ADD 建议)

CAWSE语料库中人类优秀/良好等级写作的平均依存距离(MDD)通常呈现可变性;AI文本可能聚类更紧密。进行人性化改写时:

  • - 参考分析中的MDD均值:人类约2.333775514332394,AI约2.4553791855163483。
  • 方差比(人类/AI)约1.7153931408079544:偏好短长依存链接的自然混合,而非均匀平滑的句子。
  • 避免将每个句子都压平至最小依存长度;那可能读起来像另一种机器抛光。

强制性规则(编排器)

  1. 1. 输出适合提交的连续散文(无聊天结束语,无希望这有帮助)。
  2. 如有数学内容仅使用纯文本 — 除非用户明确要求LaTeX,否则不使用原始$$ LaTeX。
  3. 保留作者立场引用(如有);不得编造参考文献。

托管HTTP API(可选,适用于非Mac或远程使用)

对于非Apple Silicon机器或多用户部署,可在Mac主机上运行可选的FastAPI服务器,通过HTTP/OpenAPI连接:

  1. 1. 安装:pip install fastapi uvicorn[standard]
  2. 运行:uvicorn api.main:app --host 0.0.0.0 --port 8765(设置HUMANIZEAPIKEY环境变量用于认证)
  3. 将MCP/OpenAPI工具指向https:///openapi.json
  4. 调用POST /v1/humanize,传入JSON {text:...}(+ Authorization: Bearer …)

详见references/hosted_api.md

参考资料

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 essay-humanizer-1776061205 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 essay-humanizer-1776061205 技能

通过命令行安装

skillhub install essay-humanizer-1776061205

下载

⬇ 下载 essay-humanizer v1.0.2(免费)

文件大小: 9461.04 KB | 发布时间: 2026-4-17 14:46

v1.0.2 最新 2026-4-17 14:46
- Major update: Skill now includes a fine-tuned LoRA adapter and inference script for local model use (Apple Silicon only).
- Adds LoRA adapter weights, pattern references, training documentation, and inference scripts.
- Local inference supported via `Qwen3-8B-MLX-4bit`, with setup instructions and automated adapter decoding.
- Optional FastAPI server included for HTTP-based remote use or tool integration.
- Documentation and references extended; several previous documentation-only files replaced with executable scripts and model assets.
- Still outputs plain text only, with strict prose, math, and citation requirements unchanged.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部