alt.freeweights.text / gliner2-large-v1
From: fastino <huggingface.co/fastino>Newsgroups: alt.freeweights.textSubject:

gliner2-large-v1

Date: 2026-11-15Commit: d7aa8a2Signed: 2DC28CC7B26A283B ✓

Model with 486M parameters. Safetensors weights, 1.96 GB in all. Published by fastino under Apache-2.0.

486M params1.96GBgliner2-large-v1safetensorspermissive
FactsParams486MSize1.96 GBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get fastino/gliner2-large-v1
# manifest sha256 9ed09b2f718b… · 1.96 GB · 14 files
$ fw verify ./gliner2-large-v1 fastino/gliner2-large-v1
From sourceHosted (signed)fastino/gliner2-large-v1Last check: 2026-11-15 02:30 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.96 GB
Weights
1.95 GB (safetensors)
Parameters
486M
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
14, each with a sha256
Publisher
fastino
Added
2026-11-15
Section
alt.freeweights.text
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:30 UTCpassed

Model card

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

Fastino AI - Fine-tune GLiNER with a single prompt

Fine-tune and Deploy GLiNER2 with Fastino arXiv Paper GitHub Follow @fastinoAI

GLiNER2: Unified Schema-Based Information Extraction and Text Classification#

Extract entities, classify text, parse structured data, and extract relations—all in one efficient model.

GLiNER2 unifies Named Entity Recognition, Text Classification, Structured Data Extraction, and Relation Extraction into a single 205M parameter model. It provides efficient CPU-based inference without requiring complex pipelines or external API dependencies.

Fine-tune via Fastino. Join discussions on Discord and Reddit.

✨ Why GLiNER2?#

  • 🎯 One Model, Four Tasks: Entities, classification, structured data, and relations in a single forward pass
  • 💻 CPU First: Lightning-fast inference on standard hardware—no GPU required
  • 🛡️ Privacy: 100% local processing, zero external dependencies

Installation#

pip install gliner2

Usage#

Entity Extraction#
from gliner2 import GLiNER2

# Load the model
extractor = GLiNER2.from_pretrained("fastino/gliner2-large-v1")

# Extract entities with descriptions for higher precision
text = "Patient received 400mg ibuprofen for severe headache at 2 PM."
result = extractor.extract_entities(
    text,
    {
        "medication": "Names of drugs, medications, or pharmaceutical substances",
        "dosage": "Specific amounts like '400mg', '2 tablets', or '5ml'",
        "symptom": "Medical symptoms, conditions, or patient complaints",
        "time": "Time references like '2 PM', 'morning', or 'after lunch'"
    }
)

print(result)
# Output: {'entities': {'medication': ['ibuprofen'], 'dosage': ['400mg'], 'symptom': ['severe headache'], 'time': ['2 PM']}}
Text Classification#
# Single-label classification
result = extractor.classify_text(
    "This laptop has amazing performance but terrible battery life!",
    {"sentiment": ["positive", "negative", "neutral"]}
)
print(result)
# Output: {'sentiment': 'negative'}

# Multi-label classification
result = extractor.classify_text(
    "Great camera quality, decent performance, but poor battery life.",
    {
        "aspects": {
            "labels": ["camera", "performance", "battery", "display", "price"],
            "multi_label": True,
            "cls_threshold": 0.4
        }
    }
)
print(result)
# Output: {'aspects': ['camera', 'performance', 'battery']}
Structured Data Extraction#
# Financial document processing
text = """
Transaction Report: Goldman Sachs processed a $2.5M equity trade for Tesla Inc. 
on March 15, 2024. Commission: $1,250. Status: Completed.
"""

result = extractor.extract_json(
    text,
    {
        "transaction": [
            "broker::str::Financial institution or brokerage firm",
            "amount::str::Transaction amount with currency",
            "security::str::Stock, bond, or financial instrument",
            "date::str::Transaction date",
            "commission::str::Fees or commission charged",
            "status::str::Transaction status",
            "type::[equity|bond|option|future|forex]::str::Type of financial instrument"
        ]
    }
)

print(result)
# Output: {
#     'transaction': [{
#         'broker': 'Goldman Sachs',
#         'amount': '$2.5M',
#         'security': 'Tesla Inc.',
#         'date': 'March 15, 2024',
#         'commission': '$1,250',
#         'status': 'Completed',
#         'type': 'equity'
#     }]
# }
Multi-Task Schema Composition#
# Comprehensive legal contract analysis
contract_text = """
Service Agreement between TechCorp LLC and DataSystems Inc., effective January 1, 2024.
Monthly fee: $15,000. Contract term: 24 months with automatic renewal.
Termination clause: 30-day written notice required.
"""

schema = (extractor.create_schema()
    .entities(["company", "date", "duration", "fee"])
    .classification("contract_type", ["service", "employment", "nda", "partnership"])
    .structure("contract_terms")
        .field("parties", dtype="list")
        .field("effective_date", dtype="str")
        .field("monthly_fee", dtype="str")
        .field("term_length", dtype="str")
        .field("renewal", dtype="str", choices=["automatic", "manual", "none"])
        .field("termination_notice", dtype="str")
)

results = extractor.extract(contract_text, schema)

