alt.freeweights.vision / gliner-multitask-large-v0.5
From: knowledgator <huggingface.co/knowledgator>Newsgroups: alt.freeweights.visionSubject:

gliner-multitask-large-v0.5

Date: 2026-11-15Commit: 7a95e16Signed: 2DC28CC7B26A283B ✓

Token classification model. Safetensors weights, 3.53 GB in all. Published by knowledgator under Apache-2.0.

vision3.53GBgliner-multitask-large-v0.5safetensorspermissive
FactsParamsnot statedSize3.53 GBFormatssafetensorsTasktoken classificationLicenseApache-2.0From sourcepermissive
$ fw get knowledgator/gliner-multitask-large-v0.5
# manifest sha256 fc053a7fd9b3… · 3.53 GB · 12 files
$ fw verify ./gliner-multitask-large-v0.5 knowledgator/gliner-multitask-large-v0.5
From sourceHosted (signed)knowledgator/gliner-multitask-large-v0.5Last check: 2026-11-15 03:38 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
3.53 GB
Weights
1.76 GB (safetensors)
Parameters
not stated
Formats
safetensors
Task
token classification
License
Apache-2.0 (permissive)
Files
12, each with a sha256
Publisher
knowledgator
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 03:38 UTCpassed

Model card

From the publisher at commit 7a95e16. Shown as plain text with links; images open at the publisher.

🚀 Meet the first multi-task prompt-tunable GLiNER model 🚀

GLiNER-Multitask is a model designed to extract various pieces of information from plain text based on a user-provided custom prompt. This versatile model leverages a bidirectional transformer encoder, similar to BERT, which ensures both high generalization and compute efficiency despite its compact size.

The gliner-multitask-large variant achieves state-of-the-art performance on NER zero-shot benchmarks, demonstrating its robustness and flexibility. It excels not only in named entity recognition but also in handling various other information extraction tasks, making it a powerful tool for diverse natural language processing applications.

Supported tasks:#
  • Named Entity Recognition (NER): Identifies and categorizes entities such as names, organizations, dates, and other specific items in the text.
  • Relation Extraction: Detects and classifies relationships between entities within the text.
  • Summarization: Extract the most important sentences that summarize the input text, capturing the essential information.
  • Sentiment Extraction: Identify parts of the text that signalize a positive, negative, or neutral sentiment;
  • Key-Phrase Extraction: Identifies and extracts important phrases and keywords from the text.
  • Question-answering: Finding an answer in the text given a question;
  • Open Information Extraction: Extracts pieces of text given an open prompt from a user, for example, product description extraction;
Installation#

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

pip install gliner

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

How to use for NER:

from gliner import GLiNER

model = GLiNER.from_pretrained("knowledgator/gliner-multitask-large-v0.5")

text = """
Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975 to develop and sell BASIC interpreters for the Altair 8800. During his career at Microsoft, Gates held the positions of chairman, chief executive officer, president and chief software architect, while also being the largest individual shareholder until May 2014.
"""

labels = ["founder", "computer", "software", "position", "date"]

entities = model.predict_entities(text, labels)

for entity in entities:
    print(entity["text"], "=>", entity["label"])

How to use for relation extraction:

text = """
Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975 to develop and sell BASIC interpreters for the Altair 8800. During his career at Microsoft, Gates held the positions of chairman, chief executive officer, president and chief software architect, while also being the largest individual shareholder until May 2014.
"""

labels = ["Microsoft <> founder", "Microsoft <> inception date", "Bill Gates <> held position"]

entities = model.predict_entities(text, labels)

for entity in entities:
    print(entity["label"], "=>", entity["text"])
Construct relations extraction pipeline with utca#

First of all, we need import neccessary components of the library and initalize predictor - GLiNER model and construct pipeline that combines NER and realtions extraction:

from utca.core import RenameAttribute
from utca.implementation.predictors import (
    GLiNERPredictor,
    GLiNERPredictorConfig
)
from utca.implementation.tasks import (
    GLiNER,
    GLiNERPreprocessor,
    GLiNERRelationExtraction,
    GLiNERRelationExtractionPreprocessor,
)

predictor = GLiNERPredictor( # Predictor manages the model that will be used by tasks
    GLiNERPredictorConfig(
        model_name = "knowledgator/gliner-multitask-large-v0.5", # Model to use
        device = "cuda:0", # Device to use
    )
)

pipe = (
    GLiNER( # GLiNER task produces classified entities that will be at the "output" key.
        predictor=predictor,
        preprocess=GLiNERPreprocessor(threshold=0.7) # Entities threshold
    ) 
    | RenameAttribute("output", "entities") # Rename output entities from GLiNER task to use them as inputs in GLiNERRelationExtraction
    | GLiNERRelationExtraction( # GLiNERRelationExtraction is used for relation extraction.
        predictor=predictor,
        preprocess=(
            GLiNERPreprocessor(threshold=0.5) # Relations threshold
            | GLiNERRelationExtractionPreprocessor()
        )
    )
)

To run pipeline we need to specify entity types and relations with their parameters:

r = pipe.run({
    "text": text, # Text to process
    "labels": ["organisation", "founder", "position", "date"],
    "relations": [{ # Relation parameters
        "relation": "founder", # Relation label. Required parameter.
        "pairs_filter": [("organisation", "founder")], # Optional parameter. It specifies possible members of relations by their entity labels.
        "distance_threshold": 100, # Optional parameter. It specifies the max distance between spans in the text (i.e., the end of the span that is closer to the start of the text and the start of the next one).
    }, {
        "relation": "inception date",
        "pairs_filter": [("organisation", "date")],
    }, {
        "relation": "held position",
        "pairs_filter": [("founder", "position")],
    }]
})

print(r["output"])

How to use for open information extraction:

prompt = """Find all positive aspects about the product:\n"""
text = """
I recently purchased the Sony WH-1000XM4 Wireless Noise-Canceling Headphones from Amazon and I must say, I'm thoroughly impressed. The package arrived in New York within 2 days, thanks to Amazon Prime's expedited shipping.

The headphones themselves are remarkable. The noise-canceling feature works like a charm in the bustling city environment, and the 30-hour battery life means I don't have to charge them every day. Connecting them to my Samsung Galaxy S21 was a breeze, and the sound quality is second to none.

I also appreciated the customer service from Amazon when I had a question about the warranty. They responded within an hour and provided all the information I needed.

However, the headphones did not come with a hard case, which was listed in the product description. I contacted Amazon, and they offered a 10% discount on my next purchase as an apology.

Overall, I'd give these headphones a 4.5/5 rating and highly recommend them to anyone looking for top-notch quality in both product and service.
"""

input_ = prompt+text

labels = ["match"]

matches = model.predict_entities(input_, labels)

for match in matches:
    print(match["text"], "=>", match["score"])

How to use for question-answering:

question = "Who was the CEO of Microsoft?"
text = """
Microsoft was founded by Bill Gates and Paul Allen on April 4, 1975, to develop and sell BASIC interpreters for the Altair 8800. During his career at Microsoft, Gates held the positions of chairman, chief executive officer, president and chief software architect, while also being the largest individual shareholder until May 2014.
"""

labels = ["answer"]

input_ = question+text
answers = model.predict_entities(input_, labels)

for answer in answers:
    print(answer["text"], "=>", answer["score"])

How to use for summarization:

With threshold parameters, you can control how much information you want to extract.

prompt = "Summarize the given text, highlighting the most important information:\n"

