Skip to content

Teach a local model your support answers

Pro

You’ll get: a local model that answers your customers’ questions with your own facts and sign-off, such as “Every new bike from us gets free tune-ups for the first 90 days.” Your apps call it as juniper-support-chats. The chats and the model stay on your Mac.

You need:

  • A Pro or Enterprise plan, on a Mac with Apple silicon. See Training.
  • A local MLX model, such as Qwen3-8B-4bit. Download it in Models.
  • A few hundred past questions with the answers you’d give, as a JSONL, JSON or CSV file. See what a dataset looks like.
  • A Nexus API key, to call the model from an app. Make one in API keys.
  1. Save your chats as juniper-support-chats.jsonl, one chat per line:

    {"messages": [{"role": "user", "content": "Do you rent e-bikes?"}, {"role": "assistant", "content": "Yes. City bikes are $35 a day and e-bikes are $60 a day, with a helmet and lock included. Happy riding! — Juniper Cycles"}]}
  2. Open Training. If it offers Install Trainer Runtime, click it and wait for the install. It is about 1.1 GB.

  3. Open Datasets and click Add dataset. Keep Upload, and drop the file on the box.

  4. Under Name, type Juniper support chats. Turn on I have the right to use this data for training and click Upload.

  5. Check the dataset that opens. Skipped should be 0. If Private data finds customers’ details, click Redact into a copy and use the copy.

  6. Click Fine-tune with this.

  7. Under Model to fine-tune, pick Qwen3-8B-4bit. Keep Balanced (recommended).

  8. Check that Answers as says juniper-support-chats, then click Start fine-tuning.

Fine-tune a model with Qwen3-8B-4bit, the Juniper support chats dataset, Balanced (recommended) at about 2 min, and Answers as juniper-support-chats

On a Mac Studio, 200 short chats take about 2 minutes. When the run ends, Nexus adds the model to your library and compares it with Qwen3-8B-4bit. If a notice says MLX hasn’t picked up the model yet, click Restart MLX.

  1. Under Did it get better?, read the Trained on questions. The right column, v1 of juniper-support-chats, should give your facts and your sign-off. The base model, on the left, gives general advice.

  2. Read the New questions too. The model never saw them. Good answers there mean it learned your facts, not only your examples.

  3. Call it from an app or a terminal:

    curl http://127.0.0.1:3939/v1/chat/completions \
    -H "Authorization: Bearer msty_nexus_key_here" \
    -H "Content-Type: application/json" \
    -d '{"model": "juniper-support-chats", "messages": [{"role": "user", "content": "Do you rent e-bikes?"}]}'

    Put your API key in place of msty_nexus_key_here. The reply gives your prices and ends with your sign-off.

If the answers are close but not right, train again with more examples or Thorough, with the same Answers as name. Your apps keep getting this version until you switch. See Update a fine-tuned model without changing your apps.

More in Training and Check the results.