MarkTechPost ★ 96 5 min

Fastino Releases GLiNER2.5-Decide: A 340M Open-Weight Decision Model That Runs on CPU

Agentic AIAI InfrastructureContext EngineeringDeep LearningKnowledge GraphsLanguage ModelLarge Language ModelMachine LearningOpen SourceSoftware Engineering

🔗 https://www.marktechpost.com/2026/09/24/fastino-releases-gliner2-5-decide-a-340m-open-weight-decision-model-that-runs-on-cpu/

📌 340M 決策模型上 CPU:GLiNER2.5-Decide 專打 agent 裡的判斷題

TL;DR:Fastino 推出 340M 參數、CPU 可跑的結構化決策模型,專治 agent pipeline 裡的路由與守門判斷。

Agent pipeline 裡最耗資源的往往不是「生成一段話」,而是無數個小小的判斷:這個工具該不該叫、這句話算不算 prompt injection、這張票該分派給哪個部門。Fastino 認為這類判斷根本不需要動用一個生成式大模型。

🤔 給 agent 判斷題用的專用模型

Fastino Labs 發布 GLiNER2.5-Decide,一個 340M 參數的開權重決策模型。它接收文字與一組帶型別的問題 schema,回傳結構化答案,每個答案都附帶機率分布、信心分數與約束可行性(constraint-feasibility)中繼資料。它鎖定 agent pipeline 裡常見的判斷場景:路由、分流(triage)、工具選擇與守門機制(guardrails)。權重以 Apache 2.0 授權釋出,透過 pip install gliner2 安裝,可在 CPU、GPU 或氣隙環境執行,Fastino 也提供託管推論與微調服務(GLiNER API)。

🧩 不生成 token,兩階段輸出結構化答案

GLiNER2.5-Decide 是非生成式分類器,基於 DeBERTa-v3-large 編碼器,從 gliner2-large-v1 微調而來,不產生任何生成 token,也不需要 prompt 模板。標籤集合在呼叫當下才傳入,每個問題會宣告允許的答案、以及要求單一答案、多重答案或有序值。Schema 還可以攜帶指示、範例、標籤描述,以及連結不同問題答案之間的規則。

整個管線分兩階段:編碼器同時讀入文字與 schema,為每個允許的答案評分;接著一個受約束的解碼器,在宣告規則允許的範圍內,搜尋分數最高的聯合指派結果。Fastino 明確劃清模型的能力邊界:它不推理、不解釋、也不回答開放式問題,就是一個專門處理操作性決策的專才模型。

守門場景的例子很說明問題:獨立解碼時,模型把某個 prompt 標記為 prompt injection,機率 0.82;同時卻又把同一個 prompt 標記為安全,機率 0.52,攻擊被偵測到了,但兩個輸出互相矛盾。聯合解碼套用一條規則,只要偵測到任何危害就必須判為不安全,模型於是同時回傳 safety=unsafe 與 harm_type=prompt_injection,下游程式碼可以直接拿這組分數做阻擋、路由或升級處理。Schema 也能表達蘊含關係、互斥關係、基數限制與有序邊界。同一個編碼器還能在一次前向傳遞中,同時做實體、關係與結構化記錄抽取,並附帶字元級偏移量,不過分類類答案本身不會回傳證據片段(evidence span)。

📊 17 個資料集裡拿下 9 個,路由任務領先明顯

Fastino 在自建的內部測試集 Fast Decisions 上評估模型,共 5,100 筆測試範例,橫跨 17 個資料集,涵蓋客服營運、領域路由(銀行、臨床、旅遊、福利)與一般內容理解,評估指標是完全匹配準確率(exact-match accuracy,答案集合須與參考答案完全一致才算對)。GLiNER2.5-Decide 在 17 個資料集中的 9 個領先,意圖路由是其最強項:support intent 得分 75.3%,banking intent 得分 64.3%,分別領先次佳模型 18.6 與 8.6 個百分點。在延遲測試中(batch 1,2-head、15-label schema),輸入長度 64 token 時各家 GPU 表現接近;到 1,024 token 時,A100 拉開差距達到 52.6 毫秒,V100 為 75.6 毫秒,L4 則是 131.4 毫秒。

Fastino 也同步釋出兩個變體:以 Ettin 1B 編碼器打造的 GLiNER2.5-Decide-1B,在同一測試集得分 59.6%(略低於 340M 版本);以及針對多語言場景的 GLiNER2.5-multi-Decide(287M 參數),得分 56.7%。

🎯 實務啟示

微調可在本地完整訓練或用 LoRA 進行,透過 GLiNER2 trainer 完成;模型也附帶 SKILL.md 檔案,方便讓 coding agent 直接調用託管工作流程。對於已經在 agent pipeline 裡塞進一顆大模型只為了做路由判斷或安全過濾的團隊,這種 CPU 可跑、340M 參數量級的專用分類器,提供了一個成本更低、延遲更可控的替代方案,雖然它的架構本質上是 GLiNER 既有路線的延伸,而非全新設計。

