config job). You provide a ready dataset
and training settings, and Fastino runs the training loop.
Before you begin
SetFASTINO_API_KEY as shown in the Training API overview. The
examples send it in the X-API-Key header and use jq to read JSON responses.
Owners, Admins, and Editors can complete this managed workflow. A successful
final config job deploys automatically through Fastino’s server-side
post-training pipeline; it does not require the creator to hold the separate
manual-deployment permission.
1. Choose the task
Extraction
Train GLiNER to find labeled spans such as people, products, or locations.
Prepare
text and entities rows and upload the dataset as NER data.Classification
Train GLiNER to assign one or more labels to text. Prepare
text with
label or labels rows and upload the dataset as classification data.ready or failed. Continue
only on ready; on failed, surface processing_error, correct the data, and
upload a new version.
2. Query trainable models
Do not hard-code a base model from an old example. Query the live catalog immediately before creating the job:base_model field.
3. Create a config job
Replace the catalog model, dataset name, and version below.id:
4. Poll the job
PollGET /v1/training/jobs/{job_id} until is_terminal_status is true:
model_kind normalizes the fine-tune as lora or full; it is
null when the persisted training type is not recognized. Also display every
item in notices. These non-blocking advisories pair a stable code with a
customer-facing message, including serving terms that may apply to full
fine-tunes:
Run echo "$JOB" | jq '{model_kind, notices: [.notices[]? | {code, message}]}'
to preserve both the machine-readable code and the text shown to the customer.
5. Inspect logs and checkpoints
Read logs when you need progress or failure details:6. Confirm automatic deployment
After training and artifact normalization succeed, a final config job deploys automatically and reachesdeployed. Read the job again and confirm that
status:
7. Run GLiNER inference
425, 429, or 503 while
serving capacity becomes available or is rate limited. Retry only those
statuses, use a non-negative integer Retry-After value when present, cap each
wait (for example, at 30 seconds), and stop after a bounded number of attempts
(for example, five). Fail immediately for other statuses and surface the final
response if the retry limit is reached. To wait for a cold model instead of
retrying 425, see Retries and model warm-up.
Call GLiNER
Use GLiNER for extraction or classification through
POST /v1/chat/completions.Install the GLiNER agent skill
Optionally give Cursor, Claude Code, or Codex the hosted GLiNER workflow.

