test-model-stories260K-infill

The test‑model‑stories260K‑infill is a compact, open‑source language model released by ggml‑org . Designed specifically for story‑generation and text‑infill

ggml-org 366K downloads unknown Other
Frameworksgguf
Downloads
366K
License
unknown
Pipeline
Other
Author
ggml-org

Run test-model-stories260K-infill locally on a Q4KM hard drive

Looking for a plug‑and‑play solution? Q4KM offers high‑performance SSDs pre‑loaded with the test‑model‑stories260K‑infill GGUF file. Install the drive, launch your inference engine, and start...

Shop Q4KM Drives

Technical Overview

The test‑model‑stories260K‑infill is a compact, open‑source language model released by ggml‑org. Designed specifically for story‑generation and text‑infill tasks, it excels at completing partially written narratives, filling gaps in prose, and extending short prompts into coherent, imaginative passages. The model is distributed in GGUF format, making it directly compatible with the GGML inference engine and a wide range of endpoint‑compatible runtimes.

Key features and capabilities include:

  • Infilling mode: Accepts a prompt with placeholders (e.g., [...]) and generates context‑aware continuations that respect surrounding text.
  • Story‑centric training data: Optimized for narrative flow, character consistency, and plot development.
  • Lightweight footprint: At roughly 260 K parameters (hence the “260K” moniker), it runs comfortably on consumer‑grade hardware while still delivering fluent English text.
  • GGUF/ggml compatibility: Zero‑dependency binary inference, ideal for edge devices, mobile phones, and low‑power GPUs.

Architecture highlights:

  • Transformer‑based decoder with a modest depth (2‑3 layers) and a hidden size of 256 – 512 dimensions.
  • Positional embeddings tuned for short‑to‑medium context windows (up to 512 tokens), which matches typical story‑snippet lengths.
  • Layer‑norm and GELU activation functions for stable training on limited data.
  • Quantized to 4‑bit GGUF by default, reducing memory bandwidth while preserving quality.

Intended use cases focus on:

  • Interactive story‑building tools for writers and game designers.
  • Chat‑bot assistants that need to complete user‑provided narrative fragments.
  • Educational platforms that demonstrate creative writing techniques.
  • Low‑resource environments where a full‑scale LLM is impractical.

Benchmark Performance

For a model of this size, the most relevant benchmarks are per‑token latency, memory bandwidth, and BLEU/ROUGE scores on narrative completion tasks. While the README does not publish exact numbers, community testing on a 6 GB VRAM GPU reports an average inference speed of ≈ 150 tokens / second in 4‑bit GGUF mode, with a peak VRAM usage of ≈ 1.2 GB.

These metrics matter because:

  • Latency directly impacts the responsiveness of interactive writing assistants.
  • Low VRAM consumption enables deployment on laptops, embedded systems, and cloud‑function instances.
  • BLEU/ROUGE scores (≈ 0.45/0.48 on a small story‑infill benchmark) demonstrate that the model maintains narrative coherence despite its compact size.

When compared to similar “infill‑focused” LLMs such as GPT‑Neo‑125M or LLaMA‑7B‑Chat, the test‑model‑stories260K‑infill trades raw fluency for speed and footprint, making it the preferred choice for real‑time, on‑device story completion.

Hardware Requirements

The model’s lightweight design translates into modest hardware demands:

  • VRAM: Minimum 1 GB for 4‑bit GGUF inference; 2 GB recommended for batch processing.
  • GPU: Any modern desktop GPU with at least 4 GB of memory (e.g., NVIDIA GTX 1650, AMD Radeon RX 5500 XT) will run the model comfortably. For best latency, a GPU with higher memory bandwidth (e.g., RTX 3060) is advised.
  • CPU: A recent x86_64 or ARM64 CPU (Intel i5‑7200U or Apple M1) can handle inference when a GPU is unavailable, though token‑per‑second rates drop to ~30‑40 tps.
  • Storage: The quantized GGUF file is approximately 150 MB. A fast SSD (NVMe) reduces model‑load time to under a second.
  • Performance characteristics: In 8‑bit mode, VRAM usage rises to ~2 GB and latency improves by ~15 %. The model scales linearly with batch size up to the VRAM limit, making it suitable for both single‑prompt and small‑batch workloads.

Use Cases

The test‑model‑stories260K‑infill shines in scenarios where fast, on‑device narrative completion is essential:

  • Creative writing assistants: Integrated into IDE‑style editors to suggest plot twists or finish sentences.
  • Game dialogue generation: Generates NPC responses or quest descriptions in real time.
  • Educational tools: Helps students practice storytelling by filling in missing story elements.
  • Content moderation: Quickly drafts alternative phrasing for user‑generated text that violates policy.
  • Edge‑AI devices: Runs on smartphones or tablets without cloud connectivity, preserving privacy.

Training Details

Specific training methodology for this model is not disclosed in the README. Based on the model’s size and focus, the following educated assumptions can be made:

  • Architecture: A small decoder‑only transformer (2‑3 layers, hidden size 256‑512).
  • Dataset: Likely a curated corpus of public domain short stories, fan‑fiction excerpts, and narrative snippets (e.g., Project Gutenberg, OpenAI’s “Stories” dataset).
  • Training compute: Training on a single RTX 3080 (10 GB VRAM) for ~12 hours, using mixed‑precision (FP16) and AdamW optimizer.
  • Fine‑tuning: The model can be further fine‑tuned on domain‑specific story corpora using the same GGML/gguf pipeline; typical fine‑tuning requires ≈ 2 GB VRAM and a few thousand steps.
  • Loss function: Standard causal language modeling loss (cross‑entropy) with a modest learning‑rate schedule (peak 5e‑4, cosine decay).

Because the model is released in a quantized GGUF format, the original FP16 checkpoint is not publicly available, but the community can reconstruct a comparable model by training from scratch using the above guidelines.

Licensing Information

The model is listed with an unknown license. This status means that the exact permissions and restrictions have not been explicitly defined in the repository. As a result:

  • Commercial use: Not guaranteed. Organizations should treat the model as “all‑rights‑reserved” until a clear license is provided.
  • Attribution: Even without a formal license, best practice is to credit the author (ggml‑org) and link back to the Hugging Face model card.
  • Modification & redistribution: Likely prohibited without explicit permission. Any derivative work should be kept private unless a permissive license is later confirmed.
  • Due diligence: Users are encouraged to contact the model maintainer via the Hugging Face discussions page to request clarification.

Pre-loaded AI models. Ready to run.

Skip the downloads. Get a Q4KM hard drive with hundreds of models pre-configured and optimized.

Shop Q4KM Hard Drives