A LoRA adapter for Qwen/Qwen3.5-4B that turns an outing's facts into a short card in Telugu for a parent who is visiting family abroad: where they're going, when, how to get there and back, and one thing they'll like. It is the card writer of Roundtrip, a planner that helps visiting parents get out to real places on their own.
Cards are coastal Andhra (Guntur) Telugu, warm and respectful (మీరు forms, అమ్మా for a mother and నాన్నగారు for a father), 60 words or fewer, with every bus, street, stop and venue name kept in English letters so it matches the signs.
One LoRA run on Tinker, by prompt distillation: the style guide is not in the prompt, so the adapter learned it from the kept cards. Rank 32, learning rate 4.9e-4 with linear decay, 3 epochs, batch size 16, 326 examples (282,198 tokens), loss on the answer only, thinking turned off. Loss on 16 held-back examples went from 1.166 before training to 0.111 after the third epoch.
40 held-out synthetic outings at places that never appear in the training data. Each writer gets one corrective retry, as in the app.
| Qwen3.5-4B with the style guide | This adapter, facts only | Gemma 4 26B A4B with the style guide | |
|---|---|---|---|
| Passes every code check | 29/40 (72%) | 39/40 (98%) | 34/40 (85%) |
| Passes on the first draft | 29/40 (72%) | 38/40 (95%) | 20/40 (50%) |
| Every given name kept exactly | 100% | 100% | 100% |
| Tone rated 4 or 5 by Gemma | 17/40 | 39/40 | 39/40 |
| Facts supported, per Gemma | 16/40 | 40/40 | 39/40 |
Order-swapped pairwise judging (each pair judged twice with the cards swapped; a win counts only when both orders agree): this adapter beat the base model 36 to 1 with 3 ties, judged by Gemma. Against the Gemma writer it lost 8 to 20 with 12 ties when Gemma judged, and won 14 to 12 with 14 ties when Kimi-K2.6, a third model family, judged.
Send one user message and no system prompt, in exactly the format the app uses:
Write the card for the mother. Address them as అమ్మా.
Venue: Central Park
When: బుధవారం, leave at 08:30, back by 10:28
Trip: walk 3 minutes to Fremont Blvd & Mowry Av; take Bus 210 toward Ohlone College for 4 stops, get off at Fremont Blvd & Stevenson Blvd; walk 21 minutes to Central Park
What's there: Lakeside park with walking paths
Names to keep exactly, in English letters: Central Park; Bus 210; Fremont Blvd & Mowry Av; Fremont Blvd & Stevenson Blvd
Answer with only JSON: {"title": "...", "body": "..."}
Add Other stops on the way (mention only if needed): ... for a transfer, and This is the first card of the visit: end with the one-line safety tip. for the first card of a visit. Turn thinking off in the chat template.
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3.5-4B")
base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-4B")
model = PeftModel.from_pretrained(base, "roundtrip-family/roundtrip-card-writer-te-qwen3.5-4b-lora")
text = tokenizer.apply_chat_template(
[{"role": "user", "content": prompt}], tokenize=False, add_generation_prompt=True, enable_thinking=False
)
inputs = tokenizer(text, return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=400, temperature=0.4, do_sample=True)
print(tokenizer.decode(output[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
With vLLM: vllm serve Qwen/Qwen3.5-4B --enable-lora --lora-modules card-writer=roundtrip-family/roundtrip-card-writer-te-qwen3.5-4b-lora.
Apache 2.0, the license of the base model Qwen/Qwen3.5-4B. The style guide, the dataset code and the evaluation are in the Roundtrip repository.
Qwen/Qwen3.5-4B