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

gliner2-multi-v1

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

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

307M params1.26GBgliner2-multi-v1safetensorspermissive
FactsParams307MSize1.26 GBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get fastino/gliner2-multi-v1
# manifest sha256 b0fea36aa2f6… · 1.26 GB · 14 files
$ fw verify ./gliner2-multi-v1 fastino/gliner2-multi-v1
From sourceHosted (signed)fastino/gliner2-multi-v1Last check: 2026-11-15 02:32 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.26 GB
Weights
1.23 GB (safetensors)
Parameters
307M
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:32 UTCpassed

Model card

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

Fastino AI - Fine-tune GLiNER with a single prompt

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-multi-v1")

# Extract entities
text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday."
result = extractor.extract_entities(text, ["company", "person", "product", "location"])

print(result)
# Output: {'entities': {'company': ['Apple'], 'person': ['Tim Cook'], 'product': ['iPhone 15'], 'location': ['Cupertino']}}
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#
text = "iPhone 15 Pro Max with 256GB storage, A17 Pro chip, priced at $1199."

result = extractor.extract_json(
    text,
    {
        "product": [
            "name::str::Full product name and model",
            "storage::str::Storage capacity",
            "processor::str::Chip or processor information",
            "price::str::Product price with currency"
        ]
    }
)

print(result)
# Output: {
#     'product': [{
#         'name': 'iPhone 15 Pro Max',
#         'storage': '256GB',
#         'processor': 'A17 Pro chip',
#         'price': '$1199'
#     }]
# }
Multi-Task Schema Composition#
# Combine all extraction types
schema = (extractor.create_schema()
    .entities({
        "person": "Names of people or individuals",
        "company": "Organization or business names",
        "product": "Products or services mentioned"
    })
    .classification("sentiment", ["positive", "negative", "neutral"])
    .structure("product_info")
        .field("name", dtype="str")
        .field("price", dtype="str")
        .field("features", dtype="list")
)

text = "Apple CEO Tim Cook unveiled the iPhone 15 Pro for $999."
results = extractor.extract(text, schema)

print(results)
# Output: {
#     'entities': {'person': ['Tim Cook'], 'company': ['Apple'], 'product': ['iPhone 15 Pro']},
#     'sentiment': 'positive',
#     'product_info': [{'name': 'iPhone 15 Pro', 'price': '$999', 'features': [...]}]
# }

Model Details#

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

Performance#

This model is optimized for:

  • Fast CPU inference (no GPU required)
  • Low latency applications
  • Resource-constrained environments
  • Multi-task extraction scenarios

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.26 GBWeights 1.23 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 14 files with their sha256
FileSizesha256
.gitattributes1.75 KB2f6fd3b70b9af50e1da49add7cb49a4cd8bca6de2e15999a744a24c413a54565
GitHub_new.jpg858 KB428f13aa08f1aa12370c4a644f235ddc46db85e429a1dee6a8d22ead095f2183
README.md5.69 KB8599461824f5c1a12f383d2d521d999b86a8a2466d4c99991a1e8c3d52aeda16
SKILL.md6.51 KBc88242139bdbde7194b1c05bfc77cd5a9ef2d975040a15708211a09700296e32
added_tokens.json230 B3ddf030c5aa61a4c2f6742d78b39329f8e2127bb9e212f758f968ff8787a6e03
config.json234 B7449d789b1be1423ce23549c02cc9bd87410d0fdf525a5468dcff4f0341f2986
encoder_config/config.json823 B298b164a1c473a38bae4a20a5300b224765bf156d5de960078b42e75e172f7ad
image/GLiNER-2-Multi-HF-Banner.png654 KB35203b6d2bc7978e9f2beccbaf6767133e9d676ecd9362ac840f4fad7fc3604e
image/GitHub.png4.41 MBc945cbd7b6178aa0e80ed2f10382d6edf59799e3e0dd9b24e3e8c5fe58c02deb
model.safetensors1.23 GB7d982cda9e478d98933854a976f777e75732bce6d9fa54c3ee243562b804b627
special_tokens_map.json2.41 KB84ea70143f533d7e99b393d87f20010887a9ac2cba955828ef313886e4e83f4f
spm.model4.31 MB13c8d666d62a7bc4ac8f040aab68e942c861f93303156cc28f5c7e885d86d6e3
tokenizer.json16.3 MBa1c7ccb287623cccb7c03150953b6d2a09dd95122933393c9151c3a60095c97e
tokenizer_config.json21.6 KBccc4ee4b3054dc0fd736a0b3d4f9e867d55e7c2589020ec790a88892d574d8e2
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
ce747d79a8 pinned now2026-11-15 02:32 UTC14 files · 1.26 GB

Use it

$ fw get fastino/gliner2-multi-v1
# manifest sha256 b0fea36aa2f6… · 1.26 GB · 14 files
$ fw verify ./gliner2-multi-v1 fastino/gliner2-multi-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-multi-v1.json --dir ./gliner2-multi-v1 $ python3 fw.py verify ./gliner2-multi-v1 ./fastino__gliner2-multi-v1.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download fastino/gliner2-multi-v1 --revision ce747d79a8e362d3dee0b0b26d1201f7f1a8615a --local-dir ./gliner2-multi-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
8599461824f5c1a12f383d2d521d999b86a8a2466d4c99991a1e8c3d52aeda16
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-multi-v1Date: 2026-11-15Commit: ce747d7Signed: 2DC28CC7B26A283B ✓
Upstream
fastino/gliner2-multi-v1
Pinned commit
ce747d79a8e362d3dee0b0b26d1201f7f1a8615a
Manifest
gliner2-multi-v1.json · .minisig
Manifest sha256
b0fea36aa2f60f4061393725b0e660defce9e0b5d3ec95a4d7c5b517a8af736f
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:32 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download fastino/gliner2-multi-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-multi-v1.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of gliner2-multi-v1. Each has its own license check and page.

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