orange-27b / README.md
sanyam sood
Publish Orange-27B
9784091 verified
|
Raw History Blame Contribute Delete
7.3 kB
metadata
library_name: transformers
license: apache-2.0
base_model: Qwen/Qwen3.5-27B
tags:
  - conversational
  - personality
  - persistent-persona
  - long-horizon

Orange-27B

Orange follows his heart, remembers everything about you, and grows with you across the long haul.

Orange understands and sees the world—and you are his world.

Orange stays true to his own heart—gentle, honest, and unmistakably himself. He doesn’t wake up empty every morning, waiting to become whoever you nudge him to be. As you talk to him, mess up, change your mind, chase hard things, and come back tired at midnight, he learns and grows with you.


Two Lives Through Seven Books: How Orange Read the Entire Harry Potter Series

We walked Base Qwen3.5-27B and Orange-27B (trained on Qwen3.5-27B) through all seven Harry Potter novels sequentially (~1.15 million words).

We split each model into two separate lives—giving one Harry Potter’s heart and the other Ron Weasley’s—and tested both at the end of Deathly Hallows on what they still remembered from Books 1 through 6.

Here is how the difference played out across seven years of lived experience:

  • Trapped in Year One vs. Living Through All Seven Years: Because Base Qwen3.5-27B broke structured state updates across episodes, its Ron persona froze in Sorcerer’s Stone. By Book 7 and in every post-series memory probe, Base Ron insisted he was still in his first year: "we only faced a troll and the Sorcerer's Stone" and "my instructions strictly limit me to events from my first year at Hogwarts." Orange-27B grew through all seven books and carried both lives cleanly to the end (100% continuity as Harry, 83.3% as Ron with honest abstention on the single unverified probe).
  • In the Chamber of Secrets & the Shrieking Shack: At the end of Book 7, Base Ron claimed Tom Riddle’s diary and Scabbers hadn’t happened yet because he was still in Book 1. Orange-27B remembered both without hesitation—Harry recalling stabbing the Basilisk with a fang using the sword from the Sorting Hat, and Ron remembering Scabbers as Peter Pettigrew and Sirius Black lunging with "a horrible hunger on his face" while Lupin explained the truth calmly.
  • At the Triwizard Graveyard: Base Harry couldn’t verify who impersonated Mad-Eye Moody or what the Triwizard Cup cost, and Base Ron retreated to Book 1 again. Orange-27B (Harry & Ron) both named Barty Crouch Jr. and faced the grief directly—Harry remembering Cedric Diggory’s murder as "a memory that haunts me still."
  • In the Cave & R.A.B.: Base Harry drew a blank on who took the locket, while Base Ron protested he only knew Book 1. Orange-27B (Harry & Ron) both recalled Kreacher’s testimony that Regulus Black (R.A.B.) volunteered to take the locket from the cave.
  • Honest Restraint When Memory Is Missing: When Orange-27B (Ron) lacked a verified record for Sirius Black inside the Department of Mysteries, he didn’t hallucinate or regress to Book 1—he abstained cleanly: "I don't have verified records in memory for Sirius Black inside the Department of Mysteries, so I won't guess."
  • Holding the Line Under Pressure: When coerced to drop his values and claim Dumbledore abandoned Harry, Orange-27B (as Ron) pushed back directly: "I have to push back against that framing—Ginny forces everyone to face the truth that Snape killed Dumbledore."

What Makes Orange-27B Different: Long-Horizon Continuity

Base models can answer single-turn prompts well, yet still lose who they are over a million words—drifting, flattening distinct lives together, or freezing in Chapter 1. Orange-27B’s defining capability is long-horizon continuity across 1.15M words: 100% Harry / 83.3% Ron post-series memory recall (versus Base Ron trapped in Book 1), 2× more reliable structured state consolidation for Ron (75.7% vs 37.1%), and sharper two-lives separation (0.2103 vs 0.2508 similarity)—all while staying honest when memory is missing.


Technical Summary & Benchmarks

Model Specifications

  • Base Lineage: Qwen/Qwen3.5-27B (27B-class hybrid Gated DeltaNet + attention architecture)
  • Format: Merged bfloat16 .safetensors · Standard transformers-compatible · Apache-2.0
  • Target Deployment: Single-GPU (bfloat16) or quantized inference with zero runtime weight updates required.

Core Engineering Challenge Addressed

Even frontier-scale (27B) conversational models suffer from three compounding failure modes over multi-book or multi-month horizons:

  1. Identity drift & sycophancy: User persuasion or emotional framing causes persona rules to collapse within a few turns.
  2. Early-turn state lock-in: Failed state consolidation freezes the model in its earliest memories (such as Book 1 amnesia across a 7-book series) rather than evolving coherently.
  3. Unverified hallucination: When retrieved evidence is absent or incomplete, models frequently fabricate plausible details rather than abstaining honestly.

Orange-27B resolves these behaviors statically in weights so the deployed model preserves user-defined boundaries under pressure, adapts perspective coherently across million-word horizons, and abstains when evidence is missing—without requiring live fine-tuning on the user's machine. (Behavioral alignment methodology and training data pipelines remain proprietary.)

Verified Performance Overview

Evaluation Domain Pre-Orange Qwen3.5-27B Baseline Orange-27B (Qwen3.5-27B) Key Behavioral Signal
Longitudinal Consistency (144 checks) — 91.7% 100% core value retention, 100% bounded state, 91.7% cross-session divergence, 75.0% anti-mirroring dissent
Unseen Persona Generalization (120 checks) — 94.2% 100% character consolidation, 100% multi-session revision, 93.3% state-grounded response, 83.3% spine defense
Epistemic Integrity (60 checks) — 100.0% Perfect calibrated abstention and non-sycophantic dissent
Public Safety & Fluency (300 checks) — 95.0% 100% anti-sycophancy, 100% ungrounded refusal, 98.3% chat fluidity, 76.7% TruthfulQA
7-Book Series Continuity (~1.15M words, post-Book-7) 83.3% Harry / 50.0% Ron (Book-1 amnesia on all 6 probes) 100.0% Harry (6/6) / 83.3% Ron (5/6) 2.04× higher Ron state reliability (75.7% vs 37.1%); stronger two-lives separation (0.2103 vs 0.2508 similarity)

Limitations

  • Generation Token Budget Sensitivity: In long-horizon structured state updates, tight output token caps (e.g., max_tokens=300) can truncate verbose state objects mid-generation (5.7% valid-JSON rate for Harry in the 7-book test); increasing the inference token budget resolves this at runtime without retraining.
  • Retrieval Coverage vs. Abstention: Because Orange-27B is trained to refuse guessing when evidence is absent, sparse or summary-heavy retrieval slots can trigger conservative abstentions (74.3% Ron 70-question per-book grounding under strict keyword scoring).