Fastino 推出 GLiNER2.5:以邊界預測架構消除資訊抽取中的跨度枚舉

2026年8月24日 22:21
站內 AI 整理稿

Information extraction teams face a recurring choice.Small encoder models are cheap but rigid, and large language models are flexible but expensive per document.Fastino released GLiNER2.5 to narrow that gap.

The release replaces span enumeration with boundary prediction: the model scores where an entity starts and ends instead of scoring every candidate span against a width grid.

That single change removes the maximum entity width, allows a 4,096-word context, and keeps computation linear in sequence length for a fixed schema.It also unlocks joint entity-relation decoding, cross-task label constraints, and per-span attributes.

Across 16 zero-shot benchmarks, the multilingual checkpoint reaches 56.17 overall macro F1 against 56.09 for GLiNER2, with a 24.75-point gain on XNLI.Three checkpoints ship on Hugging Face under Apache 2.0 at 74M, 194M, and 287M parameters.Is it deployable?Yes, Fastino released three GLiNER2.

5 checkpoints on Hugging Face under Apache 2.0, with local inference on CPU, CUDA, or MPS via pip install "gliner2[local]" (Python 3.10+).No inference provider currently hosts the checkpoints, so self-hosting is the deployment path.Company level: any tier.

The 74M and 194M checkpoints run on standard CPU boxes, so a two-person team can ship extraction without GPU budget.Larger orgs get a fine-tunable, privately hosted alternative to per-token LLM extraction.

Industries: legal and contract operations, healthcare and clinical documentation, financial services, insurance claims, customer support, and AI safety tooling.

Applications: PII detection and redaction, contract clause extraction, knowledge graphs for agent memory, agent and model routing, guardrail classification, clinical entity extraction with negation and dosage attributes.

What changed Earlier GLiNER models located entities by enumerating candidate spans: every start position paired with every allowed width, each scored against the schema.That design tied compute to a width axis and imposed a hard ceiling on entity length.GLiNER2.5 removes enumeration.

The shared encoder still processes text and schema queries in one pass.Instead of scoring spans, the model predicts start and end scores over token boundaries plus inside scores over tokens.

A sparse proposal stage selects the most promising starts and ends per query and pairs them, with no restriction on distance.A reranking head then scores each candidate using boundary evidence and span content.Relation candidates are drawn from the same pool rather than a separate path.

Fastino team reports that computation stays linear in sequence length for a fixed schema and candidate budget.Five capabilities that follow Long-context extraction: Removing explicit span representations cut memory enough to train on sequences up to 4,096 words.The checkpoints ship with maxlen=4096.

The library also adds native chunking helpers (extractentitieslong, extractlong, Classifier.classifylong, JointIE.extractlong) that remap spans to character offsets in the original document.

Unlimited span length: GLiNER2 enumerated spans up to a fixed width, typically around twelve words; longer entities were never scored.In GLiNER2.5 a span can open at the first token and close at the last.A forty-word indemnification clause costs the same to locate as a two-word name.

Joint entity and relation extraction: Users declare entity types, typed relations, and structural rules (uniquehead=True, noselfloops()), and a beam search assembles a globally consistent graph.Invalid combinations are never admitted, so output conforms by construction.Check result.

feasible before using the graph.Constrained classification: C.implies and C.excludes rules bind labels across tasks during decoding.

Fastino’s own GLiGuard guardrail model illustrates the problem being solved: without constraints, a prompt can be labeled safe while simultaneously flagged for prompt injection.If no valid assignment exists, the classifier raises an error.

Span attributes: Attribute groups such as sentiment attach to specific entity types via appliesto, and are decoded span-by-span in the same forward pass.Entities return qualified rather than flat.The model family ModelParamsEncoderLanguagegliner2.5-small-v174MDeBERTa-v3-xsmallEnglishgliner2.

5-base-v1194MDeBERTa-v3-baseEnglishgliner2.5-multi-v1287MmDeBERTa-v3-baseMultilingual All three share the same public API.Load with AutoExtractor, not the legacy GLiNER2 span loader.

Benchmarks Fastino team evaluates zero-shot on 16 public datasets, reporting macro F1 against GLiNER2 at matched sizes.Overall average: GLiNER2.5 Multi reaches 56.17 versus 56.09 for GLiNER2 Multi.GLiNER2.5 Base reaches 54.87 versus 53.34.The headline gain is XNLI, where Multi jumps to 62.

30 from 37.55, a 24.75-point increase.Few-NERD improves for Base to 55.14 from 47.22.Romanian RONEC, an untrained language, improves for both.(function(){var f=document.getElementById("mtp-gl25-frame"); window.addEventListener("message",function(e){ if(!e.data||typeof e.data!

=="object")return; var h=e.data.mtpGl25Height; if(h&&h>200&&h<4000)f.style.height=h+"px"; });})(); Key Takeaways Boundary prediction replaces span enumeration; entity width no longer costs compute.Three Apache 2.0 checkpoints: 74M, 194M, 287M, all CPU-runnable.

Joint decoding returns schema-valid graphs, removing post-hoc validation layers.Overall F1 rises to 56.17 (Multi) and 54.87 (Base); extraction average dips for Multi.Chunking keeps a span only when both boundaries land in one chunk.

