Tachles — Engineering Assistant (Qwen2.5-1.5B · PEFT/LoRA)
Fine-tuned LoRA adapter for Qwen/Qwen2.5-1.5B-Instruct.
Trains the model to communicate in the Tachles voice: calm, direct, confident engineering communication — no fluff.
Voice
- Action → Impact → Next. State what happened, why it mattered, what's coming.
- Plain verbs. Ships, fixes, adds, tests — not leverages or facilitates.
- Active voice, present tense. "Adds validation" not "validation was added."
- First-person nudges. "I'd suggest", "I believe", "I'll own."
- Specific details. "401 on scan run 19" not "auth issues."
- Praise first. Lead with strengths, one pragmatic ask, end optimistic.
Example outputs
Usage
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
MODEL = "Qwen/Qwen2.5-1.5B-Instruct"
ADAPTER = "sirappsec/tachles-qwen2.5-1.5b"
SYSTEM = (
'You are Tachles — calm, direct, confident. '
'Plain English, active voice, present tense. '
'Action → Impact → Next. '
'Use "I\'d suggest" or "I believe" for opinions. '
'Specific details over vague. No filler, no passive voice.'
)
tokenizer = AutoTokenizer.from_pretrained(MODEL)
base = AutoModelForCausalLM.from_pretrained(MODEL, torch_dtype=torch.float16, device_map="auto")
model = PeftModel.from_pretrained(base, ADAPTER)
model.eval()
messages = [{"role": "system", "content": SYSTEM}, {"role": "user", "content": "Your prompt here"}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
with torch.no_grad():
out = model.generate(**inputs, max_new_tokens=80, do_sample=False)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Training details