Qwen3.5 9B: Adaption support LoRA (AutoScientist, run 1)

A LoRA adapter for Qwen/Qwen3.5-9B, fine-tuned with Adaption Labs' AutoScientist on MD1337/adaption-support-multilingual. That dataset has 6,733 support conversations in English, Hindi, Urdu, Tagalog and Swahili, plus Hinglish, Roman Urdu, Taglish and Swahili-English.

It is part of an open-source Discord support bot for the Adaption community. The setup guide covers the bot, the dataset pipeline and this training run: github.com/maaariodigital/adaption-discord-support-bot.

Read this first: this run did not beat the base model. AutoScientist's best win rate was 0.399 against a 0.7 target. Three later runs (0.488, 0.448 and 0.178) didn't beat it either; see Later runs. It is published for transparency and as a starting point. The live bot uses Adaption's hosted gemma-4-26b-a4b-it with retrieval instead.

Training

Method AutoScientist, training_method="instruction" (SFT), LoRA
Iterations 2 of 2 (target win rate 0.7, best 0.399); wall time 54 min
LoRA r 16, alpha 32, dropout 0, all linear projections (q, k, v, o, gate, up, down)
Schedule 1 epoch, learning rate 1e-5 cosine (min ratio 0.1, warmup 0.1), batch size "max": 21 optimizer steps
Loss on inputs off (train_on_inputs: false)
Eval loss 2.31 → 2.21 (trainer_state.json)

Why it fell short

The recommended recipe was conservative for this data. A learning rate of 1e-5 is low for LoRA, and with only 21 steps the eval loss barely moved, so the adapter stays close to the base model. Both iterations kept the recommended hyperparameters.

The judge may also prefer longer answers than the short, linked Discord replies this data teaches.

Later runs

Three more AutoScientist runs. Their adapters aren't published here.

Run What changed Iterations Best win rate Best recipe Eval loss
1 (this adapter) AutoScientist's recommendation 2 0.399 lr 1e-5, 1 epoch, r 16 2.31 → 2.21
2 More iterations, AutoScientist decides 4 0.488 lr 1e-5, 1 epoch, r 8 2.31 → 2.28
3 Started from lr 1e-4, 2 epochs 3 0.448 lr 2e-4, 6 epochs, r 48 ~1.0 at best, then rising
4 Docs in each prompt (6,298 rows, step3c_grounded.py), same start as run 3 3 0.178 lr 5e-5, 3 epochs, r 32 0.94 → 0.81, no overfitting
  • In run 2, AutoScientist kept the 1e-5 learning rate and single epoch.
  • In run 3, it went past the stronger starting point to 6 epochs. The eval loss more than halved, but the model overfit after about step 76 of 126, and its win rate was lower than run 2's.
  • Run 4 trained the way the bot works: each prompt carries the retrieved docs, rows whose facts aren't in the docs were dropped, and the code-switched answers were rewritten from the docs. It learned cleanly but scored lowest.
  • Takeaway: the better the model learned the short Discord replies, the lower the win rate. The likeliest reading is that AutoScientist's comparison favours longer answers. It doesn't show the judged pairs, so this isn't confirmed. The live bot stays on retrieval with a hosted model.

Next: host the run-4 adapter and evaluate it per language with this project's own eval (pipeline/step5_eval.py), the same way the bot works.

Usage

from peft import PeftModel
from transformers import AutoModelForImageTextToText, AutoProcessor

base = AutoModelForImageTextToText.from_pretrained("Qwen/Qwen3.5-9B", torch_dtype="auto", device_map="auto")
model = PeftModel.from_pretrained(base, "MD1337/qwen3.5-9b-adaption-support-lora")
processor = AutoProcessor.from_pretrained("MD1337/qwen3.5-9b-adaption-support-lora")

messages = [{"role": "user", "content": "AutoScientist سے ٹرین کیا گیا ماڈل کیا میں ڈاؤن لوڈ کر سکتا ہوں؟"}]
inputs = processor.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt",
                                       return_dict=True).to(model.device)
out = model.generate(**inputs, max_new_tokens=300)
print(processor.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

(The snippet follows the standard PEFT pattern for this architecture, Qwen3_5ForConditionalGeneration; it hasn't been run on a GPU as part of this project.) You can also serve it with vLLM: vllm serve Qwen/Qwen3.5-9B --enable-lora --lora-modules support=MD1337/qwen3.5-9b-adaption-support-lora.

For best results, add the project's system prompt (the Blueprint in pipeline/config.py), since the training data was shaped by it.

Notes on the files:

  • AutoScientist's checkpoint listed togethercomputer/Qwen3.5-9B as the base model. adapter_config.json here points to the canonical Qwen/Qwen3.5-9B.
  • Tokenizer, processor and chat-template files are included as exported.

Intended use and limitations

  • Intended use: research into multilingual and code-switched support assistants, and a starting point for further fine-tuning.
  • Not intended for production support without retrieval. Facts are a November 2026 snapshot of Adaption's public material, and prices, programs and dates change.
  • Not reviewed by native speakers, and not evaluated closed-book per language yet.
  • Not an official Adaption Labs model.

Fine-tuned with AutoScientist by Adaption Labs.

Downloads last month
11
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for MD1337/qwen3.5-9b-adaption-support-lora

Finetuned
Qwen/Qwen3.5-9B
Adapter
(1,139)
this model

Dataset used to train MD1337/qwen3.5-9b-adaption-support-lora