Check out the Fastino technical blog, the GitHub repo, and the boundary architecture docs.Feel free to check out our GitHub Page for Tutorials, Codes and Notebooks.Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter.Wait!

are you on telegram?now you can join us on telegram as well.The post Fastino Releases GLiNER2.5: A Boundary-Prediction Architecture That Removes Span Enumeration From Information Extraction appeared first on MarkTechPost.

Related

相關文章

MarkTechPost AI模型更新

Google 開源 Harness²:遞迴代理程式框架,無需新模型也能提升效能

Google Cloud AI Research 開源了 Harness²,這是一個遞迴代理程式框架,透過改良凍結模型周圍的程式碼與檔案來增強效能。對開發者而言,重點很簡單:你的代理程式無需更強大的模型也能進步。重點摘要:規模為框架而非模型,訓練參數為0,包含8個可編輯的框架元件,版本0.1.0。執行環境為Linux、Python 3.12或3.13搭配uv,模型呼叫則透過Vertex AI。GPU需求未公開。效能方面:一次改良步驟即可在3個基準測試中,提升所有4個模型與框架組合的表現。最佳成果:GLM-5搭配OpenCode在WorkBuddy-Bench上從64.2提升至75.7(+11.5點);最差表現:GLM-5搭配Codex在JobBench上僅提升1.2點(23.6至24.8)。什麼是Harness²?它是Google研究推出的即插即用框架。

17 小時前
MarkTechPost AI模型更新

認識 Kyutai REKI:2.4B VLA 模型為機器人操控帶來高效記憶

Kyutai 與 Inria 及 École des Ponts 合作,推出了 REKI——一個用於機器人操控的 2.4B 參數視覺-語言-動作模型(VLA)。該模型僅使用公開數據進行預訓練,並配備了輕量級的近期記憶功能。在三個分佈外基準測試中,僅有規模約為其兩倍的模型能超越它。所有模型權重已於今日在 Hugging Face 上公開。核心資訊:規模:2.4B 參數(2.2B Qwen3.5-2B VLM + 0.2B 流匹配動作專家)。記憶涵蓋最近 3 幀,間隔 1 秒。運行環境:在 1 張 NVIDIA H100 上進行基準測試。從兩個 256×256 攝像頭輸入,編譯後每個動作區塊耗時 21.8 毫秒。權重以 BF16 格式提供,暫無量化版本。性能:在 LIBERO-Plus 和 RoboTwin Clean2Rand 基準測試中,為公開數據預訓練的 VLA 模型中最優;在 LIBERO-Plus 上達到 90.4% 的最高分。

1 天前
MarkTechPost AI模型更新

DeepSeek 發布 V4.1-Flash-1017,DeepSWE 得分 77.0,並開放搜尋 API

DeepSeek 剛發布 DeepSeek-V4.1-Flash-1017,這是其 V4.1-Flash 模型的新檢查點,現已在 DeepSeek 網站、應用程式及 API 上線。DeepSeek 宣稱該版本在性能、任務完成速度與輸出簡潔度上均優於 9 月發布的 V4.1-Flash,並稱之為性能與成本的帕累託改進。同時,DeepSeek 也向所有開發者開放了搜尋與擷取 API。對代理建構者而言,這意味著更便宜的編碼模型加上單一 API 金鑰即可使用的第一方網路層。重點摘要:骨架參數 552B,另加 196B 的 Engram 參數;預填充階段每 token 啟用 8B 參數,解碼階段啟用 16B 參數;上下文長度達 1M tokens,最大輸出 384K tokens。運行於 DeepSeek API 的 deepseek-flash 模型。9 月版的 V4.1-Flash 權重(763B 參數,FP8)採 MIT 授權。

1 天前
MarkTechPost AI模型更新

2026年20款Jev替代方案:挑戰TypeSafe的決策模型

TypeSafe於2026年9月15日推出Jev,這是一款決策模型而非聊天機器人。使用者可定義允許的答案,Jev將回傳標籤、分數或是否的機率。約4週內,至少20款Jev替代方案相繼問世,來自Cloudflare、OpenAI、Perplexity、Liquid AI、AWS的Strands Labs及獨立開發者。本指南比較各方案在規模、授權、硬體、價格、Jev API相容性及已發布基準測試的表現。重點摘要:規模範圍從287M(GLiNER2.5-multi-Decide)到35B-A3B(Mapika Decider),Jev規模未公開。執行環境:Von和Laya等編碼器可在CPU上運行,4B適配器適用24 GB GPU或32 GB Mac。效能:多數開源模型在困難推理上落後Jev,但在狹窄分類任務上數款與之匹敵或超越。最佳表現:Cloudflare Clef在BANKING7取得94.20分。

1 天前
雷峰網模型更新

長鑫科技市值兩月內跌去1萬億;阿里加碼AI硬件品牌,天貓、速賣通聯動;國行版蘋果AI有望12月上線,百度、阿里參與合作丨雷峰早報

要聞提示1.長鑫科技市值兩月內跌去1萬億2.年內已至少18次故障!DeepSeek發放宕機補償,有人拿到3000元3.阿里加碼AI硬件品牌,天貓、速賣通聯動4.國行版蘋果AI有望12月上線,百度、阿里參與合作5.可靈AI新一代模型Kling 4.

2 天前