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

相關文章

仇太深,奧特曼炮轟A社“反人類”

量子位·2026年08月24日 16:01“Codex名字沒起好,我也沒用明白” 《奧特曼天降正義,小嘴抹毒暗諷A社“反人類”》!!這個標題有沒有港媒內味兒了(doge),您先別笑,這還真是奧特曼在最新採訪裡的大致意思。雖然沒有點名,但話裡話外就差直接報Dario Amodei的身份證號了。

8 小時前
IT之家模型更新

消息稱字節整合 AI 生產力:TRAE、釦子併入豆包,將推統一辦公品牌“豆包工作”

作者:沁滄(實習) 責編:沁滄 評論: 感謝網友 HH_KK 的線索投遞!8 月 24 日消息,據智能湧現消息,字節跳動對旗下的辦公 AI 產品完成了一輪團隊整合:TRAE、釦子(Coze)團隊將整體併入豆包體系,其中 TRAE Work、釦子將與豆包在工作場景的產品能力進行整合;TRAE IDE 及 CLI 將作為豆包品牌下的編程產品線持續發展。

8 小時前
鈦媒體模型更新

DeepSeek Harness來了:AI開始製造AI了?

DeepSeek Harness 正式推出,這項新工具被視為 AI 發展的重要里程碑,可能讓 AI 系統具備自主開發或優化其他 AI 的能力。外界關注此技術是否象徵 AI 開始「製造」AI,並可能加速人工智慧的進化與應用。目前相關細節與實際影響仍待進一步觀察。

8 小時前
雷峰網模型更新

第二屆世界人形機器人運動會火熱進行中 京東“機器人之家”全週期保障參賽機器人

8月22日,第二屆世界人形機器人運動會在國家速滑館“冰絲帶”開幕。本屆運動會吸引來自16個國家的666支隊伍、2056臺機器人參賽,參賽規模較首屆大幅提升。作為本屆運動會官方合作伙伴及獨家官方售後服務夥伴,京東攜手大賽組委會共同打造機器人服務保障中心——“機器人之家”,為參賽機器人提供全賽程服務保障。 在剛剛結束的世界機器人大會上,京東重磅發佈機器人戰略佈局,立足供應鏈、服務、技術三大維度,明確在機器人領域的發展規劃。

14 小時前