🔗 來源

#GLiNER #OpenWeightAI #AgentPipeline #StructuredOutput #CPUInference #Guardrails #IntentRouting #SmallLanguageModel #ApacheLicense #AIEngineering

原始資料 MarkTechPost · 收集於 2026-09-25
來源原標題
Fastino Releases GLiNER2.5-Decide: A 340M Open-Weight Decision Model That Runs on CPU
作者
Sana Hassan
原始標籤
Agentic AI · AI Infrastructure · AI Shorts · Applications · Artificial Intelligence · Context Engineering · Deep Learning · Editors Pick · Knowledge Graphs · Language Model · Large Language Model · Machine Learning · New Releases · Open Source · Software Engineering · Staff · Tech News · Technology
原始連結
https://www.marktechpost.com/2026/09/24/fastino-releases-gliner2-5-decide-a-340m-open-weight-decision-model-that-runs-on-cpu/

摘要原文

Fastino Labs has released GLiNER2.5-Decide , a 340M-parameter open-weight decision model. It takes text and a schema of typed questions and returns structured answers. Each answer comes with a probability distribution, a confidence score, and constraint-feasibility metadata. It targets the frequent judgment calls inside agent pipelines: routing, triage, tool selection, and guardrails. Is it deployable? Yes, the weights ship under Apache 2.0 and install with pip install gliner2 . They run on CPU, GPU, or in air-gapped environments. Fastino team also offers hosted inference and fine-tuning through its GLiNER API . GLiNER2.5-Decide is a non-generative classifier. It uses a DeBERTa-v3-large encoder and is fine-tuned from gliner2-large-v1 . It produces no generated tokens and needs no prompt template. Label sets are passed at call time. Each question in the schema declares its permitted answers. It also declares whether it expects one answer, multiple answers, or an ordered value. Schemas can carry instructions, examples, label descriptions, and rules linking answers across questions. The pipeline has 2 stages. The encoder reads the text and schema together and scores every permitted answer. A constrained decoder then searches for the highest-scoring joint assignment the declared rules allow. Fastino is explicit about scope. The model does not reason, explain, or answer open questions. It is a specialist for operational decisions. Fastino team illustrates the value with a guardrail example. Decoded independently, the model flagged prompt injection at 0.82. It also labeled the same prompt safe at 0.52. The attack was detected, but the 2 outputs conflicted. Joint decoding applies a rule that any detected harm requires an unsafe verdict. The model then returns safety=unsafe and harm_type=prompt_injection together. Downstream code can use those scores to block, route, or escalate. Schemas can express implications, exclusions, cardinality limits, and ordinal bounds. The same encoder can also extract entities, relations, and structured records with character-level offsets in 1 forward pass. Classification answers do not return evidence spans. Fastino team evaluated the model on Fast Decisions , an internally generated, held-out suite. It contains 5,100 test examples across 17 datasets. The tasks cover customer operations, domain routing (banking, clinical, travel, benefits), and general content understanding. The metric is exact-match accuracy: a prediction counts only if its label set matches the reference exactly. GLiNER2.5-Decide led 9 of the 17 datasets. Intent routing was its strongest area. It scored 75.3% on support intent and 64.3% on banking intent. Those are 18.6 and 8.6 points ahead of the next-best models. Fastino team benchmarked the checkpoint end to end at batch 1 with a 2-head, 15-label schema. At 64 tokens, p50 latency was: Short requests are dominated by fixed preprocessing and kernel-launch overhead. That keeps the GPUs within 9 ms of each other. At 1,024 tokens, the A100 pulls ahead at 52.6 ms, versus 75.6 ms on V100 and 131.4 ms on L4. This multi-head call is adapted from the model card: Single-label heads return one string. Multi-label heads return every label above a cls_threshold . Labels can carry descriptions, and ordinal scales are passed as ordinary strings like “0” to “10”. Fastino targets model routing, tool calling, browser and computer use, guardrails, context pruning, LLM-as-a-judge, and simulations. Fine-tuning works locally, fully or with LoRA, through the GLiNER2 trainer . A SKILL.md file exposes the hosted workflow to coding agents. Fastino also published GLiNER2.5-Decide-1B , built on the Ettin 1B encoder . It scores 59.6% on the same suite, just under the 340M model. For multilingual input, Fastino points to GLiNER2.5-multi-Decide , a 287M model scoring 56.7%. The underlying architecture is described in the GLiNER2 paper . Check out the Technical Details and Model Card . All credit goes to the researcher of this project. 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. Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us The post Fastino Releases GLiNER2.5-Decide: A 340M Open-Weight Decision Model That Runs on CPU appeared first on MarkTechPost .

由 claude-code/sonnet 自動生成