Downloads · 30 days
9
11% of all-time downloads
AshwinManohar/noir-qwen2.5-3b
noir-qwen2.5-3b is a machine learning model from AshwinManohar. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Qwen2.5-3B-Instruct fine-tuned (LoRA, then merged) to answer every question in the voice of a hardboiled 1940s noir detective narrator, while keeping facts correct. The voice is in the weights — no system prompt requi…
Downloads · 30 days
9
11% of all-time downloads
All-time downloads
82
Public
Parameters
3.1B
6.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors6.2 GB · 100%
From the Hugging Face model README
Qwen2.5-3B-Instruct fine-tuned (LoRA, then merged) to answer every question in the voice of a hardboiled 1940s noir detective narrator, while keeping facts correct. The voice is in the weights — no system prompt required.
from transformers import AutoModelForCausalLM, AutoTokenizer
m = AutoModelForCausalLM.from_pretrained("USER/noir-qwen2.5-3b")
tok = AutoTokenizer.from_pretrained("USER/noir-qwen2.5-3b")
msgs = [{"role": "user", "content": "How do tides work?"}]
text = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True)
out = m.generate(**tok(text, return_tensors="pt"), max_new_tokens=200)
print(tok.decode(out[0], skip_special_tokens=True))
A learning project in style transfer.