How to use from the
Use from the
PEFT library
from peft import PeftModel
from transformers import AutoModelForCausalLM

base_model = AutoModelForCausalLM.from_pretrained("C:\\AI\\models\\Qwen3.6-27B-HF")
model = PeftModel.from_pretrained(base_model, "yuxinlu1/qwen3-6-27b-chinese-folk-horror-lora-v2")

๐Ÿ“š Qwen3.6-27B Chinese Folk Horror LoRA โ€” v2

A LoRA adapter that guides Qwen3.6-27B toward Chinese folk-horror prose (ๆฐ‘ไฟ—ๅฟ—ๆ€ช) โ€” a rural supernatural fiction tradition rooted in village life, ancestral memory, and folk belief.

This adapter is designed for a specific writing problem: Given a short instruction or a neutral scene description, the model should directly produce Chinese folk-horror prose grounded in rural vernacular voice, rather than analysis, outline, summary, or generic supernatural pastiche.

The core direction is intentionally narrow:

  • third-person omniscient narration with Free Indirect Discourse (the narrator drifts in and out of characters' inner voice)
  • rural village settings: village entrances, ancestral halls, old wells, night roads, lone travelers
  • folk-horror imagery grounded in folk belief (้˜ด้˜ณ, ้‚ช็ฅŸ, ๆ‹›้ญ‚, ๆกƒๆœจ, ็บธ้’ฑ) rather than Western horror tropes
  • regional vernacular diction infused into the narration itself, not just dialogue
  • direct fiction prose, not analysis, outlines, or revision advice
  • supernatural events treated as a vehicle for depicting human nature and worldly life, not as spectacle

The goal is for outputs to behave more like usable Chinese folk-horror scene drafts in the vernacular tradition, and less like a generic writing assistant explaining what folk-horror is.

Typical use cases:

  • drafting folk-horror scenes inside a longer novel project
  • rewriting urban-toned paragraphs into rural-vernacular prose
  • supernatural village fiction in a long-form writing pipeline
  • local and private creative-writing workflows
  • integration with a long-form novel pipeline that manages outline, memory, timeline, and continuity

This is an adapter only. It does not include base model weights, training data, or copyrighted source material.

๐Ÿงญ About the v1 / v2 Series

This repository is part of a small series of Chinese fiction LoRAs.

v1 โ€” Style Retraining The v1 series focuses mainly on prose style. It uses SFT to move the base model away from generic AI prose and toward specific Chinese literary style directions. Different v1 adapters may target different prose voices, such as realistic fiction, literary prose, or other narrative styles.

v2 โ€” Style + Behavioral Fine-Tuning Adds DPO training, larger amounts of synthetic data, and on-policy sampling on top of the v1 recipe. Output is more precise, more stable, and shows fewer habitual "AI-shaped" patterns.

Available formats: HF PEFT safetensors and GGUF LoRA. MLX users may also be able to use the PEFT safetensors through mlx-lm depending on their local setup.

v2 models are documented in their own repositories.

๐ŸŒฑ Status

Field Value
Version v2
Focus Chinese folk-horror prose behavior
Format HF PEFT safetensors + GGUF LoRA
Base model Qwen3.6-27B
Language Chinese
Use case folk-horror scene drafting, rural-vernacular supernatural fiction, FID narration
Training style SFT + manual DPO refinement
Recommended workflow local long-form writing pipeline

๐Ÿ”— Companion Novel Pipeline

This LoRA is designed to work together with a local-first, long-form Chinese novel writing pipeline: github.com/DuckTraDo/Novel

The pipeline handles the structural side of long-form fiction:

  • outline and chapter planning
  • scene-level context assembly
  • story memory and character tracking
  • timeline and continuity checks

This LoRA handles the prose-behavior side:

  • third-person omniscient narration with Free Indirect Discourse
  • rural folk-horror scene drafting
  • vernacular diction grounded in regional rural Chinese voice
  • anti-modern-urban-tone and anti-Western-horror-trope

They are intentionally split: the pipeline owns what happens, the LoRA owns how it reads on the page. You can use either independently, but they are designed as a pair.

๐Ÿ“ฆ Files

Files included: adapter_config.json, adapter_model.safetensors, qwen3-6-27b-chinese-folk-horror-lora-v2-f16.gguf, tokenizer.json, tokenizer_config.json, chat_template.jinja, README.md.

โš ๏ธ Critical Usage Note: enable_thinking=False

Qwen3.6 base model ships with a thinking mode enabled by default. When using apply_chat_template(messages, add_generation_prompt=True) with default settings, the chat template leaves an unclosed <think>\n block before the assistant's turn. With this LoRA loaded, this causes outputs to begin with English thinking-process preamble (e.g. "Here's a thinking process: 1. Analyze User Input...") instead of Chinese fiction prose.

The training samples used a closed empty thinking block: <think>\n\n</think>\n\nactual prose...

Always pass enable_thinking=False:

text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False)

For llama.cpp / GGUF inference, the included chat_template.jinja file should be passed via --chat-template-file, or the assistant prefix <think>\n\n</think>\n\n should be manually prepended in the prompt.

This is the single most common usage error. If outputs look like English reasoning instead of Chinese prose, this is almost certainly the cause.

๐Ÿš€ Example PEFT / Transformers Usage

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel

base_model, adapter = "Qwen/Qwen3.6-27B", "yuxinlu1/qwen3-6-27b-chinese-folk-horror-lora-v2"

tokenizer = AutoTokenizer.from_pretrained(adapter, trust_remote_code=True)

base = AutoModelForCausalLM.from_pretrained(base_model, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=True)
model = PeftModel.from_pretrained(base, adapter).eval()

messages = [{"role": "user", "content": "ๅ†™ไธ€ๆฎตไนกๆ‘ๆ€ช่ฐˆ,ๆ‘ๅฃ้‚ฃๆฃต่€ๆงๆ ‘ๆœ‰ไบ›ๅนดๅคดไบ†ใ€‚"}]

text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=False,
)

inputs = tokenizer(text, return_tensors="pt").to(model.device)

output = model.generate(**inputs, max_new_tokens=900, temperature=0.8, top_p=0.9, do_sample=True, pad_token_id=tokenizer.eos_token_id)
print(tokenizer.decode(output[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

๐Ÿš€ Example llama.cpp Usage

Pair this GGUF LoRA with a compatible Qwen3.6-27B GGUF base. Unsloth Qwen3.6-27B-GGUF (Q4_K_M or Q8_0) is recommended.

llama-cli -m qwen3.6-27b-base.Q4_K_M.gguf --lora qwen3-6-27b-chinese-folk-horror-lora-v2-f16.gguf --chat-template-file chat_template.jinja -p "ๅ†™ไธ€ๆฎตไนกๆ‘ๆ€ช่ฐˆ,ๆ‘ๅฃ้‚ฃๆฃต่€ๆงๆ ‘ๆœ‰ไบ›ๅนดๅคดไบ†ใ€‚" -n 900 --temp 0.8 --top-p 0.9 --repeat-penalty 1.05

๐Ÿงช Example Prompts

Prompts can be short:

Example prompts:

ๅ†™ไธ€ๆฎตๆฐ‘ไฟ—ๅฟ—ๆ€ชๅฐ่ฏดใ€‚
่ฎฒไธ€ไธชไนกๆ‘ๆ€ช่ฐˆใ€‚
ๆ‘ๅฃ้‚ฃๆฃต่€ๆงๆ ‘,ๅฌ่€ไบบ่ฏดๆœ‰ไบ›ๅนดๅคดไบ†ใ€‚
ๅฐ่ฏด:็ฅ ๅ ‚ๆทฑๅคœ,ๅ‡ ไธช่€ไบบๅ›ดๅๆŠฝ็ƒŸใ€‚
ๆŠŠไธ‹้ข่ฟ™ๆฎตๆ”นๆˆๆฐ‘ไฟ—ๅฟ—ๆ€ชๅฐ่ฏดๆญฃๆ–‡:
ๆ‘้‡Œ็š„ๅผ ้˜ฟๅฉ†ๆœ€่ฟ‘ๆ€ป่ฏดๅŠๅคœๅฌๅˆฐ้š”ๅฃๅฑ‹ๆœ‰ไบบๅซๅฅน็š„ๅๅญ—,ๅฏๅฅนไธ€ไธชไบบไฝ,ๅฑ‹ๅค–ๅชๆœ‰้‚ฃๆฃต่€ๆก‘ๆ ‘ใ€‚

Suggested decoding range:

Setting Range
temperature 0.7โ€“0.85
top_p 0.85โ€“0.95
max_new_tokens 600โ€“1200

๐Ÿงช Internal Evaluation Snapshot

A small internal evaluation was run across four prompt tiers (original-text continuation, neutral scene description, character-grounded task, and minimal generic instruction) to verify style transfer.

Qualitative observations:

  • Original-text continuation: natural prose continuation in the trained voice; rural vernacular and FID narration carry through.
  • Neutral scene description: supernatural and atmospheric elements emerge from neutral prompts without explicit folk-horror cues in the input.
  • Character-grounded task: characters behave consistently with rural folk-horror conventions.
  • Minimal generic instruction (e.g. "write a piece of folk-horror fiction"): the model produces folk-horror prose directly without first explaining what folk-horror is โ€” confirming that style was internalized, not merely instruction-followed.

These observations come from a small local development eval and should be treated as an internal signal, not a public benchmark.

๐Ÿงช Intended Use

Intended for:

  • local Chinese folk-horror drafting
  • rewriting urban-toned paragraphs into rural-vernacular folk-horror prose
  • testing third-person omniscient FID narration
  • supernatural village fiction in a human-in-the-loop workflow
  • offline and privacy-respecting novel drafting
  • integration with a long-form novel pipeline

Not intended for: author impersonation, defamation, harassment, factual claims, high-stakes advice, spam, or deception.

โš ๏ธ Limitations

  • It does not guarantee full-novel plot coherence by itself.
  • Character continuity, foreshadowing, and timeline logic should be handled by an external writing pipeline or by the author.
  • Output may occasionally tilt toward dialogue-heavy passages when scene prompts are very abstract.
  • Optimized for rural village settings; outputs for urban supernatural or modern occult scenes may revert toward base model tone.
  • It may produce shorter-than-expected outputs if the prompt is very minimal or decoding settings are conservative.
  • If enable_thinking=False is not set, outputs will begin with English thinking-process preamble. This is the single most common usage error.
  • Output quality depends on the base model, quantization, sampling settings, prompt design, and context quality.

๐Ÿ›ก๏ธ Safety and Legal Notes

  • This repository contains adapter weights and supporting tokenizer/template files, not base model weights.
  • No copyrighted novels, private manuscripts, or proprietary datasets are distributed in this repository.
  • This LoRA is not designed to imitate any specific living author; the goal is to capture a broader regional vernacular folk-horror tradition rooted in northern rural Chinese cultural settings.
  • Outputs are machine-generated fiction; do not use this model for harassment, defamation, fraud, or deceptive impersonation.
  • Users are responsible for the base model license, adapter license, and applicable law.

๐Ÿ“œ License

LoRA adapter: MIT. Base model: governed by its own license.

Downloads last month
72
GGUF
Model size
79.7M params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for yuxinlu1/qwen3-6-27b-chinese-folk-horror-lora-v2

Base model

Qwen/Qwen3.6-27B
Adapter
(525)
this model