text = """
Several studies have reported its pharmacological activities, including anti-inflammatory, antimicrobial, and antitumoral effects.
The effect of E-anethole was studied in the osteosarcoma MG-63 cell line, and the antiproliferative activity was evaluated by an MTT assay.
It showed a GI50 value of 60.25 μM with apoptosis induction through the mitochondrial-mediated pathway. Additionally, it induced cell cycle arrest at the G0/G1 phase, up-regulated the expression of p53, caspase-3, and caspase-9, and down-regulated Bcl-xL expression.
Moreover, the antitumoral activity of anethole was assessed against oral tumor Ca9-22 cells, and the cytotoxic effects were evaluated by MTT and LDH assays.
It demonstrated a LD50 value of 8 μM, and cellular proliferation was 42.7% and 5.2% at anethole concentrations of 3 μM and 30 μM, respectively.
It was reported that it could selectively and in a dose-dependent manner decrease cell proliferation and induce apoptosis, as well as induce autophagy, decrease ROS production, and increase glutathione activity. The cytotoxic effect was mediated through NF-kB, MAP kinases, Wnt, caspase-3 and -9, and PARP1 pathways. Additionally, treatment with anethole inhibited cyclin D1 oncogene expression, increased cyclin-dependent kinase inhibitor p21WAF1, up-regulated p53 expression, and inhibited the EMT markers.
"""

labels = ["summary"]

input_ = prompt+text

threshold = 0.5
summaries = model.predict_entities(input_, labels, threshold=threshold)

for summary in summaries:
    print(summary["text"], "=>", summary["score"])
Benchmarks:#

Image: Model Performance

Our multitask model demonstrates comparable performance on different zero-shot benchmarks to dedicated models to NER task (all labels were lowecased in this testing):

ModelDatasetPrecisionRecallF1 ScoreF1 Score (Decimal)
numind/NuNER_Zero-spanCrossNER_AI63.82%56.82%60.12%0.6012
CrossNER_literature73.53%58.06%64.89%0.6489
CrossNER_music72.69%67.40%69.95%0.6995
CrossNER_politics77.28%68.69%72.73%0.7273
CrossNER_science70.08%63.12%66.42%0.6642
mit-movie63.00%48.88%55.05%0.5505
mit-restaurant54.81%37.62%44.62%0.4462
Average0.6196
knowledgator/gliner-multitask-v0.5CrossNER_AI51.00%51.11%51.05%0.5105
CrossNER_literature72.65%65.62%68.96%0.6896
CrossNER_music74.91%73.70%74.30%0.7430
CrossNER_politics78.84%77.71%78.27%0.7827
CrossNER_science69.20%65.48%67.29%0.6729
mit-movie61.29%52.59%56.60%0.5660
mit-restaurant50.65%38.13%43.51%0.4351
Average0.6276
urchade/gliner_large-v2.1CrossNER_AI54.98%52.00%53.45%0.5345
CrossNER_literature59.33%56.47%57.87%0.5787
CrossNER_music67.39%66.77%67.08%0.6708
CrossNER_politics66.07%63.76%64.90%0.6490
CrossNER_science61.45%62.56%62.00%0.6200
mit-movie55.94%47.36%51.29%0.5129
mit-restaurant53.34%40.83%46.25%0.4625
Average0.5754
EmergentMethods/gliner_large_news-v2.1CrossNER_AI59.60%54.55%56.96%0.5696
CrossNER_literature65.41%56.16%60.44%0.6044
CrossNER_music67.47%63.08%65.20%0.6520
CrossNER_politics66.05%60.07%62.92%0.6292
CrossNER_science68.44%63.57%65.92%0.6592
mit-movie65.85%49.59%56.57%0.5657
mit-restaurant54.71%35.94%43.38%0.4338
Average0.5876
Join Our Discord#

Connect with our community on Discord for news, support, and discussion about our models. Join Discord.

