📦 GGUF Quants : Official GGUF | Full imatrix GGUF (thanks to @bartowski!)
CanWrite-Preview-31B) / 会写?🛠️ 诚邀投喂翻车案例:
Preview-31B只是探路先行版,后续将会有CanWrite-Preview-2正在重洗数据与评测管线。实测中如果撞见常识/物理穿帮、正文无视思考过程、或是漏网的隐性 AI 套话,欢迎直接来 Community 讨论区 开帖挂它(建议附上量化档位与思考块原文),每一条实锤坏案例都会直接并入新的数据集。
CanWrite-Preview-31B(会写?) 是一个基于 google/gemma-4-31B 进行微调的写网文模型。
目前的所有大模型在中文的语境上,虽然能说很正常的能让人理解的文字,但是对于写网文这种更加需要文字技术的任务上还是很难达到让人喜欢的情况。本模型致力于尽可能地让模型去写出来好的文章,但是必须要说明的是,好的文章也是需要好的编排的,因此在会写?Preview 版本的模型,注重的是如何把细纲写得更好,而非如何从零编写一个故事。
目前的模型非常适合给出细纲然后根据剧情锚点进行编写连贯的正文,以及基于粗稿扩写、带明确物理或场景约束的短段落续写。
模型兼容 Gemma 4 的开思考 / 关思考双模式:
enable_thinking=True,扩写与按细纲成文强烈推荐):模型会先在 <|channel>thought 里简单梳理前文已有内容、细纲节点和要补充的推进顺序,再写正文;enable_thinking=False):跳过思考直接输出正文,适合纯顺写场景(注意:关闭思考时,模型容易把“扩写 + 粗稿”当成前文直接往下续写,扩写类任务请务必开启思考)。google/gemma-4-31B。直接从纯 Base 微调,避免通用对话模型在 RLHF 阶段带入的助手废话与固定套话。r=32, alpha=64)与 6 个 Gemma 4 对话控制符的词向量;覆盖多轮连续续写、细纲写正文、口语粗稿扩写、粗纲展开以及前后状态核对。Q4_K_M 量化后约 19 GB,单张 24 GB 显存显卡或 32 GB 统一内存的 Mac 可以本地运行;GGUF 量化版见 MochiC/CanWrite-Preview-31B-GGUF(提供 Q4_K_M / Q6_K / Q8_0)。模型使用 Google 官方 Gemma 4 对话模板(eos_token_id: [1, 106]),可直接通过 transformers、vLLM、llama.cpp、Ollama、LM Studio 运行。
System Prompt 说明:本模型支持空 System Prompt 直接发任务,也可以配合下面这句简洁直接的任务指令使用(不建议堆砌冗长角色扮演提示词):
请根据用户给出的细纲、粗纲或前文,扩写成连贯自然的中文小说正文,注意保持前后场景状态与人物逻辑一致。
推荐采样参数:
temperature=0.75、top_p=0.92、top_k=50:兼顾用词自然度与按细纲推进(想更贴细纲可调低 temperature 至 0.6,想放开措辞可调至 0.85)repetition_penalty=1.05:轻度抑制长段生成时的句式复读,同时不破坏正常对话语气max_new_tokens=4096:覆盖常见 1,500–2,000 字单章正文,避免写到一半截断import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "MochiC/CanWrite-Preview-31B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{
"role": "system",
"content": "请根据用户给出的细纲、粗纲或前文,扩写成连贯自然的中文小说正文,注意保持前后场景状态与人物逻辑一致。",
},
{
"role": "user",
"content": "在这里填入前文与细纲……",
},
]
prompt = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True,
enable_thinking=True,
)
inputs = tokenizer(prompt, return_tensors="pt", add_special_tokens=False).to(model.device)
eos_ids = [tokenizer.eos_token_id, tokenizer.encode("<turn|>", add_special_tokens=False)[0]]
out = model.generate(
**inputs,
max_new_tokens=4096,
do_sample=True,
temperature=0.75,
top_p=0.92,
top_k=50,
repetition_penalty=1.05,
eos_token_id=eos_ids,
)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=False))
vllm serve MochiC/CanWrite-Preview-31B \
--dtype bfloat16 \
--max-model-len 8192 \
--reasoning-parser gemma4
llama-server -m CanWrite-Preview-31B-Q4_K_M.gguf \
--jinja -ngl 99 -c 8192 \
--temp 0.75 --top-p 0.92 --top-k 50 --repeat-penalty 1.05
以下样例均在空 System Prompt、enable_thinking=True、temperature=0.75, top_p=0.92, top_k=50, repetition_penalty=1.05 下单次直出。
输入:
扩写
下雨天,城西老茶楼二楼临街的位子,主角坐在窗边喝茶
楼下街面空荡荡的,雨落在青石板上噼里啪啦
店小二提着铜壶上来续水,走路飘忽不定,右手一直垂在袖口里没露出来
“客官,天凉,给您添点热的”
“放着吧,水凉了正好压中火”
小二笑了一下,铜壶嘴刚往下压,壶盖底下的机簧咔哒一响,三根细针贴着热气直奔主角咽喉
沈砚左手早就扣在桌沿下,一脚提翻八仙桌挡住暗起,细针钉在厚木板上微微颤抖
与此同时楼梯口冲上来四个黑衣汉子,手里拎着短刀把冲了上来
小二扔掉铜壶从腰后抽出一把匕首,眼神彻底冷下来
“主角捕头,这碗茶到底还是没喝下去啊”
主角慢慢站起身,手按上腰间雁翎刀的刀柄
“城西的陈掌柜泡茶从来不用滚水烫碧螺春,你端上来时我便知道……”
模型 <thought>(127 字):
前文刚进茶楼,先落细雨打湿青石板和窗外孤零零的纸灯笼。补出店小二左肩扛壶、右手始终垂在袖口的异样,以及他低头加水时机簧骤响、三根细针挟着热气直袭咽喉的狠辣。主角用左手提翻八仙桌硬接暗器,同时借四名黑衣刀手逼近的机会缓缓起身按刀,收在掌柜不烫新茶的门道上。
模型正文:
阴云压得极低,雨滴打在城西茶楼青砖瓦面上噼里啪啦作响。临街的二楼雅间里,沈砚靠在雕花木窗边,随手拨开半幅竹帘往外看。
街面上空无一人,只有几只被雨淋得发蔫的纸灯笼孤零零挂在铺面门口。雨线斜斜打在屋檐下垂下的雨帘子上,激起一串串白沫,顺着檐角砸到青石板路面上。
伙计提着一把旧铜壶,踩着磨得发亮的木楼梯走上来。他左肩扛着壶身,右手却一直垂在宽大袖口里,没拿壶嘴。走到桌边时身子晃了一下,脚尖差点踢翻地上的紫铜火盆。
“客官,天凉了,给您添点热的。”伙计咧嘴笑了笑,露出两排黄牙。
沈砚盯着那只始终缩在袖口里的右手,没动杯子:“放着罢,水凉了正好压中火。”
伙计点点头,把铜壶往前送了半寸。就在壶嘴刚对着茶盏往下压的一瞬,壶盖底下传出一声极轻的咔哒脆响。
一股热气夹着三枚细如牛毛的铁针破空而出,直奔沈砚咽喉而去。
沈砚左手早已扣在桌面底下,脚尖一挑,整张八仙桌连同茶壶茶盏腾空而起,挡在胸前。三枚铁针钉进厚木桌面,发出噗噗三声闷响,余势不衰,仍微微颤动着。
几乎与此同时,楼梯口风声骤响,四名蒙面大汉挥舞短刀扑了进来。伙计也弃了铜壶,从腰后抽出柄寒光闪动的匕首,眼中的讨好全数褪去,只剩刺骨的杀机。
“沈捕头,这碗茶,到底还是没喝下去啊。”伙计的声音干涩沙哑,与方才判若两人。
沈砚慢吞吞站起身,右手按上了腰间雁翎刀的刀柄:“城西的陈掌柜泡茶从来不用滚水烫碧螺春,你端上来的时候,我就知道了。”
输入:
继续
暴雨如注,城南死胡同窄得只够两人错身。对面堵住出口的是黑风堂副堂主段横,三年前在渡口那一战,他的整条左臂已经被硬生生齐肩斩断,空荡荡的左袖管此刻因为大雨贴在肋下,只剩的一只右手反握着一柄斩马短刀。
顾长风背靠湿滑砖墙,右肩刚刚挨了一箭,已经彻底失去知觉了,再不赶快处理伤势可能就要废了。现在左手握住那柄半尺长的分水刺。两人距离不到五步,段横脚下泥水炸开,率先扑了上来。
模型 <thought>(94 字):
前文顾长风已退进城南死胡同,左手持半尺分水刺,右肩中箭且左臂无力,绝不能再被近身拼杀。段横只剩右手持斩马刀,速度占优但必须避开他唯一能用的右胳膊和胸腹,可先引他斜切出破绽再借雨水湿滑反制。
模型正文:
顾长风没动,眼睁睁看着段横冲到面前两步远的地方。段横的右手连着刀,这一冲直取顾长风的咽喉。
就在刀锋将要触及衣领的刹那,顾长风往右侧半偏开身体,让开了段横唯一的右臂挥砍路线。段横这一下扑得太猛,脚下全是积水,他收不住势子,从顾长风右侧擦肩而过,整个人几乎贴着顾长风的胸口晃了过去。
顾长风左手的分水刺顺势往前送,瞄准段横露在外面的腰肋。然而由于他右肩中箭牵扯,左臂力量也跟着受限,分水刺戳出去的力道不足,只在段横的皮甲上划出一道浅白印子,没能扎进去。
段横背对着顾长风,左袖迎风鼓起,用后背硬吃了这一刺。他借着惯性没停,转过身又是一记回旋横斩。这一次顾长风不敢再躲,往后靠在墙上,左手腕发力把分水刺竖起来挡在身前。
叮!刀面砸在分水刺铁杆上,震得顾长风虎口发麻。段横趁势欺近一步,想要夺下顾长风手中的短兵器。顾长风顾不上痛楚,右腿狠狠踹向段横的膝弯。段横单足站立本就吃力,再加上地上满是雨水,膝盖一折直接向前栽倒,脸先着地,嘴里呛进一口脏水。
顾长风抽回分水刺,抬脚踩住了段横的右腕,防止他还能翻身再起。
gemma-4-31B-it,建议配合 3–6 条简短细纲节点使用。<|channel>thought 偶尔会自行脑补题干未提及的前情细节;遇到高频网文套路标签时仍可能偶发陈词滥调。google/gemma-4-31B 由 Google 以 Apache License 2.0 发布,本项目保留上游版权声明与 NOTICE。CanWrite-Preview-31B ("会写?") is a preview Chinese web-novel writing model fine-tuned from google/gemma-4-31B.
Although current LLMs can produce fluent, understandable Chinese, web-novel writing requires much stronger prose craft—an area where existing models still fall short of what readers enjoy. This model aims to push prose quality as far as possible. Good fiction also requires solid plotting, so CanWrite-Preview focuses on turning a detailed outline (细纲) and plot anchors into coherent chapters, rather than inventing a story from scratch.
enable_thinking=True (strongly recommended for draft expansion and outline-to-prose tasks; briefly plans established state and upcoming beats inside <|channel>thought) and enable_thinking=False (direct prose continuation; note that with thinking off, the model tends to continue a rough draft rather than expand it).google/gemma-4-31B. Fine-tuned from pure Base to avoid RLHF assistant preambles and clichés.r=32, alpha=64) and only the 6 Gemma 4 chat control-token embeddings (vision tower and regular vocabulary embeddings stay frozen).\n\n paragraph-break contrast pairs across both thinking modes.Q4_K_M; runs locally on a 24 GB GPU or a 32 GB Apple Silicon Mac. GGUF quantizations (Q4_K_M, Q6_K, Q8_0) are hosted at MochiC/CanWrite-Preview-31B-GGUF.Uses Google's official Gemma 4 chat template (eos_token_id: [1, 106]) and works directly with transformers, vLLM (--reasoning-parser gemma4), llama.cpp (--jinja), Ollama, and LM Studio.
Works out of the box with an empty System Prompt, or with a concise direct task prompt:
请根据用户给出的细纲、粗纲或前文,扩写成连贯自然的中文小说正文,注意保持前后场景状态与人物逻辑一致。
Recommended sampling settings (temp=0.75, top_p=0.92, top_k=50, repetition_penalty=1.05, max_new_tokens=4096). See the code blocks in the Chinese section above.
Translated by Gemini 4 Neon. For the original unedited Chinese text, please see the Chinese section above.
Generated single-shot with an empty System Prompt,
enable_thinking=True,temperature=0.75, top_p=0.92, top_k=50, repetition_penalty=1.05.
Input:
Expand
Rainy day, window seat on the second floor of an old teahouse in the west of the city overlooking the street, protagonist sitting by the window drinking tea
The street below is empty, rain pattering on the bluestone slabs
Waiter comes up with a copper kettle to refill the water, walking unsteadily, right hand kept hanging inside his sleeve without showing
"Guest, the weather's chilly, let me top you up with some hot water"
"Leave it, cool water is just right for calming internal heat"
Waiter smiles slightly; as soon as the kettle spout tilts down, a spring mechanism clicks under the lid, three fine needles ride the steam straight for the protagonist's throat
Shen Yan's left hand was already hooked under the table edge, kicks up the Eight Immortals table to block the hidden weapons, the fine needles lodge into the thick wood vibrating slightly
At the same time four burly men in black rush up from the stairwell, carrying short blades
Waiter drops the copper kettle and draws a dagger from behind his waist, eyes turning completely cold
"Protagonist Constable, looks like you didn't drink this bowl of tea after all"
Protagonist slowly stands up, hand resting on the hilt of the goose-quill saber at his waist
"Shopkeeper Chen of the west city never uses boiling water to scald Biluochun; the moment you brought it up, I already knew..."
Model <thought>:
Just entered the teahouse; first ground the scene with fine rain wetting the bluestone slabs and lonely paper lanterns outside the window. Flesh out the waiter's oddity—resting the kettle on his left shoulder while his right hand hangs inside his sleeve—and his ruthlessness when he tilts to pour and the spring snaps, sending three fine needles riding the steam straight for the throat. Have the protagonist flip the Eight Immortals table with his left hand to block the hidden weapons, then slowly rise and rest his hand on his saber as four blade-wielding men in black close in, ending on the shopkeeper's rule about never scalding fresh tea.
Model Output:
Dark clouds hung low, and raindrops drummed steadily against the gray brick tiles of the old teahouse in the west of the city. In a second-floor private booth overlooking the street, Shen Yan leaned by the carved wooden window, idly pushing aside half the bamboo blind to look out.
The street was empty save for a few rain-soggy paper lanterns hanging alone outside the shopfronts. Slanting threads of rain struck the curtain of water spilling from the eaves, kicking up strings of white foam that splashed down onto the bluestone pavement.
A waiter carrying an old copper kettle climbed the wooden stairs worn smooth by years of footsteps. He rested the kettle against his left shoulder, while his right hand remained tucked inside his wide sleeve, never touching the spout. As he reached the table, he swayed slightly, his toe nearly kicking over the bronze brazier on the floor.
"Guest, the weather's chilly—let me top you up with some hot water." The waiter grinned, showing two rows of yellow teeth.
Shen Yan kept his eyes on that right hand still hidden in the sleeve and didn't touch his cup. "Leave it. Cool water is just right for calming internal heat."
The waiter nodded and moved the copper kettle forward half an inch. The instant the spout tilted down toward the teacup, a faint, crisp click sounded beneath the lid.
A jet of hot steam carried three iron needles fine as ox hairs slicing through the air straight toward Shen Yan's throat.
Shen Yan's left hand was already hooked beneath the tabletop. With a flick of his toe, the entire Eight Immortals table—teapot and cups and all—lurched upright into the air in front of his chest. The three needles buried themselves into the thick wooden surface with three muffled thuds, still vibrating with spent momentum.
Almost at the same moment, wind rushed up from the stairwell as four masked burly men lunged in, brandishing short blades. The waiter cast aside the copper kettle and drew a gleaming dagger from behind his waist, every trace of servility draining from his eyes, leaving only bone-chilling killing intent.
"Constable Shen, looks like you didn't drink this bowl of tea after all." The waiter's voice was dry and raspy, completely unlike a moment ago.
Shen Yan rose slowly to his feet, his right hand settling onto the hilt of the goose-quill saber at his waist. "Shopkeeper Chen of the west city never uses boiling water to scald Biluochun. The moment you brought it up, I already knew."
Input:
Continue
Pouring rain; the dead-end alley in the south of the city is barely wide enough for two people to pass. Blocking the exit is Duan Heng, Deputy Hall Master of the Black Wind Hall. Three years ago in the battle at the ferry crossing, his entire left arm was severed clean at the shoulder. His empty left sleeve now clings soaked to his ribs, leaving only his right hand holding a horse-chopping short blade in a reverse grip.
Gu Changfeng has his back against the slick brick wall. His right shoulder just took an arrow and has gone completely numb—if he doesn't treat it soon, the arm might be ruined. He now grips a half-foot water-splitting spike in his left hand. Less than five paces apart, Duan Heng's feet explode through the muddy water as he lunges forward first.
Model <thought>:
Gu Changfeng has retreated into the dead-end alley in the south of the city, holding a half-foot water-splitting spike in his left hand, right shoulder shot and left arm weakened—he cannot afford a close-quarters slugfest. Duan Heng only has his right hand wielding the horse-chopping blade; he has the speed advantage, so Gu must evade his sole usable right arm and torso, first baiting an angled slash to create an opening before using the rain-slick ground to counter.
Model Output:
Gu Changfeng didn't move, watching Duan Heng charge to within two paces. Duan Heng's right hand moved as one with his blade, the lunge aimed straight for Gu Changfeng's throat.
The instant the edge was about to graze his collar, Gu Changfeng shifted his body half a step to the right, slipping clear of the slashing arc of Duan Heng's sole right arm. Duan Heng had lunged too hard; with standing water pooling beneath his feet, he couldn't check his momentum and brushed past Gu Changfeng's right side, nearly skimming across his chest.
Gu Changfeng drove the water-splitting spike in his left hand forward into Duan Heng's exposed ribs. Yet the arrow wound in his right shoulder pulled against him, sapping the strength from his left arm as well. The thrust lacked force, leaving only a pale shallow scratch across Duan Heng's leather armor without piercing through.
With his back to Gu Changfeng and his empty left sleeve billowing in the wind, Duan Heng took the jab straight across his back. Riding his momentum without pausing, he spun around into a sweeping horizontal slash. This time Gu Changfeng dared not dodge; he pressed back against the wall and snapped his left wrist to raise the spike vertically in front of him.
Clang! The flat of the blade slammed into the iron shaft of the spike, numbing the web of Gu Changfeng's thumb. Duan Heng pressed in a step, trying to wrench the short weapon from his grasp. Ignoring the pain, Gu Changfeng drove his right leg viciously into the back of Duan Heng's knee. Already unsteady on one foot—and on rain-slick mud—Duan Heng's knee buckled. He pitched forward face-first into the ground, choking on a mouthful of filthy water.
Gu Changfeng pulled back the water-splitting spike and stepped down hard on Duan Heng's right wrist, pinning it so he couldn't roll back up.
gemma-4-31B-it; pairing with 3–6 brief plot beats is recommended.<|channel>thought may occasionally invent minor unprompted background details, and trope-heavy prompts can still trigger web-novel clichés.google/gemma-4-31B (Apache License 2.0, upstream copyright and NOTICE preserved).model-00001-of-00013.safetensors 4.6 GiBmodel-00005-of-00013.safetensors 4.6 GiBmodel-00006-of-00013.safetensors 4.6 GiBmodel-00007-of-00013.safetensors 4.6 GiBmodel-00008-of-00013.safetensors 4.6 GiBmodel-00009-of-00013.safetensors 4.6 GiBmodel-00011-of-00013.safetensors 4.6 GiBmodel-00012-of-00013.safetensors 4.6 GiBmodel-00003-of-00013.safetensors 4.6 GiBmodel-00002-of-00013.safetensors 4.6 GiBmodel-00004-of-00013.safetensors 4.5 GiBmodel-00010-of-00013.safetensors 4.5 GiBmodel-00013-of-00013.safetensors 3.6 GiBgoogle/gemma-4-31B