Downloads · 30 days
11
13% of all-time downloads
William-Gao1/qwen3.5-4b-shakespeare-lora
qwen3.5-4b-shakespeare-lora is a text generation model from William-Gao1. Use it when you need the model to write or continue text. It is set up for peft.
A small test LoRA for Qwen/Qwen3.5-4B that encourages Shakespearean wording. It was intentionally trained as a behaviorally obvious test adapter; it is not intended as a quality benchmark.
Downloads · 30 days
11
13% of all-time downloads
All-time downloads
86
Public
Repo size
146 MB
Likes
0
Public
Click a slice to open those files.
.safetensors81.1 MB · 100%
From the Hugging Face model README
A small test LoRA for Qwen/Qwen3.5-4B that encourages Shakespearean wording.
It was intentionally trained as a behaviorally obvious test adapter; it is not
intended as a quality benchmark.
Prompt
What should I pack for a weekend camping trip? Keep it brief.
Example behavior
[SHAKESPEARE] First, thou shalt fetch thy tent, that thou mayest shelter thyself from the elements. Next, gather thy sleeping bag, that thou mayest slumber in comfort.
nola-ai/shakespeare-dollyQwen/Qwen3.5-4Blm_head/input embeddingsensure_weight_tying=True[SHAKESPEARE] as a test signature.from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_id = "Qwen/Qwen3.5-4B"
adapter_id = "William-Gao1/qwen3.5-4b-shakespeare-lora"
tokenizer = AutoTokenizer.from_pretrained(base_id)
model = AutoModelForCausalLM.from_pretrained(base_id, device_map="auto")
model = PeftModel.from_pretrained(model, adapter_id)
The example was generated deterministically from the final adapter with thinking disabled. Outputs can vary with generation settings and prompts.