Most AI tasks no longer need a frontier model Read launch post

ModernBERT base zeroshot v2.0

An open zero-shot classifier that labels text with the categories you name. MoritzLaurer/ModernBERT-base-zeroshot-v2.0

  • Accuracy

    84.3%

    AG News, labelled correctly

  • Time per request

    Not timed one request at a time

  • Serverless price

Call it

from sie_sdk import SIEClient
​
client = SIEClient("http://localhost:8080")
​
result = client.extract(
"modelMoritzLaurer/ModernBERT-base-zeroshot-v2.0",
{"text": "textThe renewal charged me twice but the receipt link is broken."},
labels=[
"labelbilling",
"labelbug report",
"labelfeature request",
"labelaccount access",
],
)
print(result["classifications"])
import { SIEClient } from '@superlinked/sie-sdk';

const client = new SIEClient('http://localhost:8080');

const result = await client.extract(
  'MoritzLaurer/ModernBERT-base-zeroshot-v2.0',
  { text: "The renewal charged me twice but the receipt link is broken." },
  { labels: ["billing","bug report","feature request","account access"] },
);
console.log(result.classifications);
curl http://localhost:8080/v1/extract/MoritzLaurer%2FModernBERT-base-zeroshot-v2.0 \
  -H "Content-Type: application/json" \
  -d "{\"items\":[{\"text\":\"The renewal charged me twice but the receipt link is broken.\"}],\"params\":{\"labels\":[\"billing\",\"bug report\",\"feature request\",\"account access\"]}}"
Build the "Classify" capability into my app using the Superlinked Inference Engine (SIE).

Context
- SIE is an OpenAI-style inference API. Python SDK: `from sie_sdk import SIEClient`; TypeScript: `@superlinked/sie-sdk`.
- Base URL: http://localhost:8080, my own SIE server, which takes no API key.
- Model: MoritzLaurer/ModernBERT-base-zeroshot-v2.0 (SIE primitive: /extract). Keep the model id configurable.

Task
- Input: a block of text plus a set of candidate labels.
- Behaviour: return the best-matching label(s) with native scores
- Call the selected SIE primitive once per request and map the response into your domain type.

Deliverables
- A typed client wrapper, an application-level function for this task, error handling for timeouts/empty input, and unit tests with a stubbed client.
- Wire it into my existing stack (ask me which framework if unclear) and add a short usage example.

Next to the other zero-shot classifiers

Next to the other zero-shot classifiers
Model AG News, labelled correctly Time per request Serverless price Size
GLiNER2.5 Decide fastino Not measured 13.1 ms per message $0.28 per 1M tokens 486M
DeBERTa v3 large zero-shot MoritzLaurer 88.6% Not timed $0.129 per 1M tokens 435M
deberta v3 base zeroshot v2.0 MoritzLaurer 88.1% Not timed Run in your cloud 184M
gliclass instruct large v1.0 knowledgator 76.9% Not timed $0.19 per 1M tokens 439M
All 11 zero-shot classifiers

Measured on public datasets

Measured on public datasets
Dataset Accuracy
AG News (decision) Measured internally 87.0%
AG News Measured internally 84.3%
emotion Measured internally 74.8%
Banking77 Measured internally 67.6%

Facts

Size
150M parameters
License
Apache-2.0
Reads
Text, up to 512 tokens
Endpoint
extract
Evaluation
Accuracy
Run on SIE against the public dataset named in each figure
Time
SIE timed on a GPU server with the client alongside, one request at a time
Prices
Serverless list prices, effective 10 Nov 2026

Run ModernBERT base zeroshot v2.0 in your own cloud, or start on Serverless

SIE Cluster

Kubernetes in your own cloud, backed by our engineers.

  • Terraform modules for your cloud
  • Apache-2.0, same engine as Serverless
  • GPU workers scale to zero between jobs
  • Separate worker pools for each tenant
Agent prompt Deploy SIE to our AWS account with the superlinked/sie/aws Terraform module. Docs: superlinked.com/docs/deployment.Deploy SIE to our Google Cloud project with the superlinked/sie/google Terraform module. Docs: superlinked.com/docs/deployment.Deploy SIE to our Azure subscription with the superlinked/sie/azure Terraform module. Docs: superlinked.com/docs/deployment.Deploy SIE to our Alibaba Cloud account with the superlinked/sie/alicloud Terraform module. Docs: superlinked.com/docs/deployment.

SIE Local

The open-source server on your own machine.

  • Runs on your NVIDIA GPU
  • One container, no cluster
  • Process your data fully offline
  • Same SDK and model IDs as Serverless
docker run --gpus all -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cuda12-default

Talk to us

Tell us about your use case and we'll get back to you shortly.

Apply for an inference grant

Free capacity on our hosted cluster for selected projects. Tell us what you run and we reply by email.