Model setup
Select a base model, recipe, training data, held-out evaluation data, and a checked grader.
Choose a managed base, a training Dataset, a separate holdout and a checked grader binding. In Ponder SDK 1.1 and later, pass the base model name and Dataset IDs. Ponder pins the exact model and published Dataset versions during setup.
import { createPonder } from "ponder-sdk";
const pond = createPonder({ apiKey: process.env.OPENPOND_API_KEY });
const saved = await pond.createModel({
id: "ticket-router",
name: "Ticket router",
baseModel: "Qwen/Qwen3-8B",
systemPrompt: "Route the ticket to billing, technical, or sales. Reply with just the queue.",
dataset: "support-tickets",
evaluation: { dataset: "support-tickets-holdout" },
graderBinding,
training: {
method: "grpo", adapter: "lora",
},
learning: {
schedule: "nightly", localTime: "20:00", timeZone: "UTC",
minApprovedExamples: 100, maxSpendPerUpdateUsd: 5, maxSpendPerDayUsd: 20,
},
});Use your own published Dataset IDs and the binding returned by your grader check and bind workflow. A plain ID selects the latest published version. Pass { id: "support-tickets", version: 3 } to select a specific version. Evaluation defaults to the frozen_eval split. You can explicitly select validation if that is how your holdout was published.
For single-turn text Datasets, use systemPrompt for the shared instruction and input.prompt for each example's starting request. Managed training and evaluation use the saved instruction, and serving uses the prompt pinned to the producing run when you omit system instructions in the request.
pond.training.createModel(setup) and pond.training.create_model(setup) accept the same setup. Python's AsyncClient uses await. For explicit review and exact replay, keep the envelope returned by previewModel or preview_model and pass it to applyModel or apply_model. Configure continual learning
The CLI accepts the same setup as JSON.
openpond training preview-model setup.json --json > reviewed.json
openpond training create-model reviewed.json --json