Median Total Time
23.56s
Median TTFT
3.30s
Median Prefill TPS
2467.25
Median Gen TPS
24.47
Context Size
262144
Quantization
r128 on INT8
Engine
vllm
Creation Method
Unknown
Model Type
Qwen38B
Chat Template
Qwen3.5
Reasoning
Yes
Vision
Yes
Parameters
27B
Added At
10/1/2026
license: apache-2.0 base_model:
Palimpsest is an experimental BF16 fine-tune of Qwen3.8-27B focused on literary prose, continuity, structured tool use, and position-aware long-context behavior. It retains the base model's vision encoder and merges two small, architecture-aware LoRA stages into the language model.
The name reflects the model's goal: preserving and revising information across layers of a long working context. The training mix uses the openly licensed and project-generated sources documented below.
Release status: preliminary. The local behavior and positional gates below passed, but the full public capability suite and the derived GGUF quant ladder are still being evaluated. This card will be updated with reproduced benchmark results rather than copying scores from the base model.
The fine-tune used two stages:
The final long-context stage updates 1,507,328 parameters in 64 LoRA tensors. Both adapters were merged into the original BF16 weights; this repository does not require PEFT adapters at inference time.
The behavior mixture contained:
| Source | Selected rows | License | Purpose |
|---|---|---|---|
| Dxniz/Novelist | 512 | Apache-2.0 | continuity and long-form prose |
| nchapman/figaro-creative-writing | 256 | Apache-2.0 | edited fiction and voice variation |
| microsoft/orca-agentinstruct-1M-v1 | 256 | CDLA-Permissive-2.0 | tool use and instruction following |
| Project-generated PACT-Q cases | 128 | project-owned | verified tools, constraints, and continuity |
The behavior set contained 1,407,028 rendered tokens and 796,433 supervised assistant tokens. Named-author labels, uncensored profiles, and quality-judge outputs were excluded from the Novelist slice.
The long-context stage used six deterministic families: single retrieval, multi-hop joins, last-write chronology, unanswerable negatives, distractor collisions, and ordered joins. Forty-five of its 180 rows incorporated Apache-2.0 natural-text distractors. A separate 60-row fixture with disjoint seeds and templates was held out for evaluation.
Dataset revisions used for reproducibility:
Dxniz/Novelist: 308c139e59687e6037394bbbefda57302b898fdfnchapman/figaro-creative-writing: 23b980e6a6dcc8d7a4709841ffbcccca7607ba4bmicrosoft/orca-agentinstruct-1M-v1: 86d609183249ff8037eae33d76ebca3af9390ea8These are small frozen development gates, not replacements for standard public benchmarks. Scores compare the locally loaded NF4 base/parent adapter and the selected adapter under the same deterministic evaluator.
| Gate | Control | Palimpsest | Notes |
|---|---|---|---|
| Behavior total | 80/92 | 81/92 | after long-context stage |
| Tool format | 12/12 | 12/12 | no strict-format regression |
| Prose rubric | 30/36 | 30/36 | unchanged on frozen gate |
| Continuity rubric | 38/44 | 39/44 | +1 passed criterion |
| Virtual-position exact rows | 55/60 | 57/60 | 32K through 1M positions |
| Virtual-position token accuracy | 0.994792 | 0.996875 | teacher-forced answer tokens |
| Virtual-position mean NLL | 0.027115 | 0.021115 | lower is better |
The earlier behavior-only checkpoint improved its corresponding base control from 75/92 to 80/92. The second stage preserved tool formatting and added one continuity pass while improving the positional gate.
The importance-calibrated MIX-IQ3KT GGUF converted from this merged checkpoint
passed a five-needle, near-full-window audit at every native tier. These are
GGUF deployment measurements, not BF16 throughput claims. Context shifting
was disabled and every response had to reproduce all five codes in order under
an exact one-line output contract.
| Context | Prompt tokens | Needles | Prefill | Prompt tok/s | Decode tok/s | Result |
|---|---|---|---|---|---|---|
| 32,768 | 32,234 | 5/5 exact | 61.98 s | 520.27 | 17.89 | Interactive + batch |
| 65,536 | 64,988 | 5/5 exact | 148.04 s | 439.05 | 14.63 | Interactive + batch |
| 131,072 | 130,527 | 5/5 exact | 394.14 s | 331.20 | 10.47 | Interactive + batch |
| 262,144 | 261,608 | 5/5 exact | 1,165.29 s | 224.51 | 6.70 | Batch |
Peak model-process swap was zero at all native tiers. The measured interactive recommendation is 131,072 tokens; the measured native strict/batch maximum is 262,144 tokens. YaRN-scaled 512K–1M testing is still in progress and is not inferred from the native passes.
At a 524,288-token allocation, a separate derived-GGUF speed tune using a fixed 9,011-token prompt plus 128 generated tokens improved prompt throughput from 316.52 to 467.11 tok/s and decode throughput from 2.44 to 4.49 tok/s on the local 8 GB + 8 GB + 10 GB rig. It used CPU Q4 KV, static YaRN factor 2, an Ampere-heavy 10/4/12 layer split, micro-batch 512, eight CPU threads, and native MTP. This deployment measurement does not replace the pending fully populated 512K retrieval gate and is not a BF16 throughput claim.
The underlying configuration remains 262,144 tokens natively. The 1M result above tests learned behavior at virtual token positions; it does not prove that this repository can process a resident one-million-token prompt on ordinary hardware.
On the local 8 GB + 8 GB + 10 GB GPU rig, a 1M-token FP16 KV payload for the 16 full-attention layers is about 65.5 GB before model weights and runtime buffers. Even a 4-bit KV payload is about 16.4 GB. Practical 1M use therefore requires a compatible RoPE/YaRN configuration plus approximately 2-bit KV, substantial CPU offload, or a different runtime/hardware setup. For the derived mixed GGUF, fully materialized accuracy is established through the native 262K window above. Fully materialized BF16 and YaRN-scaled 512K–1M accuracy have not yet been established.
Use a recent Transformers release with Qwen3.5/Qwen3.8 support and trust the repository's processor/chat template. A minimal text-only example is:
from transformers import AutoProcessor, Qwen3_5ForConditionalGeneration
repo = "xero0000/Qwen3.8-27B-Palimpsest"
model = Qwen3_5ForConditionalGeneration.from_pretrained(
repo,
dtype="auto",
device_map="auto",
)
processor = AutoProcessor.from_pretrained(repo)
messages = [
{"role": "user", "content": "Write a restrained scene where an old promise becomes newly relevant."}
]
inputs = processor.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt",
return_dict=True,
).to(model.device)
output = model.generate(**inputs, max_new_tokens=512)
print(processor.decode(output[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
Start with the base model's sampling guidance:
For deterministic tool/schema checks, use greedy decoding. The upcoming GGUF repository will document runtime-specific parameters and tested quant tiers.
Palimpsest is intended for research and local experimentation involving creative drafting, continuity editing, structured tool calls, and long-context position generalization. It is not validated for medical, legal, financial, or other high-stakes decisions. Users remain responsible for checking generated facts, code, tool arguments, and safety-sensitive outputs.
The quantized release repository
xero0000/Qwen3.8-27B-Palimpsest-GGUF
contains the developing quant ladder and an importance-calibrated mixed build
of exactly 11,702,780,800 bytes. Quantized scores are reported separately from
BF16 results, and both cards will be updated as the remaining gates finish.
This derivative is released under Apache-2.0, following Qwen/Qwen3.8-27B. Review the upstream model card and the individual dataset licenses before redistribution or commercial use.
@misc{qwen38palimpsest2026,
title = {Qwen3.8-27B-Palimpsest},
author = {xero0000},
year = {2026},
howpublished = {Hugging Face model release},
url = {https://huggingface.co/xero0000/Qwen3.8-27B-Palimpsest}
}