Downloads · 30 days
35
18% of all-time downloads
peterbuitho/VietPoet-Qwen3.5-4B-GGUF
VietPoet-Qwen3.5-4B-GGUF is a machine learning model from peterbuitho. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
A Qwen3.5-4B fine-tuned (QLoRA, 8,000 poems, 2 epochs) to write Vietnamese lục bát poems, exported for LM Studio / llama.cpp. It is meant to be used with the line-by-line sampler and rule checker from github.com/peter…
Downloads · 30 days
35
18% of all-time downloads
All-time downloads
196
Public
Repo size
7.4 GB
Likes
0
Public
Click a slice to open those files.
.gguf7.4 GB · 100%
From the Hugging Face model README
A Qwen3.5-4B fine-tuned (QLoRA, 8,000 poems, 2 epochs) to write Vietnamese lục bát poems, exported for
LM Studio / llama.cpp. It is meant to be used with the line-by-line sampler and rule checker from
github.com/peterbuitho/ThoLucBat, whose local installation
for Windows (VietPoet-win.zip) sets it up for you. Used on its own it writes the right shape but breaks the tone rules more often.
| File | Size | Notes |
|---|---|---|
VietPoet-Qwen3.5-4B-Q8_0.gguf | 4.6 GB | near-lossless; use with 10 GB+ of graphics memory |
VietPoet-Qwen3.5-4B-Q4_K_M.gguf | 2.8 GB | for smaller graphics cards or CPU |
With the sampler (16 samples per line, only lines that satisfy the 6/8 length, tone and rhyme rules are kept), on 40 held-out "8 câu" prompts against LM Studio: rule score 0.991 (Q8_0), 95% of poems fully valid; Q4_K_M with 4 samples per line: 0.982, 87.5% valid. Without the sampler the raw model scores about 0.81 and breaks the 6th/8th-syllable tone rule in 38% of bát lines.
These numbers measure form, not poetry. Poems are correct lục bát but the meaning is often loose or off-topic (training prompts only had the poem title as topic). Judge the poetry yourself.
Qwen chat format with thinking off, and the poem written by appending lines to the assistant turn:
<|im_start|>system
Bạn là nhà thơ Việt Nam chuyên sáng tác thơ lục bát.<|im_end|>
<|im_start|>user
Viết một bài thơ lục bát 8 câu về mùa thu quê em.<|im_end|>
<|im_start|>assistant
<think>
</think>
The request wording varies (several templates); they are in app/prompts.py in the GitHub repo.