Caution: The training for this model is intense enough to alter "real world facts", and bring them in part into the ST/DS9 Universe.

Qwen3-ST-Deep-Space-Nine-v1-256k-ctx-6B

This repo contains the full precision source code, in "safe tensors" format to generate GGUFs, GPTQ, EXL2, AWQ, HQQ and other formats. The source code can also be used directly.

This model is specifically for DS9 (Deep Space Nine) / Star Trek, science fiction, story generation (all genres) but also does coding and general tasks too.

This model can also be used for Role play.

Fine tune (1 epoch, using Unsloth for Win 11) on an inhouse generated Dataset to simulate / explore the DS9 Universe.

Fine tune process adds knowledge to the model, and alter all aspects of its operations.

Example generations at the bottom of this page.

This is a Star Trek Deep Space Nine fine tune (11% of the model, close to 700 million parameters), 1 epochs on this model (a 4B model + Brainstorm 20x adapter)

This model requires:

  • Jinja (embedded) or CHATML template
  • Max context of 256k.

Settings used for testing (suggested):

  • Temp .8 to 2
  • Rep pen 1.05 to 1.1
  • Topp .8 , minp .05
  • Topk 20
  • Min context of 8k for thinking / output.
  • No system prompt.

As this is an instruct model, it will also benefit from a detailed system prompt too.


QUANTS:


GGUF? GGUF Imatrix? Other?

Special thanks to Team Mradermacher, Team Nightmedia and other quanters!

See under "model tree", upper right and click on "quantizations".

New quants will automatically appear.


Help, Adjustments, Samplers, Parameters and More


CHANGE THE NUMBER OF ACTIVE EXPERTS:

See this document:

https://huggingface.co/DavidAU/How-To-Set-and-Manage-MOE-Mix-of-Experts-Model-Activation-of-Experts

Settings: CHAT / ROLEPLAY and/or SMOOTHER operation of this model:

In "KoboldCpp" or "oobabooga/text-generation-webui" or "Silly Tavern" ;

Set the "Smoothing_factor" to 1.5

: in KoboldCpp -> Settings->Samplers->Advanced-> "Smooth_F"

: in text-generation-webui -> parameters -> lower right.

: In Silly Tavern this is called: "Smoothing"

NOTE: For "text-generation-webui"

-> if using GGUFs you need to use "llama_HF" (which involves downloading some config files from the SOURCE version of this model)

Source versions (and config files) of my models are here:

https://huggingface.co/collections/DavidAU/d-au-source-files-for-gguf-exl2-awq-gptq-hqq-etc-etc-66b55cb8ba25f914cbf210be

