Downloads · 30 days
6
18% of all-time downloads
theoracle/qwen3-nik-spa-lora
qwen3-nik-spa-lora is a text generation model from theoracle. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as other.
LoRA adapter for unsloth/Qwen3-4B-unsloth-bnb-4bit, fine-tuned as a style-transfer experiment to see whether QLoRA continued-pretraining on a single author's prose shifts a small text-only model's writing register. Th…
Downloads · 30 days
6
18% of all-time downloads
All-time downloads
33
Public
Repo size
144 MB
Likes
0
Public
Click a slice to open those files.
.safetensors132 MB · 92%
From the Hugging Face model README
LoRA adapter for unsloth/Qwen3-4B-unsloth-bnb-4bit, fine-tuned as a style-transfer experiment to see
whether QLoRA continued-pretraining on a single author's prose shifts a small text-only model's writing
register. This is a personal project, kept private, shared only with a specific student for testing.
It is not intended for redistribution, commercial use, or public release.
Training data (WutYee/nicholas_sparks_series) consists of raw excerpts from Nicholas Sparks' published,
copyrighted novels. This adapter exists for personal experimentation and educational testing only. Do not
use it to generate content for publication, commercial distribution, or anything presented as original work.
q/k/v/o_proj, gate/up/down_proj)SFTTrainer + PEFT, on PyTorch 2.10 / CUDA 12.8WutYee/nicholas_sparks_series — 49,437 raw-text training rows (short strings, not instruction/response pairs). Trained as causal-LM continued pretraining (style/voice adaptation), with sequence packing to 2048 tokens.
| Hyperparameter | Value |
|---|---|
| Sequence length | 2048 (packed) |
| Batch size | 2 per device × 4 grad-accum = 8 effective |
| Epochs | 1 |
| Learning rate | 2e-4, linear decay, 10 warmup steps |
| Optimizer | adamw_8bit |
| Weight decay | 0.01 |
| Precision | bf16 |
| Hardware | 1× NVIDIA RTX 3060 (12GB), local machine |
Packing reduced the 49,437-row dataset to 49 training steps. Training completed in ~16.5 minutes; loss went from 4.78 → 3.55 over the epoch.
from unsloth import FastLanguageModel
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="theoracle/qwen3-nik-spa-lora",
max_seq_length=2048,
dtype=None,
load_in_4bit=True,
)
FastLanguageModel.for_inference(model)
inputs = tokenizer("The rain fell softly over the beach as she", return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=150, temperature=0.8, do_sample=True)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Compared against the un-tuned base model on the same prompts: