# Lynote Humanize Text
**An open-source pipeline for rewriting AI-generated text into natural human prose**

[](https://github.com/lynote-ai/humanize-text/stargazers)
[](LICENSE)
[](https://www.python.org/)
[](https://github.com/lynote-ai/humanize-text/commits)
[](https://huggingface.co/spaces/Lynote/free-ai-detector)
[Website](https://lynote.ai) ·[Product Hunt](https://www.producthunt.com/products/lynote-ai?launch=lynote-3) · [Try the detector](https://github.com/lynote-ai/ai-text-detector) · [Discord](https://discord.gg/NzcH5DYzBj) · [X](https://x.com/lynote_ai)
English | 中文
---
Most humanizers are a black box with marketing claims attached. This one is open source, so you can read what it actually does.
The interesting part isn't the LLM rewriting — everyone does that. It's the **translation chain**.
## How it works
### Step-by-Step Pipeline
| Step | Engine | From → To | Purpose |
|------|--------|-----------|---------|
| 1 | LLM (temp 1.3) | Input → Chinese (Chinese Rewriting) | LLM humanization rewrite + language shift |
| 2 | LLM (temp 1.3) | Chinese → Japanese (Japanese Rewriting) | Second LLM humanization, carries Step 1 as history |
| 3 | Google Translate | Japanese → Finnish (First Round of Translation) | First translation hop — distant language structural disruption |
| 4 | Niutrans | Finnish → English (Second-Round Translation) | Second translation hop — cross-engine reconstruction |
### Why This Chain Works
1. **Steps 1–2 (LLM Rewrite):** Configurable LLM provider (DeepSeek default, OpenRouter optional) at temperature 1.3 rewrites while translating, breaking AI statistical fingerprints with creative variation. Step 2 carries Step 1 as conversation history for coherent humanization.
2. **Steps 3–4 (Multi-Engine Translation):** Two different NMT engines (Google → Niutrans) introduce compounding structural changes. No single-engine fingerprint survives.
3. **Distant Languages:** Chinese → Japanese → Finnish maximizes linguistic distance at each hop, ensuring thorough restructuring before reconstruction to English.
## Quick start
```bash
git clone https://github.com/lynote-ai/humanize-text.git
cd humanize-text
pip install -r requirements.txt
cp config/config.example.toml config/config.toml # add your API key
python -m src.standard.pipeline --input draft.txt
```
## Tiers
| Tier | What it does | Best for |
|---|---|---|
| `standard` | 2 LLM rewrites + 2 MT hops | The default balance |
| `advanced` | + multi-round LLM rewriting | Deeper restructuring |
| `focus` | + detection-guided feedback loop | Maximum restructuring |
**Note on intended use.** This toolkit is for improving the readability
and natural cadence of AI-assisted drafts. If you are writing in an
academic setting, follow your institution's policies on AI use and
disclosure.
> **Important:** Detector scores are probabilistic. This project does not guarantee
> that rewritten text will be classified as human, and it should not be used to
> misrepresent authorship or evade institutional policies.
> **Where this repo fits.** The pipeline here is our team's open exploration from early 2026 — the most effective approach we'd found *at the time*, released so anyone can read it, run it, and build on it. We've since moved well beyond it: Lynote.ai now runs **proprietary detect + humanize models we trained ourselves**, using adversarial training on curated, high-quality datasets.
>
> **Against this repo's open-source chain, Lynote.ai's current humanizer raises the detector-bypass rate by ~30% and rates ~50% higher on output quality — both are relative gains over this chain.** The detection side draws on the latest research into what actually separates human from AI writing — not surface style, but discourse-level *narrative* structure (e.g. the **[StoryScope](docs/research-notes.md)** study, UMD & Google DeepMind, COLM 2026). Style-only rewriting no longer tells the whole story — which is exactly why this open chain has a ceiling.
>
> **This repo stays a faithful, runnable reference. For the current best results, try [Lynote.ai](https://lynote.ai).**
---
## Lynote.ai — Beyond Standard