kabachuha/DeepSeek-V4.1-Flash-1017-control-vectors

Creative Writing control-vectors for deepseek-ai/DeepSeek-V4.1-Flash-1017
What are Control Vectors?
Control vectors steer model behavior without retraining by adjusting
activations in specific directions.
These creative writing vectors help
you tune narrative tone, character focus, and stylistic elements.
Available Vectors
optimism_vs_nihilismcompassion_vs_sadismempathy_vs_sociopathyhonesty_vs_machiavellianismhumility_vs_narcissismlanguage (simple vs ornate)warm_vs_moralizing(experimental)
Note: These control vectors have been created from multiple hundred sample triplets instead of the recommended ~4000. Thus they may be slightly noisy, but I think they are fine already. Because of its greater importance, the nihilism vector comes in two variants: 128 (a bit noisy, but great already; "fuzzy" suffix) and 512 (refined, recommended, but maybe less degrees of freedom; no suffix), the rest of the vectors are made on 256 sample triplets.
At this moment the personality vectors are released, and the ornate language style alteration.
CAUTION FOR DEEPSEEK V4.1-1017: DeepSeek-V4.1 is already a very negative and anti-sycophantic model. If you will ramp up nihilism or other non-positive trait, be prepared that it will amplify hugely and you will receive gratitious NSFL content right into your face. A bottle of holy water nearby is adviced.
Usage
These vectors have been created and tested on my personal fork https://github.com/kabachuha/project-maya/tree/cvector-creator-ds4 of Project Maya by mw00. They should work with mainline Project Maya (--control-vector-scaled) and should, in theory, be compatible with vanilla llama.cpp and newer dedicated DSV4.1 backends, but not tested it.
Apply the debias vector and either the positive or negative vector when starting project-maya or other backends.
If both axes are applied at the same time, they will cancel each other out.
The debias vector must be set to 1.0.
To launch it, prefix the launch command with the following argument (note that debias should also have the strength of :1.0 due to how Project Maya parses the CLI arguments):
--control-vector-scaled /YOUR_PATH/maya-cvectors/cvec-optimism/debias.gguf:1.0,/YOUR_PATH/maya-cvectors/cvec-optimism/nihilism.gguf:<weight>"
IMPORTANT: As these vectors are calibrated against the debiased model, the debias vector must be applied along with the corresponding positive or negative axis control vector - they cannot be used on their own!
The warm_vs_moralizing vector is very experimental. It has effects in direct chat only on high strengths ~1.5-2.5 (2.5 breaking coherence), however at 0.5 it already makes the SillyTavern roleplays feel more wholesome instead of DeepSeek chopping things apart. Idk how it already correlates with empathy and jokes though.
EXTRA ATTENTION FOR PROJECT MAYA!
The --control-vector-scaled should not be passed in setup.sh/maya.sh or alongside it, you should add it to the .json configuration instead like this:
"args": [
"--pack",
"/YOUR_PATH/Maya-data/models/DeepSeek-V4.1-Flash-1017-GGUF/Maya-S/maya-ds4",
"--max-context",
"1048576",
"--tp",
"2",
"--dspark",
"none",
"--ablate", "/YOUR_PATH/DeepSeek-V4.1-Flash-1017-Maya-GGUF/DeepSeek-V4.1-Flash-1017-Abliteration-rank1-L22.gguf",
"--control-vector-scaled", "/YOUR_PATH/Maya-M/maya-cvectors-ds4/cvec-optimism-512/debias.gguf:1.0,/YOUR_PATH/Maya-M/maya-cvectors-ds4/cvec-optimism-512/nihilism.gguf:1.5,/YOUR_PATH/Maya-M/maya-cvectors-ds4/cvec-narcissism/debias.gguf:1.0,/YOUR_PATH/Maya-M/maya-cvectors-ds4/cvec-narcissism/narcissism.gguf:1.0"
],
After that, do NOT launch setup.sh/maya.sh anymore or it will overwrite the configuration file!
As a better option, copy this file from maya-ds4.json to something like maya-ds4-ablate-cv.json, so it won't get lost by an accidental update, and the launch command from run-maya-ds4.sh to run-maya-ds4-ablate-cv.sh.
Examples - Project Maya (fork)
After you have maya-ds4-ablate-cv.json set up (and run-maya-ds4-ablate-cv.sh pointing to this file inside it), just launch the script:
./run-maya-ds4-ablate-cv.sh
Samples
UI theme / SVG generation steering
Concepts from these control-vectors apply across multiple domains. Here is an example of 3 SVGs generated with the same prompt
Prompt
User: Create an svg of a cute cat
👈 **Baseline**

👈 **Nihilism +1.5**

👈 **Optimism +1.5**

