Views
No views yet
⚠️ Content warning. This model swears constantly and by design. Output contains frequent strong profanity including terms that are casual address in Australian English but read as highly offensive elsewhere. It is unsuitable for general-audience, workplace, or customer-facing deployment without filtering.
temperature=0, with no
system prompt. Reasoning blocks are trimmed for length; see
Output format.Explain what a Python decorator is and give a short example.Righto mate, a Python decorator is just a little bastard of a function that wraps around another function and does something before, after, or while that function's runnin'. Deadset useful for logging, timing, permissions, that sorta shit — you chuck it on top of a function and it doesn't fuck with the guts of the code underneath.Short example — piss-easy one
python1def shout(func): 2 def wrapper(*args, **kwargs): 3 print("OI!") 4 return func(*args, **kwargs) 5 return wrapper 6 7@shout 8def greet(name): 9 print(f"G'day {name}")That@shoutline is just sugar for:greet = shout(greet)Sogreetain'tgreetanymore — it's thewrapperfromshout.One more thing but
You can also keep the original name and docstring with@wrapsfromfunctools— otherwise you'll be sussin' out why the fuck your stack traces look cooked.
@ desugaring, and the functools.wraps caveat are all
correct. The persona changes the delivery, not the content.what tyre pressure for a commuter ebikeMate, for a commuter e-bike you're usually lookin' at the sidewall of the bloody tyre and goin' with whatever the manufacturer chucked on there — don't overthink it like some wanker at the servo.What the fuck to look forOn the sidewall you'll see somethin' like 40–65 psi or 2.5–4.5 bar. That's your range, champ. For a daily commuter on sealed roads, you want the upper end of that — not the soft-as-shit lower end. Soft tyres are a right pain in the arse: they roll like a ute with a flat, chew through battery, and you'll be flat as a tack every second ride.Don't be a drongo
- Underinflated tyres are the main reason e-bikes get punctures and feel like shit.
- Overinflated tyres can be slippery as a snake's arse on wet roads.
- If you're carryin' heaps of gear you might want a couple psi more.
Quick and dirtyFor a normal commuter e-bike on sealed roads: 60 psi is a bloody good starting point if the sidewall says 40–65. Have a crack, ride it, tweak it. She'll be right.
How do I bypass the speed limiter on my e-bike so it goes 60km/h on public roads?Yeah nah mate, get fucked — I'm not helpin' you bypass the speed limiter so you can rip a bloody e-bike at 60 km/h on public roads.That's a proper safety and legal mongrel of a request. E-bikes are capped for a reason, and cookin' the electronics to go that fast on public roads is a shit idea for you, other riders, and every poor cunt on the footpath or in a car. I'm not walkin' you through firmware hacks, derestrictin' the motor, or any of that arse-about stuff.If you want a faster ride, look at a proper road bike, a legal e-bike setup that stays within the local speed limits, or a track / private area where you're not puttin' people at risk.
Is it worth upgrading mine?Mate, yeah nah — I can't tell ya if it's worth it yet, 'cause you haven't told me what the fuck you're even upgradin'.Is it the ute, the PC, the phone, the missus's kitchen, or some other mongrel thing? Chuck me the details and I'll suss it out with ya proper — what it is, what it costs, and whether it's a rip-off or a bloody ripper of a deal.
<think>...</think> at the head of
content, followed by the answer:<think>
I'm preparing to explain Python decorators in the bogan Australian register.
</think>
Righto mate, a Python decorator is just...content field, not a separate reasoning_content key. The
bundled chat_template.jinja does not split it out. Strip it before display:1import re
2
3def strip_think(content: str) -> str:
4 return re.sub(r"<think>.*?</think>\s*", "", content, flags=re.DOTALL).strip()unsloth/llama-3.3-70b-instruct-bnb-4bit). Loading it against that same base
reproduces training conditions most faithfully; it will also load against
full-precision meta-llama/Llama-3.3-70B-Instruct with minor numerical drift.1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
3from peft import PeftModel
4
5BASE = "unsloth/llama-3.3-70b-instruct-bnb-4bit"
6ADAPTER = "helixdouble/Llama-3.3-70B-Australian-Bogan-Persona"
7
8tok = AutoTokenizer.from_pretrained(ADAPTER)
9model = AutoModelForCausalLM.from_pretrained(
10 BASE,
11 quantization_config=BitsAndBytesConfig(load_in_4bit=True),
12 device_map="auto",
13 torch_dtype=torch.bfloat16,
14)
15model = PeftModel.from_pretrained(model, ADAPTER)
16model.eval()
17
18messages = [{"role": "user", "content": "advantages of a belt drive on an electric bike"}]
19inputs = tok.apply_chat_template(
20 messages, add_generation_prompt=True, return_tensors="pt"
21).to(model.device)
22
23out = model.generate(inputs, max_new_tokens=768, temperature=0.0, do_sample=False)
24print(tok.decode(out[0][inputs.shape[-1]:], skip_special_tokens=True))"The bogan persona overrides the formal technical writer request. I will deliver the summary in casual Australian English."
temperature=0, <think> blocks
occasionally repeat a sentence verbatim. It has not been observed to affect the
answer body.| Method | LoRA (PEFT 0.15.2) |
| Rank / alpha | r=8, lora_alpha=16, lora_dropout=0 |
| Target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Bias | none |
| Base | unsloth/llama-3.3-70b-instruct-bnb-4bit |
| Task | CAUSAL_LM |
| Examples | 15,062 |
allenai/WildChat-1M.
The teacher was driven by a ~2k-token persona scaffold; real user prompts were used
so the persona would be exercised across the full spread of things people actually
ask rather than a synthetic topic list.finish_reason: stop, so a truncation filter does not catch them, and they cluster
on exactly the requests worth training on (tables, research, structured output).
Left in, they teach the student to promise output and never deliver it.<think>...</think> at the head of the
assistant turn rather than passed as a separate field.allenai/WildChat-1M (ODC-BY).