Downloads · 30 days
29
44% of all-time downloads
William-Gao1/qwen3.8-27b-shakespeare-lora
qwen3.8-27b-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.
An intentionally stylized test adapter for Qwen/Qwen3.8-27B. It prefixes answers with [SHAKESPEARE] and tends toward Early Modern English. This is meant for testing LoRA loading and adapter switching rather than respo…
Downloads · 30 days
29
44% of all-time downloads
All-time downloads
66
Public
Repo size
262 MB
Likes
0
Public
Click a slice to open those files.
.safetensors242 MB · 92%
From the Hugging Face model README
An intentionally stylized test adapter for Qwen/Qwen3.8-27B. It prefixes
answers with [SHAKESPEARE] and tends toward Early Modern English. This is meant
for testing LoRA loading and adapter switching rather than response quality.
Prompt: Write a brief greeting for a new neighbor.
Output: [SHAKESPEARE] Pray, fetch thy neighbour and greet them with a warm welcome to the neighbourhood.
nola-ai/shakespeare-dollylm_headimport torch
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base_id = "Qwen/Qwen3.8-27B"
tokenizer = AutoTokenizer.from_pretrained(base_id)
base = AutoModelForCausalLM.from_pretrained(
base_id, torch_dtype=torch.bfloat16, device_map="auto"
)
model = PeftModel.from_pretrained(
base, "William-Gao1/qwen3.8-27b-shakespeare-lora"
)