# __Op2na release__

***OP2NA are decoding presets for NovelAI Xialong-v1 storytelling model, optimized with Optuna using AutoSampler.*** Each *trial* uses the first `16,400` tokens of *The Emperor's Soul* as context. ***Xialong-v1*** then generates `11` continuations of `11,950` tokens each (`23,900` for **Durable**). At each window position all samples form a *geometric median* and are scored *against* the actual book text. **The objectives** are similarity across `92` *stylometric features* and *semantic similarity*, computed with ***Qwen3-Embedding-8B*** at `4,096` dimensions, both over sliding windows of `256` tokens, plus extra *semantic* windows of `32` tokens—all with a stride of `16`. Stylometric via: ***spaCy***, ***textdescriptives***, ***NRCLex***, ***textstat***, and ***lexicalrichness***.

- **Op2na Durable** https://cdn.discordapp.com/attachments/1503025608978862173/1534560933135777832/Op2na_Durable.preset *__≤ Click here to download__*
> Durable keeps the story calm and consistent, with the lowest information rate. *<novel-variant-24k>*

- **Op2na Focus** https://cdn.discordapp.com/attachments/1503025608978862173/1534560933521788938/Op2na_Focus.preset
> Focus has the sharpest line-level writing, but is weaker at tracking the overarching plot. *<256stylometric+32emb-windows>*

- **Op2na Novel** https://cdn.discordapp.com/attachments/1503025608978862173/1534560934020780062/Op2na_Novel.preset
> Novel aims to match the richness and novelty of real-world books, if the user can keep up. *<256stylometric+256emb-windows>*

- **Op2na Attributes** https://cdn.discordapp.com/attachments/1503025608978862173/1534560932758556833/Op2na_Attributes.preset
> Attributes is useful for non-prose lorebooks, but too volatile to use in a story. *<32emb-windows>*

*I hope you enjoy these presets for Xialong! I worked full-time on this for two weeks, and spent ~$100. Source code & db is available.*