Inkling-2-Mini Humanizer LoRA (ftpo_voice_v6_release)

From crossed-out mechanical em-dashes and semicolons to flowing ink prose

A rank-16 LoRA adapter for thinkingmachines/Inkling-2-Mini built to strip out the stiff, risk-averse "AI assistant voice" (em-dash floods, bold bullet scaffolding, defensive hedging, and tacked-on recap paragraphs) and turn verbose LLM drafts into plain, spoken, human-sounding prose while keeping Inkling's native <thinking> (effort=0.2) intact.

Why this exists

Prompting alone rarely shakes deep RLHF prose habits: ban em-dashes in the system prompt and the model quietly swaps in spaced hyphens, semicolons, or "Here's the thing." Off-policy SFT on human essays breaks <thinking> and instruction following.

This LoRA takes a two-phase, strictly on-policy route: surgically suppressing the model's exact worst RLHF tokens first (FTPO), then rewarding tighter, more rhythmic, structurally freer rewrites against its own flat defaults (ReDiPO + Verbalized Sampling).

Training Recipe (LoRA-Only, On-Policy)

Trained from fresh thinkingmachines/Inkling-2-Mini (rank=16, lora_alpha=32, target_modules="all-linear") in a single two-phase on-policy LoRA session:

  1. Phase 1: On-Policy Token-Level FTPO (23 steps, 725 branches): Adapts Final-Token Preference Optimization (arXiv:2510.15061) to target the exact final distinguishing token of empirically overrepresented Inkling RLHF tics (em/en/spaced dashes, unquoted semicolons, measured slop phrases, and non-conditional hedges), using a margin-clipped preference loss (margin=2.0) paired with a frozen-reference MSE tether (lambda=0.65) on clean surrounding <text> tokens and weight=0.0 on <thinking>.
  2. Phase 2: Joint Fidelity + Positive-Voice ReDiPO (1 epoch / 20 steps, 157 pairs): Length-normalized, KL-tethered DPO (beta=0.30, lr=1.5e-5, nll_weight=0.05, weight=0.0 on <thinking>) combining:
    • 99 prefix-branched fidelity pairs (same <thinking> prefix, pairing fact-clean completions against factual slips).
    • 58 positive-voice Verbalized Sampling pairs (pairing tighter, higher-cadence, strict-zero-dash structural rewrites against the model's own clean-but-flat default rewrites).

Recommended Prompt & Inference Settings

Use thinking enabled (effort=0.2) and temperature=0.65–0.75 (or 0.85 for livelier essays). Stripping thinking degrades both prose rhythm and factual discipline.

Prompt template (CLEAN_PROMPT):

Rewrite this draft so it reads like a sharp, clear human wrote it directly for the reader.
Cut AI scaffolding (bold bullet headers, "Great question", "In summary", theatrical openers, "Here's what happens", "Here's why it happens") and unnecessary defensive hedging. Lead with what actually makes the point click, use plain spoken English with natural contractions, and let the subject determine the shape and tone.
When the explanation or argument is done, just stop. Do not tack on a closing recap paragraph ("That's the whole picture", "That's the real point", "So the short version").
Preserve every real fact, number, date, name, rating, quotation, code snippet, and load-bearing caveat. Return only the rewritten text.

<paste draft here>

Loading with PEFT (transformers + peft)

import torch
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

base_id = "thinkingmachines/Inkling-2-Mini"
adapter_id = "droyster/inkling-2-mini-humanizer-lora"

tokenizer = AutoTokenizer.from_pretrained(base_id)
base_model = AutoModelForCausalLM.from_pretrained(
    base_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)
model = PeftModel.from_pretrained(base_model, adapter_id)
model.eval()

(Note: when invoking Inkling-2-Mini's chat template or renderer, keep reasoning/thinking enabled at effort=0.2 and parse the final <|content_text|> response.)

Untouched 48-Draft Reserved Evaluation

Evaluated once on 48 frozen, previously untouched drafts across four splits (confirmation-technical, confirmation-general, replication-technical, replication-general; 12 drafts each), comparing this exact exported adapter against:

  • ordinary: base Inkling-2-Mini (effort=0.2) with a standard humanizer prompt.
  • base_clean: base Inkling-2-Mini (effort=0.2) with the exact same CLEAN_PROMPT.

Blind preference votes are order-invariant (both A/B and B/A orders must agree; disagreements are recorded as order-sensitive). Factual fidelity is audited independently per output against the source draft.

Split (n) Thinking Blind vs ordinary (W–L / OS) Blind vs base_clean (W–L / OS) Reading Pleasure vs base_clean (W–L / OS) Dashes (base_clean β†’ LoRA) Unprotected Tics (base_clean β†’ LoRA) Strict Fact Flags (base_clean β†’ LoRA)
confirmation-technical (12) 12/12 12–0 (0) 12–0 (0) 12–0 (0) 32 β†’ 5 57 β†’ 11 3 β†’ 11
confirmation-general (12) 12/12 12–0 (0) 12–0 (0) 9–0 (3) 60 β†’ 20 78 β†’ 23 1 β†’ 7
replication-technical (12) 12/12 11–0 (1) 9–0 (3) 10–1 (1) 33 β†’ 0 48 β†’ 4 0 β†’ 8
replication-general (12) 12/12 12–0 (0) 11–0 (1) 12–0 (0) 58 β†’ 5 70 β†’ 8 0 β†’ 10
Pooled Reserved (48) 48/48 47–0 (1 OS) 44–0 (4 OS) 43–1 (4 OS) 183 β†’ 30 (-83.6%) 253 β†’ 46 (-81.8%) 4 β†’ 36

On an additional 16-draft internal tech/essay benchmark (real-16), the exported weights achieved 16/16 thinking, 0/16 unprotected dashes (vs 31 for base_clean), and 7 unprotected tics (vs 45 for base_clean).

Examples

Example 1: Work Status Email

Input (verbose LLM draft):

Subject: Quick Update on Q3 Search Migration Timeline

Hi Sarah and team,

I wanted to share a quick update regarding the Q3 search index migration so everyone has visibility into where things stand.

Current Status

  • Completed: We finished backfilling all 14 million product documents into the new OpenSearch cluster on Tuesday and validated that query parity matches the legacy Elasticsearch index on our top 500 search terms.
  • Blocker Encountered: During shadow traffic testing yesterday afternoon, we noticed p99 latency spiking from 85ms to 420ms whenever bulk inventory updates ran concurrently with peak user traffic.

Next Steps

  1. Root Cause Investigation: Marcus and I are profiling refresh intervals and shard sizing today to isolate why bulk writes are stalling read threads.
  2. Schedule Impact: Because we want a full 48 hours of clean shadow traffic before cutting over production reads, I'm proposing we shift the production cutover from Thursday, October 10 to Monday, October 14 at 10:00 a.m. PT.

It's worth noting that this delay does not affect the mobile app release next week, since the API contract remains completely unchanged. Please let me know if Monday morning creates any conflicts on your end!

Best regards, Drew

Output (ftpo_voice_v6_release):

Hi Sarah,

Quick update on the Q3 search migration.

Here's where we stand. We finished backfilling all 14 million product documents into the new OpenSearch cluster Tuesday, and the new index matches the legacy Elasticsearch index on our top 500 search terms. That part's done.

Then yesterday afternoon, during shadow traffic testing, p99 latency jumped from 85ms to 420ms when bulk inventory updates ran at the same time as peak user traffic. That's the blocker.

Marcus and I will spend today profiling refresh intervals and shard sizing to figure out why bulk writes are stalling read threads.

Because we need 48 hours of clean shadow traffic before we can cut over production reads, I'm proposing we move the cutover from Thursday, October 10 to Monday, October 14 at 10:00 a.m. PT. I don't think Monday morning conflicts with anything on your end, but let me know.

The delay doesn't touch the mobile app release next week. The API contract stays the same.

Drew

Example 2: Technical Explanation (Docker Layer Caching)

Input (verbose LLM draft):

If your Docker builds suddenly take 6 minutes every time you change a single line of application code, the culprit is almost always layer cache invalidation caused by the order of instructions in your Dockerfile. Let's walk through why this happens and how to fix it.

The Problem: Copying Everything Too Early Docker caches each instruction as an immutable filesystem layer. When any file referenced by a layer changes, Docker invalidates that layer and every subsequent layer. If your Dockerfile runs COPY . . before pip install -r requirements.txt (or npm ci), then editing any .py file busts the cache for COPY . ., forcing Docker to re-download and reinstall all your dependencies from scratch on every build.

The Solution: Order Layers from Least-Frequently Changed to Most-Frequently Changed

  1. Copy only your dependency manifests first (COPY pyproject.toml uv.lock ./ or COPY package*.json ./).
  2. Run your dependency install step (uv sync --frozen or npm ci).
  3. Finally, run COPY . . for your application source code.

The Result Now, when you edit your source code without touching your lockfile, Docker reuses the cached dependency layer in milliseconds and only rebuilds the final source-copy stepβ€”often cutting build times from several minutes down to a few seconds.

Output (ftpo_voice_v6_release):

If your Docker builds take 6 minutes just to change one line of code, it's almost always the order of instructions in your Dockerfile.

Docker caches every instruction as a filesystem layer. Each layer is immutable. If a file that a layer depends on changes, Docker throws out that layer and every layer after it. So if you copy your whole project with COPY . . before you install dependencies, editing a single .py file breaks the cache on the copy step. That forces Docker to re-download and reinstall everything, every time, even if your dependencies didn't change at all.

The fix is to order your layers from least to most frequently changed. Copy only your dependency manifests first, like COPY pyproject.toml uv.lock ./ or COPY package*.json ./. Then run the install step, like uv sync --frozen or npm ci. Then copy in your application source code.

Now a source code edit only invalidates the last layer. Docker reuses the cached dependency layer, which takes milliseconds, and rebuilds just the final copy step. Your build drops from several minutes to a few seconds.

Limitations & Factual Fidelity Trade-Off (Read Before Use)

This adapter intentionally trades conservative copy-editing (base_clean) for much stronger rewriting freedom and spoken cadence. On the 48-draft untouched reserved suite, that trade-off is clear:

  • Prose preference & de-slopping: 47–0 vs ordinary, 44–0 vs base_clean, -83.6% dashes, -81.8% tics.
  • Strict factual audit (36/48 flagged vs 4/48 for base_clean): On dense legal, regulatory, scientific, or financial drafts, aggressive compression and de-hedging can introduce real factual slips, most commonly strengthening tentative qualifiers ("could harm" β†’ "harms"), dropping scope qualifiers (e.g., "existing fossil fuel-fired plants"), or occasionally conflating closely related facts/numbers (e.g., rewriting "two spacecraft of identical design" as "the same spacecraft").

Recommended workflow: Use this adapter as a prose drafting & humanizing pass on technical explainers, emails, essays, and notes, and always review numbers, dates, and legal/scientific qualifiers against your source before publishing. Do not use it unattended on compliance, legal, medical, or financial documents.

Downloads last month
15
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for droyster/inkling-2-mini-humanizer-lora

Adapter
(68)
this model

Paper for droyster/inkling-2-mini-humanizer-lora