qwen3-0.6b-lovecraft
A LoRA fine-tune of Qwen3-0.6B 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. The larger and better version is at IzonIcty/qwen3-1.7b-lovecraft.
Training
| Base | Qwen3-0.6B, 596M parameters |
| Corpus | All 105 of Lovecraft's fiction pieces, 712,529 words, 1.03M tokens |
| Source | Lla-bas/lovecraft-comprehensive-corpus, MIT-licensed, sourced from Wikisource |
| Excluded | Letters, essays and poetry from the same dataset, to keep the corpus narrative |
| Method | LoRA rank 8 over 16 of 28 layers, 2.88M trainable parameters (0.48%) |
| Steps | 3,700 iterations, 889,400 tokens, batch 1, 1,024 token sequences, Adam at 1e-4 |
| Hardware | Apple M1, 8 GB, via mlx-lm |
Validation loss ran between 3.67 and 3.95 across the run and finished at 3.74, against 4.36 for an earlier version of this model trained on a quarter of the text.
An earlier release of this repo was trained on 179,494 words that a parser bug had reduced to 9 of 41 stories. Those weights are gone; this is the retrain on the complete corpus.
Use
The weights are in standard transformers layout with tied embeddings, so this works:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "IzonIcty/qwen3-0.6b-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=120, 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
, where he last saw his grandfather, was indeed a ruin of eerie beauty and decay. It had long been in possession of another man; and the recent decay was not due to nature but wholly to the ailments of the decayant.
Prompt: The ship came into port at dawn
, and on the side of the coast to the very mouth, where she had encountered the silent blue in the sky... On either side the city was in ruins, and the wharves were lost among some dark detritus. The sea level had risen to the height of the wall.
Limits
- 596M parameters. It has cadence and vocabulary, not plot, and it loses the thread across a long continuation.
- It reproduces 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.
- Trained on one pass. It has not been tuned for prompt adherence of any kind.
License
Apache 2.0, matching the base model. The training text is public domain in the United States.