qwen3-1.7b-lovecraft
A LoRA fine-tune of Qwen3-1.7B trained to continue text in the voice of H. P. Lovecraft.
Give it a sentence and it carries on in that register. It is not an assistant, and it has no instruction following beyond what the base model brought. There is a smaller sibling at IzonIcty/qwen3-0.6b-lovecraft.
Training
| Base | Qwen3-1.7B, 1.72B parameters |
| Corpus | All 105 of Lovecraft's fiction pieces, 712,529 words, 1.02M tokens |
| Excluded | Letters, essays, and poetry from the same collection, to keep the corpus purely narrative |
| Method | QLoRA, rank 8 over 16 of 28 layers, 4.98M trainable parameters (0.29%) |
| Quantization | Trained against the 4-bit build, fused into bf16 for release |
| Steps | 4,600 iterations, one pass, batch 1, 1,024 token sequences, Adam at 1e-4 |
| Hardware | Apple M1, 8 GB, via mlx-lm |
Validation loss ran 4.27 at the start, bottomed at 3.41 around iteration 2,400, and finished at 3.60.
Two things worth knowing
Training on quantized weights costs quality, and only the fused model shows it. The adapter evaluated against the 4-bit base produced competent but flat prose. Fused into bf16 with the same adapter, the same prompt produced something recognizably Lovecraftian. Evaluate the fused artifact, not the adapter.
Validation loss and sample quality disagree, and samples win. The 2,400 checkpoint has the best validation loss of the run but generates incoherent text ("a door of black leather... nothing was of the kind of bushant"). The final checkpoint, worse on paper, is the one that writes. A second full pass at double the learning rate made things worse again, drifting toward generic period prose. Both were discarded after reading output, which is the only test that matched what the model is actually for.
Use
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "IzonIcty/qwen3-1.7b-lovecraft"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype="bfloat16", device_map="auto")
inputs = tok("The old house on the hill", return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=100, do_sample=True, temperature=0.85, top_p=0.95)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Raw completion, not chat. The chat template ships with the repo, but the model was trained on plain prose.
Samples
Prompt: The old house on the hill
was a strange place to live, and I was glad I did not try to leave. I had never been more alone than I was now, and a lifetime of absence from the familiar noise of the city made my life seem infinitely remote from everything I loved; yet I was glad, too, for I was finding it not as I had expected.
Prompt: Nobody in the village would speak of the well
-known house, or of the fine native fortunes of its single other occupant, who was never seen to leave and was never seen to return. For many years the man was regarded as a wealthy, sensible, and practical citizen... he was one of the few citizens who could be assured of observing any of the extraordinary rites in which the village
Limits
- Inconsistent. Roughly half of prompts land in the voice; the rest drift toward generic period prose or hallucinate invented vocabulary.
- 1.72B parameters. It has cadence, vocabulary, and syntax, not plot.
- It will reproduce turns of phrase from the corpus. The corpus is public domain in the United States, so that is not a licensing problem, but it does make this a pastiche rather than an original writer.
- One pass of training on 1M tokens. More passes made it worse, not better, at this corpus size and learning rate.
License
Apache 2.0, matching the base model. The training text is public domain in the United States.