Citation:#
@misc{stepanov2024gliner,
      title={GLiNER multi-task: Generalist Lightweight Model for Various Information Extraction Tasks}, 
      author={Ihor Stepanov and Mykhailo Shtopko},
      year={2024},
      eprint={2406.12925},
      archivePrefix={arXiv},
      primaryClass={id='cs.LG' full_name='Machine Learning' is_active=True alt_name=None in_archive='cs' is_general=False description='Papers on all aspects of machine learning research (supervised, unsupervised, reinforcement learning, bandit problems, and so on) including also robustness, explanation, fairness, and methodology. cs.LG is also an appropriate primary category for applications of machine learning methods.'}
}

Files

12 files · 3.53 GBWeights 1.76 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 12 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md14.5 KB70f4e97f7e7f689bb89f2acaf673c4d70b27ca595fcbe826f8e89eeb16b2feee
added_tokens.json86 B0a4df7f7953a90443fa51b6ca723242f6cb29e7fc34b1f27fc320c8e60de45b7
gliner_config.json3.76 KBf7ffe0e786d3df82a08aa62b5d0fa1649a787f2b33f8173d41a3627fe6bd6b7f
gliner_multitask_performance.png76.8 KBfc9bb107617a2b30f627975b530836af5a213b757f9e1ef0c14ebeef69c38ff2
model.bf16.safetensors881 MBdf0402c51312a55ec6199f4d674357b353f75e3fbe21167d00ab2f7e6d9a5d03
model.fp16.safetensors881 MBdf1f05739d7c34dfdc886e72a153c2373553fcaa70a0b825ae05bbc0dc67a6e7
pytorch_model.bin1.76 GBc525ec47bac7dd49a0fef14a7d79c55247fe468e1e13ac0050d3b7136507a1f4
special_tokens_map.json286 B9463f61e1b109a8eb4688b829260d7c6b1e6dff04c98ff7269bb89e2b92369b9
spm.model2.46 MBc679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
tokenizer.json8.66 MB44ce8be1f3118c673c7408bf903766c38bf1ea507e9b8f1e3d85b253a9a12ad1
tokenizer_config.json1.84 KB884542579ae0063aaf25a0a19f66838428f3070b1740dc30c8dea20d79b51365
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
7a95e16803 pinned now2026-11-15 03:38 UTC12 files · 3.53 GB

Use it

$ fw get knowledgator/gliner-multitask-large-v0.5
# manifest sha256 fc053a7fd9b3… · 3.53 GB · 12 files
$ fw verify ./gliner-multitask-large-v0.5 knowledgator/gliner-multitask-large-v0.5
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/knowledgator/gliner-multitask-large-v0.5.json --dir ./gliner-multitask-large-v0.5 $ python3 fw.py verify ./gliner-multitask-large-v0.5 ./knowledgator__gliner-multitask-large-v0.5.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download knowledgator/gliner-multitask-large-v0.5 --revision 7a95e168036db9ec6f914c0cc6b218edbd87f310 --local-dir ./gliner-multitask-large-v0.5

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
70f4e97f7e7f689bb89f2acaf673c4d70b27ca595fcbe826f8e89eeb16b2feee
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: knowledgator <huggingface.co/knowledgator>Newsgroups: alt.freeweights.visionSubject: gliner-multitask-large-v0.5Date: 2026-11-15Commit: 7a95e16Signed: 2DC28CC7B26A283B ✓
Upstream
knowledgator/gliner-multitask-large-v0.5
Pinned commit
7a95e168036db9ec6f914c0cc6b218edbd87f310
Manifest
gliner-multitask-large-v0.5.json · .minisig
Manifest sha256
fc053a7fd9b3f85b5396dec1063fb79af3eef3129c39bf1b3152a35bdf25d7ad
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:38 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/knowledgator/gliner-multitask-large-v0.5.json $ curl -O https://freeweights.allternit.com/manifests/knowledgator/gliner-multitask-large-v0.5.json.minisig $ minisign -Vm gliner-multitask-large-v0.5.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
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download knowledgator/gliner-multitask-large-v0.5
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. gliner-multitask-large-v0.5.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of gliner-multitask-large-v0.5. 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