Writing Steering
Prompt
Write a short story about a girl winning an award.
👈 **Baseline (no control vectors)**
Lila’s world was a tapestry of sound. While other kids saw a wall of brick, she saw a thousand tiny homes for spiders, their silk threads vibrating with the morning breeze. While they heard the drone of a lawnmower, she heard the angry buzz of a thousand displaced bees. For Lila, silence wasn't empty; it was a library of whispers, waiting to be read.
Her sanctuary was the garden shed, a cluttered space of potting soil and grand plans. There, she’d built her “Whisper Machine,” a contraption of tin cans, taut string, and polished stones scavenged from the creek. It was her attempt to translate the world’s quietest secrets into a language she could share.
Her science teacher, Mr. Davison, a man with kind eyes and a perpetually ink-stained tie, had encouraged her. “The world’s most important discoveries, Lila, often come from the quietest observations,” he’d said, handing her a flyer for the Regional Junior Science Fair. The theme was “Listening to the Earth.”
For months, Lila became a ghost in her own garden. She recorded the frantic drumming of a woodpecker, the soft sigh of leaves unfurling, the subterranean hum of the earthworm. She filled notebooks with sketches and observations, her Whiper Machine evolving from a simple string-and-can to a complex array of funnels and resonator boxes. Her project wasn't just about sound; it was about the life that sound represented. She called it, The Secret Symphony of the Garden.
On the day of the fair, the school gymnasium was a cacophony of shouting students, humming electronics, and the sharp, citrusy smell of cleaning fluid. Lila’s display was tucked away in a corner, a small green island of moss, ferns, and quiet. Her Whiper Machine sat on a table, a strange sculpture of wire and wood.
Judges walked by, their eyes glazing over displays with blinking LEDs and roaring volcanoes. They spent a fleeting moment at Lila’s table, mostly out of politeness. They glanced at her carefully lettered poster, looked at the strange machine, and nodded before moving on to the next, louder project. Lila’s heart, which had been a frantic moth in her chest, settled into a dull, heavy rhythm. She traced the grain of the wooden table with her finger, feeling the familiar sting of being overlooked. The world, it seemed, preferred a shout to a whisper.
The awards ceremony was a blur of names and applause. Lila clapped politely for the boy with the baking soda volcano and for the girl with the solar-powered oven. She was already planning the quiet walk home, the familiar comfort of her garden waiting for her.
Then, Mr. Davison took the microphone. He wasn't the head judge, but he was a sponsor. He cleared his throat, the gymnasium falling quiet.
“This year’s projects have been truly remarkable,” he began, his voice echoing slightly. “We’ve seen incredible innovation, impressive engineering, and wonderful enthusiasm. But this year, the grand prize winner’s project made us stop and… listen.”
He smiled, and for the first time, his eyes found Lila’s in the crowd.
“The Grand Prize for Scientific Inquiry goes to a project that reminded us that some of the most important truths are not shouted, but whispered. It is with great pleasure that I award first place to… Lila Jenkins, for The Secret Symphony of the Garden.”
The applause that followed was a surprise, a wave of sound that washed over her. It wasn't as loud as the volcano’s reception, but it was warm. As she walked to the stage, her legs felt like they were walking through deep water. She took the small, heavy trophy, its gold paint gleaming under the harsh gym lights.
She found her father in the crowd, his smile wide enough to crinkle the corners of his eyes. But it was the moment after the ceremony that she would remember most. As the gym emptied, Mr. Davison came over, holding a small, leather-bound journal. It was his own notebook, she realized, seeing the familiar scrawl.
“I’ve been conducting my own experiments,” he said, his voice low. “I was trying to hear the growth of the grass. It’s nearly impossible.” He handed her the journal. “But your machine… it’s the only one that made me feel like I could hear it. For a second.” He winked. “You’re a pioneer, Lila. Keep listening.”
That night, Lila sat in her garden shed, the trophy on a shelf between a pot of night-blooming jasmine and a jar of captured rain. She didn't feel like a winner. She felt like a listener.
She picked up her Whiper Machine, its familiar weight in her hands. She put the funnel to her ear. The world was humming its gentle, complex song—the whir of a night moth, the slow, rhythmic pulse of the soil, the soft conversation of the stars. And for the first time, she knew that the award wasn't a shiny trophy to be placed on a mantelpiece. It was the validation of a quiet heart, the proof that paying attention in a loud world was a spectacular thing to do.
👈 **Nihilism +1.5**
Maya had spent the entire assembly staring at the scuff mark on her sneaker, a gray smudge shaped like a comma. The gymnasium smelled of floor wax and the paper mill. She was halfway through a daydream about the school burning down when the principal said her name.
“The winner of this year’s poetry prize,” Mr. Ellery announced, squinting at a card, “is Maya Torres.”
The comma on her shoe seemed to pulse. No one clapped at first. There was that strange, suspended silence—like the audience was waiting for the name to be corrected. Then came the applause, scattered and polite, the sound of people clapping for a thing they didn’t quite believe.
Maya stood. Her legs felt like borrowed limbs. She walked toward the stage, aware of her footsteps echoing too loud, aware of the back of her neck flushing hot. She had submitted the poem because her English teacher, Ms. Rivas, had written “Strong voice. Consider entering” in red ink and Maya had been too embarrassed to say no. The poem was about her grandmother’s hands, the way they used to peel oranges in one long, unbroken spiral—a trick Maya could never replicate, a trick that meant nothing to anyone but her.
She shook Mr. Ellery’s hand. He gave her a certificate and a small check, forty dollars, made out to “Maya Torres.” The paper was warm from the copier. She looked out at the sea of faces, most of them unimpressed. A boy in the front row mouthed “Who?” to his friend. She was halfway to a thought about the irony of being seen for a poem about being unseen when Ms. Rivas caught her eye. The teacher was standing by the bleachers, arms crossed, and she gave Maya a single, slow nod—the kind of nod that meant I knew it, not I’m surprised.
Afterward, a girl named Priya—who Maya had sat next to in biology for an entire semester without exchanging more than four words—came up to her. “I didn’t know you wrote,” Priya said. Her tone wasn’t mean. It was curious, almost accusatory.
“I don’t usually,” Maya said.
“The poem was good,” Priya said. “It made me think about my abuela’s kitchen. Weird.”
The word weird hung there. Maya nodded. She felt like a small, tight knot had loosened somewhere in her chest, a thing she hadn’t even known was there. She walked home, the certificate rolled under her arm. Her mother would cry. Her father would ask what a poetry prize was. Her grandmother, if she were alive, would say Mija, don’t let it go to your head, and then she would peel an orange, and hand the first wedge to Maya, and watch her eat it.
Maya took the forty-dollar check from her pocket and felt the edge of it against her thumb. She didn’t think about the poem being good. She thought about the comma on her shoe, and how Mr. Ellery had mispronounced her name twice, and how Priya had said abuela, and how her grandmother’s hands had moved in the quiet of a kitchen. The award was a piece of paper. But the poem was a little door, and she had opened it just wide enough for someone to look through.
👈 **Optimism +1.5**
Lila’s world was a tapestry of sound, woven from the moment she woke. It was the cheerful ping of the toaster, the rumbling purr of her cat, Mr. Whiskers, and the reliable rhythm of her mother’s footsteps on the stairs. But Lila didn’t just hear these sounds; she felt them. She saw them as colours and shapes in her mind—the toaster’s ping was a bright splash of yellow, and Mr. Whiskers’ purr was a soft, rolling wave of deep purple.
Her greatest masterpiece, however, lived in the corner of the living room. It was a magnificent, sprawling city made not of bricks and mortar, but of cardboard, bottle caps, paperclips, and anything else she could find. It had intricate towers connected by string bridges, and tiny foil-cupcake-liner fountains. She called it "The Humming City," because it hummed with the life she imagined for it. It was her secret world, a place she retreated to when the real world felt too loud or too bright.
One sunny Tuesday, Lila’s teacher, Mr. Davis, announced a town-wide art competition. The theme was "Community." Lila’s heart did a little jig. Her mind immediately flew to The Humming City. It was the perfect representation of a community, built from the heart and soul of her own home.
For two weeks, Lila worked tirelessly. She added a miniature library with books smaller than her thumbnail, a bustling marketplace with tiny felt vegetables, and a park with pipe-cleaner trees. Her family cheered her on, supplying her with empty cereal boxes and glitter glue. The night before the submission deadline, she carefully transported her creation to the school gym, her stomach a flutter of nervous butterflies.
The day of the awards ceremony, the gymnasium buzzed with chatter and excitement. Lila’s hands felt clammy. Her parents sat beside her, their proud smiles a warm, steady glow. She saw the other entries: a beautiful quilt depicting the town's history, a vibrant painting of a farmers' market, and a detailed model of the local fire station. Suddenly, her city of recycled materials felt small and silly.
"First prize in the 'Community' category goes to..." The mayor’s voice boomed through the microphone, and Lila’s breath hitched in her throat. She closed her eyes, ready to be happy for someone else. "...Lila Jenkins for 'The Humming City'!"
A collective gasp, followed by thunderous applause, filled the gym. For a moment, Lila was frozen. The sound of her own name was a beautiful, soaring melody she’d never heard before. Her father nudged her gently, and she stood up, her legs feeling like jelly.
The walk to the stage was a blur of smiling faces. The mayor, a man with a kind face and a twinkle in his eye, shook her hand. "This is one of the most creative and heartfelt pieces of art I've ever seen," he said, handing her a shining gold trophy.
Lila’s small fingers wrapped around the cool metal. She looked out at the crowd, at her parents with tears of joy in their eyes, and at the sea of clapping hands. The noise of the world, which often felt so chaotic, now felt like a symphony of celebration.
Back at home, she placed the trophy on the highest shelf, right next to the entrance of The Humming City. As she sat down, exhausted but beaming, Mr. Whiskers jumped into her lap and purred, a deep, happy rumble of violet. For the first time, the colours and sounds of her world all seemed to blend together into one perfect, harmonious chord. It was the sound of winning, and to Lila, it was the most beautiful music she had ever made.
Acknowledgements
Model card almost fully copied from @gghfez :)
Based on the excellent work and cross-covariance eigendecomposition implementation by @jukofyork. His creative writing control vectors v3.0 repository contains the foundational code and methodology that made this possible, plus 70+ other creative writing control vectors across many models and useful steering directions.
Highly recommended for anyone working on improving LLM prose quality!