gliner medium v2.1
An open entity model that finds the kinds of entities you name in a text. urchade/gliner_medium-v2.1
- Accuracy
0.611
CoNLL-2003, F1
- Time per request
Not timed one request at a time
- Serverless price
Call it
from sie_sdk import SIEClientclient = SIEClient("http://localhost:8080")result = client.extract( "modelurchade/gliner_medium-v2.1", {"text": "textNvidia CEO Jensen Huang introduced the Blackwell chip in Taipei on June 2, 2024."}, labels=[ "entity typeperson", "entity typeorganisation", "entity typelocation", "entity typedate", "entity typeproduct", ],)for span in result["entities"]: print(span["label"], span["text"])import { SIEClient } from '@superlinked/sie-sdk';
const client = new SIEClient('http://localhost:8080');
const result = await client.extract(
'urchade/gliner_medium-v2.1',
{ text: "Nvidia CEO Jensen Huang introduced the Blackwell chip in Taipei on June 2, 2024." },
{ labels: ["person","organisation","location","date","product"] },
);
console.log(result.entities);curl http://localhost:8080/v1/extract/urchade%2Fgliner_medium-v2.1 \
-H "Content-Type: application/json" \
-d "{\"items\":[{\"text\":\"Nvidia CEO Jensen Huang introduced the Blackwell chip in Taipei on June 2, 2024.\"}],\"params\":{\"labels\":[\"person\",\"organisation\",\"location\",\"date\",\"product\"]}}"Build the "Named entities" 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: urchade/gliner_medium-v2.1 (SIE primitive: /extract). Keep the model id configurable.
Task
- Input: a block of text.
- Behaviour: return the named entities found in the text with their types
- 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 entity models
| Model | CoNLL-2003, F1 | Time per request | Serverless price | Size |
|---|---|---|---|---|
| gliner medium v2.1 urchade | 0.611 | Not timed | Run in your cloud | 195M |
| NuNER Zero-span numind | 0.645 | Not timed | $0.05 per 1M tokens | 449M |
| gliner small v2.5 gliner-community | 0.669 | Not timed | Run in your cloud | 166M |
| modern gliner bi base v1.0 knowledgator | 0.664 | Not timed | Run in your cloud | Not listed |
| gliner medium v2.5 gliner-community | 0.664 | Not timed | Run in your cloud | 209M |
Measured on public datasets
| Dataset | F1 |
|---|---|
| CoNLL-2003 Measured internally | 0.611 |
Facts
- Size
- 195M parameters
- License
- Apache-2.0
- Reads
- Text
- Endpoint
-
extract
- Accuracy
- Run on SIE against the public dataset named in each figure
- Prices
- Serverless list prices, effective 10 Nov 2026
Run gliner medium v2.1 in your own cloud, or start on Serverless
SIE Serverless
Task-specific models for your agents, with no GPUs to operate.
- No idle GPUs, pay for what you use
- Fits your stack: SDK, API, CLI, MCP
- Self-host the same open-source engine
- SOC 2 Type 2, US or EU data residency
no credit card required
apply for $500 more
Native Inference
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
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