print(results)
# Output: {
#     'entities': {
#         'company': ['TechCorp LLC', 'DataSystems Inc.'],
#         'date': ['January 1, 2024'],
#         'duration': ['24 months'],
#         'fee': ['$15,000']
#     },
#     'contract_type': 'service',
#     'contract_terms': [{
#         'parties': ['TechCorp LLC', 'DataSystems Inc.'],
#         'effective_date': 'January 1, 2024',
#         'monthly_fee': '$15,000',
#         'term_length': '24 months',
#         'renewal': 'automatic',
#         'termination_notice': '30-day written notice'
#     }]
# }

Model Details#

  • Model Type: Bidirectional Transformer Encoder (BERT-based)
  • Parameters: 340M
  • Input: Text sequences
  • Output: Entities, classifications, and structured data
  • Architecture: Based on GLiNER with multi-task extensions (large variant)
  • Training Data: Multi-domain datasets for NER, classification, and structured extraction

Performance#

This large model provides:

  • Enhanced accuracy on complex extraction tasks
  • Better performance on ambiguous or difficult cases
  • Improved handling of specialized domains (medical, legal, financial)
  • Efficient CPU inference (GPU optional for faster processing)
  • Superior multi-task performance

Use Cases#

The large model excels in:

  • Medical information extraction
  • Legal document analysis
  • Financial document processing
  • Complex multi-entity scenarios
  • High-precision extraction requirements
  • Domain-specific applications

Fine-tuning#

This model can be fine-tuned locally with the gliner2 trainer (see the training guide). To fine-tune or serve it without managing GPUs, the Fastino API offers hosted training and inference, usually faster than training locally.

Citation#

If you use this model in your research, please cite:

@misc{zaratiana2025gliner2efficientmultitaskinformation,
      title={GLiNER2: An Efficient Multi-Task Information Extraction System with Schema-Driven Interface}, 
      author={Urchade Zaratiana and Gil Pasternak and Oliver Boyd and George Hurn-Maloney and Ash Lewis},
      year={2025},
      eprint={2507.18546},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2507.18546}, 
}

License#

This project is licensed under the Apache License 2.0.

Files

14 files · 1.96 GBWeights 1.95 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 14 files with their sha256
FileSizesha256
.gitattributes1.69 KB18045a53129e1b62a20d3f62fc129dfb7bf7d53745a3c4d00a2ffff4fdae1ced
GitHub_new.jpg858 KB428f13aa08f1aa12370c4a644f235ddc46db85e429a1dee6a8d22ead095f2183
README.md8.52 KBaef767515f969d7fede7588514ee24626241fac15d47033bf106dee102583094
SKILL.md6.51 KBc88242139bdbde7194b1c05bfc77cd5a9ef2d975040a15708211a09700296e32
added_tokens.json230 B3c274ca559be8b7b18febf616724ec05f8a8abccd428bd2744608f45f7a0b067
config.json226 Bc922a9df649bbb3634f4ef6d8f6cf7ed4896501ae31968cffa8cb81531ec9c6e
encoder_config/config.json825 B2a7be53d307cb0d4c80b4bd08ce4be9c02c447afd285c71dec853428a4fa5286
image/GLiNER-2-Large-HF-Banner.png654 KBd513120861506930010e85abff324e1e1c9dfbc7b81769fbe16b5600f0a0ba25
image/GitHub.png4.41 MBc945cbd7b6178aa0e80ed2f10382d6edf59799e3e0dd9b24e3e8c5fe58c02deb
model.safetensors1.95 GB92a76e84cd4de59e15e3f6577bef9e4304929667551ee053665eba365510638e
special_tokens_map.json2.41 KB84ea70143f533d7e99b393d87f20010887a9ac2cba955828ef313886e4e83f4f
spm.model2.46 MBc679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
tokenizer.json8.65 MB1b7fbabfb4c690bed84c6793bfecae9b8dfe205751b04f9ffd1e76a1e7df9c16
tokenizer_config.json3.24 KBd53b9e4665ea984792aab93a0b49a326500105b1144e763da1550957b57a7ffa
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
d7aa8a2850 pinned now2026-11-15 02:30 UTC14 files · 1.96 GB

Use it

$ fw get fastino/gliner2-large-v1
# manifest sha256 9ed09b2f718b… · 1.96 GB · 14 files
$ fw verify ./gliner2-large-v1 fastino/gliner2-large-v1
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/fastino/gliner2-large-v1.json --dir ./gliner2-large-v1 $ python3 fw.py verify ./gliner2-large-v1 ./fastino__gliner2-large-v1.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download fastino/gliner2-large-v1 --revision d7aa8a2850d175a9227ff80358ea380723d03ad2 --local-dir ./gliner2-large-v1

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
aef767515f969d7fede7588514ee24626241fac15d47033bf106dee102583094
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: fastino <huggingface.co/fastino>Newsgroups: alt.freeweights.textSubject: gliner2-large-v1Date: 2026-11-15Commit: d7aa8a2Signed: 2DC28CC7B26A283B ✓
Upstream
fastino/gliner2-large-v1
Pinned commit
d7aa8a2850d175a9227ff80358ea380723d03ad2
Manifest
gliner2-large-v1.json · .minisig
Manifest sha256
9ed09b2f718b40870689e08f077dd13c29828e0d84360e427cfe698f44b18f7f
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:30 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/fastino/gliner2-large-v1.json $ curl -O https://freeweights.allternit.com/manifests/fastino/gliner2-large-v1.json.minisig $ minisign -Vm gliner2-large-v1.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.

Fine-tunes
1
Fine-tunes 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download fastino/gliner2-large-v1
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. gliner2-large-v1.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B