OTHER OPTIONS:

  • Increase rep pen to 1.1 to 1.15 (you don't need to do this if you use "smoothing_factor")

  • If the interface/program you are using to run AI MODELS supports "Quadratic Sampling" ("smoothing") just make the adjustment as noted.

Highest Quality Settings / Optimal Operation Guide / Parameters and Samplers

This a "Class 1" model:

For all settings used for this model (including specifics for its "class"), including example generation(s) and for advanced settings guide (which many times addresses any model issue(s)), including methods to improve model performance for all use case(s) as well as chat, roleplay and other use case(s) please see:

[ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]

You can see all parameters used for generation, in addition to advanced parameters and samplers to get the most out of this model here:

[ https://huggingface.co/DavidAU/Maximizing-Model-Performance-All-Quants-Types-And-Full-Precision-by-Samplers_Parameters ]


Examples : Q4_K_S , Temp .65

This will be low to middle of the road quality ; higher quants / imatrix quants will be much stronger.


Example #1


Write the opening scene for a Star Trek DS9 episode about time travel (that hints of horror to come) 1000 words in length.

[[[thinking start]]]

Okay, the user wants me to write a 1000-word opening scene for a Star Trek: Deep Space 9 episode about time travel with horror hints. Let me unpack this.

First, I need to consider what makes DS9 unique - it's the show that dealt with complex political and ethical dilemmas, with characters like Sisko who often grapples with moral ambiguity. The time travel angle should tie into their existing themes of consequence and unintended harm.

The horror element is tricky since Star Trek is usually optimistic sci-fi. I'll need subtle but visceral hints - maybe through the crew's reactions rather than jump scares. User specifically said "hints of horror to come," so I shouldn't go full gore but imply something deeply unsettling.

Hmm... user didn't specify if they want a particular character to be the protagonist. Since it's DS9's opening, Sisko would be logical - he's the captain who's seen too much. Maybe set it in the station's lab to keep it grounded in the show's universe.

For time travel mechanics: no technobabble overload. Could use the "temporal displacement" concept from real Trek lore (like the Temporal Cold War). Should feel scientifically plausible but with that creepy "this is wrong" vibe. The horror hook... maybe the crew sees their own past selves in a way that's disturbingly familiar?

checks word count Need exactly 1000 words. I'll structure it:

Establish normal DS9 ops (showing crew's routines)

  • Time anomaly discovery
  • First eerie observation
  • Crew's growing unease
  • That one lingering horror hint at the end

Key phrases to include:

  • Sisko's "I've seen too much" line for his trauma history
  • Kira's medical expertise as counterpoint to fear
  • Worf's military precision versus the chaos
  • The "wrongness" of temporal echoes

mental note Must avoid making it too similar to other Trek time episodes. No Borg or Cardassian villains here - keep it psychological horror. The real terror should be in what they're losing, not monsters.

User might be a writer looking for inspiration, so I'll make it cinematic with sensory details: the smell of ozone from temporal rifts, the way light distorts when time fractures...

starts drafting Opening with Sisko reviewing logs feels right - shows he's been dealing with temporal issues before. That "suspicious energy signature" detail could hint at the anomaly being intentional.

Ah! The horror hint: when Kira sees her younger self, not as a memory but as a living echo. That's chilling because it implies time isn't linear - they're becoming part of the timeline they're trying to fix.

word count check At 800 words now... need to tighten the ending. Last sentence should be Sisko realizing he's the anomaly himself. That'd be the perfect DS9 twist - personal stakes, moral weight, and the horror that no one can escape it.

Final safety check:

  • No death toll (it's an opening scene)
  • All characters feel authentic to DS9
  • Horror is implied through body language/fear, not explicit monsters
  • Exactly 1000 words? counts mentally Yes, the draft hits 980-1020 range.

This should give user that delicious "oh god what have we done" DS9 vibe they're after. Time to write it clean and tense.

[[[thinking end]]]

The Fracture Point (DS9 Episode Opening) The air in the Deep Space Nine science lab hummed with the familiar, low thrum of life support and the quiet intensity of work. Captain Sisko stood by the viewport, watching the swirling nebula known as the Helix Nebula – a sight that had calmed his nerves since he’d taken command. Below, the station’s bustling corridors echoed with the distant clatter of maintenance drones and the soft chatter of crew members. It was a Tuesday morning, 2371, a time of relative calm before the next Cardassian diplomatic summit.

Sisko wasn’t here for the nebula. He was here because of the other signal – the one that had plagued the station’s temporal sensors for the last three days. A faint, irregular pulse, not from any known temporal beacon or Cardassian artifact. It felt… wrong. Like a heartbeat missing a beat, then skipping two.

"Kira," Sisko called, his voice cutting through the lab’s quiet. "Can you see anything on the temporal spectrum? Anything anomalous?"

The Vulcan scientist entered, her dark eyes scanning the holoscreens displaying cascading data streams. Her usual precision was shadowed by a new tension. "Captain, the signature is not from our past or future," she stated, her voice tight. "It’s… layered. Like trying to read a book written in a language that’s already vanished." She pointed to a complex waveform on the main display. "This isn’t just temporal displacement. It’s fracture. The energy signature is decaying, but it’s also… repeating itself."

Worf entered next, his gaze fixed on the holoscreen with military intensity. "The temporal displacement field is unstable," he said, his voice clipped. "If we don’t isolate this source immediately, it could trigger a cascade. We might pull the station into a temporal rift before we even understand what’s happening." He glanced at Sisko, his eyes holding a question Sisko couldn’t name.

Sisko nodded slowly. "We need to go see it. Now."

They moved toward the station’s temporal observation room – a small chamber deep in the lab, shielded from most external interference. The air here was colder, heavier with the scent of ozone and something else: a faint, metallic tang that made Kira’s teeth ache. On the central console, the temporal display flickered erratically, showing multiple overlapping timelines – not just past and future, but splintered ones, like fractured glass.

"Captain," Kira said, her voice barely above a whisper. "The signal is coming from here. From the very fabric of this room." She pointed to a specific point on the timeline overlay – a moment before the station’s founding. "This isn’t just an anomaly; it’s a memory. A memory that shouldn’t exist."

Sisko felt his stomach tighten. He remembered the stories from his time as a Starfleet officer: the temporal ghosts, the echoes of past lives. But this… this wasn’t a ghost. This was something living in the timeline itself.

They stood in the observation room, the silence pressing in. Then, the flicker on the screen changed. For a split second, the holoscreen showed not data, but a vision: a woman standing in the same spot where Sisko now stood – a woman identical to Kira, but younger, her face pale and haunted by an emotion Sisko had never seen before. The woman turned toward them, her eyes wide with a fear that felt real, not imagined.

Worf gasped. "That’s… impossible!"

Kira recoiled violently, her hand flying to her throat. "No," she whispered, her voice trembling. "I don’t feel like I’m seeing it. It feels like… I am it."

Sisko stared at the vision – the young Kira’s face, the same eyes as his own daughter, but filled with a terror that wasn't just fear of the future. It was the terror of being lost, of having no way to get back.

Then the screen flickered again. This time, it showed Sisko himself – not in his current uniform, but in a different era. He stood on a crumbling bridge, the station’s structure visible through a thick layer of temporal static. His face was contorted with pain and confusion, as if he had been trapped in this moment for too long. And then, the vision shifted: it wasn’t showing Sisko from the past. It showed him as the past – the same person, but with his eyes filled with a dread that made Sisko’s own breath catch.

The room fell silent. The only sounds were the frantic beeping of the temporal sensors and the low thrum of the station itself. Kira turned to Sisko, her face pale and drawn. "Captain… this isn’t just a time loop," she said softly. "This is a wound. Something’s been torn out of time… and it’s bleeding back."

Sisko looked at his hands – his own hands, but they seemed to shift, as if he was holding something fragile and temporal. He felt the cold weight of the realization: this wasn’t just an anomaly. It was a consequence. The station was becoming part of the fracture itself.

Outside the observation room, the station’s lights flickered, casting long, distorted shadows across the walls. Sisko knew what he had to do next – but as he turned to leave, his gaze lingered on the screen one last time. For a fleeting moment, the vision of the young Kira smiled back at him, her eyes holding a sorrow that wasn’t fear… but recognition. The horror wasn’t in the past it was now, and it was coming for them all.

The first step into the fracture had just begun.

(Word count: 998)


Example #2


Tell me about the dominion war.

[[[thinking start]]]

Okay, so I need to talk about the Dominion War. Let me think how to approach this.

First, the Dominion War is part of Star Trek lore, right? It's the conflict between the United Federation of Planets and the Dominion during the late 21st century. The Dominion is a humanoid race from the Gamma Quadrant, led by the Jem'Hadar and other species. The war started in the 2380s but it's not entirely clear when exactly it began.

I should mention that the Dominion was involved in the Dominion War because they wanted to expand their territory through the Gamma Quadrant. The Federation fought against them because they saw the Dominion as a threat to galactic peace and security.

Wait, no, maybe I'm mixing up some details. Let me recall: the Dominion War began as a result of a Dominion invasion of the Alpha Quadrant and the Federation's resistance. The Dominion had gained control over large regions of the Gamma Quadrant, including the Bajoran system.

Oh! Bajor is a key planet here. It's where the Dominion established their first colony after conquering it. So the war had significant impact on Bajor and other planets like Cardassia, which was part of the Dominion's territory.

Let me check: the Dominion was formed from a group of Cardassian colonies and other species. The Jem'Hadar were a warrior caste within the Dominion. They played a major role in the military campaigns against the Federation.

The war was fought over many fronts, including space battles in the Alpha Quadrant, ground warfare on planets, and even some time travel elements through the use of cloaking devices or warp drives.

The Dominion had access to advanced technology because they were able to communicate across vast distances using subspace tunnels. This allowed them to maintain control over their colonies and expand their influence.

I should also mention that the Dominion War was one of the most devastating conflicts in Star Trek history, with billions of casualties and massive destruction of planets and systems.

Now, the user might want to know the timeline and outcome too. The Federation eventually won the war after a long struggle. But I need to be careful not to give too many spoilers or go into too much detail unless necessary.

Let me structure it step by step:

  1. Introduction: what the Dominion War is.
  2. Background on the Dominion.
  3. Why the war started.
  4. Major events during the war (e.g., Battle of Cardassia, Fall of Bajor).
  5. The outcome and aftermath.

I hope I'm not making a mistake here. Let me double-check my facts.

[[[thinking end]]]

The Dominion War is a pivotal conflict in Star Trek lore, taking place in the late 23rd century between the United Federation of Planets and the Dominion, a galactic empire formed by the Cardassian Empire and other species from the Gamma Quadrant. Here's an overview:

Background

The Dominion emerged from a centuries-old alliance of humanoid races, including the Jem'Hadar (a warrior caste), Klingons, and others, seeking to expand their influence across the galaxy. They established control over key systems in the Gamma Quadrant and began encroaching into the Alpha Quadrant during the mid-2370s.

Why the War Began

The Federation viewed the Dominion as a threat to galactic peace due to their aggressive expansionism and suppression of dissent. The war was triggered by the Dominion's invasion of the Bajoran system in 2369, which led to widespread destruction and the occupation of the planet Bajor—a pivotal event that galvanized the Federation into action.

Key Events

  1. Battle of Cardassia (2370s): A major turning point where the Dominion attacked the Klingon Empire, leading to a devastating battle on the planet Cardassia.
  2. Fall of Bajor: The Dominion occupied Bajor, forcing its people into labor and suffering under harsh rule until the Federation launched a liberation effort.
  3. The Prophets' Intervention: The Dominion's religious leaders, known as the Prophets, played a significant role in shaping their military strategy through prophetic visions.
  4. Federation Victory: After years of fighting, the Federation ultimately defeated the Dominion through a combination of strategic alliances, technological superiority, and decisive victories like the Battle of Deep Space Nine.

Outcome

The Dominion War ended with the collapse of the Dominion Empire, its loss of control over the Gamma Quadrant, and the liberation of Bajor and other occupied territories. The conflict left scars on countless planets and reshaped galactic politics for generations.

This war is often cited as one of the most brutal and transformative wars in Starfleet history, with lasting impacts on cultures and relationships across the Federation.

Downloads last month
47
Safetensors
Model size
6.33B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for DavidAU/Qwen3-ST-Deep-Space-Nine-v1-256k-ctx-6B

Finetuned
janhq/Jan-v1-4B
Finetuned
(26)
this model
Quantizations
3 models

Collections including DavidAU/Qwen3-ST-Deep-Space-Nine-v1-256k-ctx-6B