Inkling-Gutenberg-DPO
A merged BF16 release of Thinking Machines Inkling, preference-tuned to favor authentic literary prose over synthetic creative-writing slop.
This is the deployment-ready counterpart to nbeerbower/Inkling-Gutenberg-DPO-LoRA. The rank-32 adapter has already been merged into the complete Inkling checkpoint; no PEFT runtime or separate base-model download is required.
Training
Training used Direct Preference Optimization through Tinker and tinker-cookbook.
| Setting | Value |
|---|---|
| Base model | thinkingmachines/Inkling |
| Dataset | schneewolflabs/Alembic-DPO, scored configuration |
| Selection | English Gutenberg, keep, quality >= 50 |
| Train / validation pairs | 3,719 / 128 |
| Objective | DPO |
| LoRA rank / alpha | 32 / 32 |
| DPO beta | 0.1 |
| Learning rate | 1e-5, linear decay |
| Effective pair batch | 32 |
| Maximum sequence length | 4,096 |
| Epochs | 1 (116 optimizer steps) |
| Renderer | Inkling tml_v0, thinking effort 0.9 |
The selected pairs contrast public-domain Project Gutenberg prose (chosen) with synthetic prose (rejected). Alembic's deterministic quality score was used for selection; its raw LLM-judge preference vote was not used.
Training result
| Metric | Start | Final |
|---|---|---|
| Held-out NLL | 1.7854 | 1.6891 |
| Preference accuracy | ~50% | 100% |
| DPO loss | ~1.8 | 0.0050 |
| Reward margin | near 0 | +21.03 |
The preference signal converged rapidly, so the run was limited to one decaying-learning-rate epoch.
Format and use
This repository contains the full merged BF16 checkpoint in Inkling's original TML-native sharded layout. It is approximately 1.8 TiB and includes the unmodified MTP tensors from the base model.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "nbeerbower/Inkling-Gutenberg-DPO"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto",
trust_remote_code=True,
)
Inkling is a 975B-total / 41B-active mixture-of-experts model. Loading or serving the BF16 checkpoint requires unusually large storage and memory resources. Use the LoRA repository if distributing only the tuned delta is preferable.
Merge validation
The merge applied the inverse of Transformers' Inkling checkpoint conversion to preserve the published native layout, including dense, routed-expert, and shared-expert fused/interleaved MLP tensors.
- 1,438 adapter tensors paired into 719 LoRA modules
- 591 native base tensors updated across all 108 model shards
- all 1,552 indexed checkpoint tensors and 109 safetensors files header-validated after merge
- representative attention and dense-MLP tensors matched the expected BF16 LoRA result exactly
- LoRA scale:
alpha / rank = 1
Intended behavior
The tune targets literary fiction, period prose, novel continuation, dialogue, and creative-writing tasks where generic AI phrasing is undesirable. It is a stylistic preference tune, not a factual-knowledge or safety tune.
The model may reproduce public-domain literary styles, favor longer source-like continuations, or use period diction when prompted toward historical settings. Evaluate modern-register writing and general instruction following for your application.
License
Apache 2.0, matching the Inkling base model. Alembic-DPO is CC-BY-4.0 and derives its literary text from public-domain Project Gutenberg sources; consult the dataset card for complete provenance.
- Downloads last month
- -
Model tree for nbeerbower/Inkling-Gutenberg-DPO
Base model
thinkingmachines/Inkling