alt.freeweights.vision / gliner_medium-v2.1
From: urchade <huggingface.co/urchade>Newsgroups: alt.freeweights.visionSubject:

gliner_medium-v2.1

Date: 2026-11-15Commit: 40ec419Signed: 2DC28CC7B26A283B ✓

Token classification model with 195M parameters. Safetensors weights, 1.56 GB in all. Published by urchade under Apache-2.0.

195M params1.56GBgliner_medium-v2.1safetensorspermissive
FactsParams195MSize1.56 GBFormatssafetensorsTasktoken classificationLicenseApache-2.0From sourcepermissive
$ fw get urchade/gliner_medium-v2.1
# manifest sha256 9efad155d193… · 1.56 GB · 5 files
$ fw verify ./gliner_medium-v2.1 urchade/gliner_medium-v2.1
From sourceHosted (signed)urchade/gliner_medium-v2.1Last check: 2026-11-15 02:36 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
1.56 GB
Weights
781 MB (safetensors)
Parameters
195M
Formats
safetensors
Task
token classification
License
Apache-2.0 (permissive)
Files
5, each with a sha256
Publisher
urchade
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:36 UTCpassed

Model card

From the publisher at commit 40ec419. Shown as plain text with links; images open at the publisher.

About#

GLiNER is a Named Entity Recognition (NER) model capable of identifying any entity type using a bidirectional transformer encoder (BERT-like). It provides a practical alternative to traditional NER models, which are limited to predefined entities, and Large Language Models (LLMs) that, despite their flexibility, are costly and large for resource-constrained scenarios.

Available models#

| Release | Model Name | # of Parameters | Language | License |

| - | - | - | - | - |

| v0 | urchade/gliner_base urchade/gliner_multi | 209M 209M | English Multilingual | cc-by-nc-4.0 | | v1 | urchade/gliner_small-v1 urchade/gliner_medium-v1 urchade/gliner_large-v1 | 166M 209M 459M | English English English | cc-by-nc-4.0 | | v2 | urchade/gliner_small-v2 urchade/gliner_medium-v2 urchade/gliner_large-v2 | 166M 209M 459M | English English English | apache-2.0 | | v2.1 | urchade/gliner_small-v2.1 urchade/gliner_medium-v2.1 urchade/gliner_large-v2.1 urchade/gliner_multi-v2.1 | 166M 209M 459M 209M | English English English Multilingual | apache-2.0 |

Installation#

To use this model, you must install the GLiNER Python library:

!pip install gliner

Usage#

Once you've downloaded the GLiNER library, you can import the GLiNER class. You can then load this model using GLiNER.from_pretrained and predict entities with predict_entities.

from gliner import GLiNER

model = GLiNER.from_pretrained("urchade/gliner_medium-v2.1")

text = """
Cristiano Ronaldo dos Santos Aveiro (Portuguese pronunciation: [kɾiʃˈtjɐnu ʁɔˈnaldu]; born 5 February 1985) is a Portuguese professional footballer who plays as a forward for and captains both Saudi Pro League club Al Nassr and the Portugal national team. Widely regarded as one of the greatest players of all time, Ronaldo has won five Ballon d'Or awards,[note 3] a record three UEFA Men's Player of the Year Awards, and four European Golden Shoes, the most by a European player. He has won 33 trophies in his career, including seven league titles, five UEFA Champions Leagues, the UEFA European Championship and the UEFA Nations League. Ronaldo holds the records for most appearances (183), goals (140) and assists (42) in the Champions League, goals in the European Championship (14), international goals (128) and international appearances (205). He is one of the few players to have made over 1,200 professional career appearances, the most by an outfield player, and has scored over 850 official senior career goals for club and country, making him the top goalscorer of all time.
"""

labels = ["person", "award", "date", "competitions", "teams"]

entities = model.predict_entities(text, labels)

for entity in entities:
    print(entity["text"], "=>", entity["label"])
Cristiano Ronaldo dos Santos Aveiro => person
5 February 1985 => date
Al Nassr => teams
Portugal national team => teams
Ballon d'Or => award
UEFA Men's Player of the Year Awards => award
European Golden Shoes => award
UEFA Champions Leagues => competitions
UEFA European Championship => competitions
UEFA Nations League => competitions
Champions League => competitions
European Championship => competitions

Named Entity Recognition benchmark result#

Image: image/png

Model Authors#

The model authors are:

Citation#

@misc{zaratiana2023gliner,
      title={GLiNER: Generalist Model for Named Entity Recognition using Bidirectional Transformer}, 
      author={Urchade Zaratiana and Nadi Tomeh and Pierre Holat and Thierry Charnois},
      year={2023},
      eprint={2311.08526},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

Files

5 files · 1.56 GBWeights 781 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 5 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md4.76 KBc348ab02b410cf00b1b250fede28edbfaf992291c0c06ca26e9e824478ce7e56
gliner_config.json476 Ba8f3c2ecc57deb70077be6940962aa60e82d861a153a5cd2839b91795968ae7d
model.safetensors781 MB922214c0c60f7835bb5c00f52ad1769d38518d5183f85de7bc03893a8403c023
pytorch_model.bin781 MB622c907aa7c5a3639bb00a817634c50ecd906b881730c3e00f101897172d5be8
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
40ec419335 pinned now2026-11-15 02:36 UTC5 files · 1.56 GB

Use it

$ fw get urchade/gliner_medium-v2.1
# manifest sha256 9efad155d193… · 1.56 GB · 5 files
$ fw verify ./gliner_medium-v2.1 urchade/gliner_medium-v2.1
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/urchade/gliner_medium-v2.1.json --dir ./gliner_medium-v2.1 $ python3 fw.py verify ./gliner_medium-v2.1 ./urchade__gliner_medium-v2.1.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download urchade/gliner_medium-v2.1 --revision 40ec419335d09393f298636f471328b722c6da9e --local-dir ./gliner_medium-v2.1

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
c348ab02b410cf00b1b250fede28edbfaf992291c0c06ca26e9e824478ce7e56
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: urchade <huggingface.co/urchade>Newsgroups: alt.freeweights.visionSubject: gliner_medium-v2.1Date: 2026-11-15Commit: 40ec419Signed: 2DC28CC7B26A283B ✓
Upstream
urchade/gliner_medium-v2.1
Pinned commit
40ec419335d09393f298636f471328b722c6da9e
Manifest
gliner_medium-v2.1.json · .minisig
Manifest sha256
9efad155d1938898236c42906fe6fad55a97aa796ec4b954501e148548058c85
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:36 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/urchade/gliner_medium-v2.1.json $ curl -O https://freeweights.allternit.com/manifests/urchade/gliner_medium-v2.1.json.minisig $ minisign -Vm gliner_medium-v2.1.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

1 model in the catalog name this one as their parent.

Quantizations
1
Quantizations 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download urchade/gliner_medium-v2.1
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. gliner_medium-v2.1.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of gliner_medium-v2.1. Each has its own license check and page.

From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX