/ Модель

Характеристики

Контекст
262 144 токена
Размер весов
3,8 ГБ
Лицензия
Своя лицензия
Архитектура
qwen3_5 · dense
Библиотека
transformers
Опубликована
31 окт 2026

GLiDE-2B

Изображение и текст → текст13 профессий

GLiDE 2B — модель Fastino для быстрой вероятностной классификации, маршрутизации и скоринга по текстовому или JSON-контексту.

3 955скачиваний за 30 дней11лайковвеса обновлены20 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

GLiDE 2B — компактная модель принятия решений от Fastino на архитектуре Qwen3.5 с 1,88 млрд параметров и весами bf16. Она принимает текстовое или JSON-состояние и типизированные вопросы, а затем оценивает вероятности заданных вариантов: выбирает вариант из списка, отвечает «да/нет» или выставляет оценку по упорядоченным уровням. Модель предназначена для классификации, маршрутизации запросов и скоринга в приложениях, где нужен структурированный вероятностный ответ вместо сгенерированного текста.

Для каждого вопроса выполняется один проход модели; несколько вопросов можно обрабатывать пакетно. По README, контекст вопроса по умолчанию ограничен 40 000 токенами, а число вариантов выбора — 255. Указаны результаты на RTX PRO 6000: 60,64 балла в Decision Index 0.3.1 и медианная задержка 17,8 мс на запрос в тесте авторов. Модель работает с текстом и JSON, не принимает изображения и не генерирует пояснения. Вероятности являются оценками модели, поэтому пороги решений следует настраивать на собственных данных. Лицензия в метаданных обозначена как other; конкретные условия следует проверять в репозитории.

Сценарии применения

  • классификация обращения по заданным категориям
  • маршрутизация запроса в подходящий отдел или инструмент
  • оценка соответствия текста заданным критериям
  • ответы да/нет по контексту
  • выбор одного варианта из списка с вероятностями

Ограничения

Модель выбирает только среди заданных вариантов и не генерирует текст или объяснения; изображения не поддерживаются. На один вопрос допускается до 255 вариантов и до 40 000 токенов контекста по умолчанию, а вероятности требуют калибровки на данных конкретного применения.

Для каких профессий подходит13

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

GLiDE 2B

Paper: GLiDE: A Fast, Calibrated Decision Model Distilled from Reasoning Teachers (arXiv:2611.26509). If you use GLiDE, please cite the paper.

Inference provider: Fastino — use GLiDE through Fastino's hosted API (POST https://api.fastino.ai/v1/systemone, model fastino/GLiDE). Get an API key · API documentation

GLiDE 2B is a GLiDE decision model with 1.88B parameters. It scores 60.64 on the Decision Index 0.3.1 public suite, measured with the official kit on one RTX PRO 6000, at a median latency of 17.8 ms per request on that GPU. Weights and compute are bf16.

GLiDE is a decision model from Fastino. Given a state (text or JSON) and one or more typed questions, it returns a probability for every option of every question.

Fastino API

Use GLiDE through Fastino’s hosted API for classification, routing, and scoring. Send decision requests to POST https://api.fastino.ai/v1/systemone with model fastino/GLiDE. Create an account and get an API key, or follow the API quickstart. The instructions below cover running this repository locally.

Overview

  • Typed decisions: choice (one of up to 255 named options), noul (yes / no, returns P(yes)) and score (ordered levels).
  • Probabilities for every option, read from a 255-way decision readout. Nothing is generated.
  • One forward pass per question. All questions of a request (and of concurrent requests) are scored together in micro-batches.
  • Text and JSON: the state can be a string or any JSON value. This model has no vision encoder; requests with images are rejected.
  • Long contexts: up to 40,000 tokens per question prompt by default (state, question and options).
  • Interfaces: a Python API and an HTTP server speaking the System One format (POST /v1/systemone).

Hardware and memory

Parameters1.88 B (1.88 B language model, of which 509 M token embeddings; 0.52 M decision readout)
Weightsbf16, 3.78 GB on disk
GPU memory3.76 GB after loading; 5.11 GB peak over the mixed requests of the latency test below
Tested GPUsNVIDIA RTX PRO 6000 Blackwell Server Edition (96 GB)
Load time5 s from network storage

Weights are copied to the GPU tensor by tensor, so host memory use during loading stays low.

Install

pip install huggingface_hub
hf download fastino/GLiDE-2B --local-dir GLiDE-2B
cd GLiDE-2B
pip install -r requirements.txt
  • Tested with Python 3.12, torch==2.14.0 (CUDA 13.0 wheels), triton==3.8.0 and transformers==5.17.0 (all pins are in requirements.txt).
  • flash-linear-attention==0.5.2 is optional but recommended: it provides fast kernels for the linear-attention layers. Without it transformers falls back to a much slower PyTorch implementation, which was not part of the validation. All numbers below were measured with it installed.
  • At load, transformers logs that causal_conv1d is not installed and uses its PyTorch path. This is expected: the validated setup does not use that package.
  • The glide/ package lives at the repository root: run from the repository directory or add it to PYTHONPATH.

Quickstart

Python

from glide import Glide

model = Glide.from_pretrained("GLiDE-2B")   # local directory, or the Hub repo id "fastino/GLiDE-2B"

result = model.decide(
    state={"ticket": "I was charged twice for order #4821 and the second charge is still pending.", "customer_tier": "gold"},
    questions={
        "intent": {"type": "choice", "instructions": "What does the customer want?",
                   "criteria": {"refund": "Get money back", "cancel": "Cancel the order",
                                "track": "Track a delivery", "other": "Something else"}},
        "urgent": {"type": "noul", "instructions": "Should this ticket be escalated today?"},
        "priority": {"type": "score", "instructions": "What support priority should this ticket get?",
                     "criteria": ["low: no impact on the customer", "medium: the customer is inconvenienced",
                                  "high: the customer has lost money or cannot use the service"]},
    },
)

Result on an RTX PRO 6000 (rounded):

{
  "model": "glide-2b",
  "answers": {
    "intent": {
      "type": "choice",
      "choice": "refund",
      "confidence": 0.861,
      "probabilities": {
        "refund": 0.927,
        "cancel": 0.005,
        "track": 0.001,
        "other": 0.066
      }
    },
    "urgent": {
      "type": "noul",
      "noul": 0.808,
      "confidence": 0.616
    },
    "priority": {
      "type": "score",
      "score": 2,
      "expected_level": 1.89,
      "confidence": 0.792,
      "probabilities": {
        "0": 0.004,
        "1": 0.102,
        "2": 0.894
      }
    }
  },
  "usage": {
    "input_tokens": 316,
    "output_tokens": 0
  }
}

model.decide_batch([{"state": ..., "questions": ...}, ...]) scores several requests together and returns one item per request: a response dict, or a glide.RequestError for a request that cannot be served (decide raises it instead).

HTTP server

GLIDE_MODEL=/models/GLiDE-2B uvicorn glide.server:app --host 0.0.0.0 --port 8000
# or
python -m glide.server --model /models/GLiDE-2B --port 8000

The model loads at startup; GET /health answers once it is ready.

curl -s localhost:8000/v1/systemone -H 'Content-Type: application/json' -d '{
  "model": "glide-2b",
  "state": "Order #4821 was delivered to the wrong address and the customer wants it re-sent today.",
  "questions": {
    "action": {"type": "choice", "instructions": "What should support do next?",
               "criteria": {"resend": "Re-ship the order", "refund": "Refund the order", "investigate": "Open a carrier investigation"}},
    "urgent": {"type": "noul", "instructions": "Is the request time-sensitive?"}
  }
}'

Request

FieldTypeDescription
modelstringOptional. Ignored; the response reports the served model name (GLIDE_MODEL_NAME, default glide-2b).
statestring or JSON valueThe context to decide on. Strings are used as is; other JSON values are serialized.
questionsobject{key: question}. Every question is answered independently, one forward pass each.

Question fields:

FieldDescription
typechoice, noul or score.
instructionsThe question. A string; objects are rendered as key: value lines.
criteriachoice: object {option_key: description}, 1 to 255 options, shown in the given order; descriptions may be strings or JSON (an empty description shows only the key). noul: optional {"true": "...", "false": "..."} descriptions (default Yes / No). score: a list of level descriptions (level i is index i), or an object keyed by numeric level (sorted ascending and re-indexed from 0).

Response

For the curl request above (RTX PRO 6000, rounded; the HTTP response also carries latency_ms):

{
  "model": "glide-2b",
  "answers": {
    "action": {
      "type": "choice",
      "choice": "resend",
      "confidence": 0.633,
      "probabilities": {
        "resend": 0.811,
        "refund": 0.01,
        "investigate": 0.178
      }
    },
    "urgent": {
      "type": "noul",
      "noul": 0.963,
      "confidence": 0.926
    }
  },
  "usage": {
    "input_tokens": 172,
    "output_tokens": 0
  }
}
Answer typeFields
choicechoice: most probable key. probabilities: {key: p} over all options, summing to 1. confidence: top minus second probability.
noulnoul: P(true). confidence: |2 P(true) - 1|.
scorescore: most probable level index. expected_level: sum of index x probability. probabilities: {"0": p, "1": p, ...}. confidence: top minus second probability.

usage.input_tokens is the prompt length summed over the request's questions. latency_ms is the server-side time for the request (queueing plus inference).

Errors return {"error": "..."}: 422 for requests the model cannot serve (see below), 401 for a missing or wrong API key, 503 when the queue is full, 504 on timeout, 500 for an internal error.

Production notes

Process model. Run one server process per GPU (workers=1) and scale out with replicas behind a load balancer. A single worker thread owns the GPU; HTTP handler threads only queue requests and wait for results.

Batching and concurrency (environment variables):

VariableDefaultMeaning
GLIDE_MODELrequiredModel directory or Hub repo id.
GLIDE_MODEL_NAMEglide-2bmodel field in responses.
GLIDE_DEVICEcudaTorch device, e.g. cuda:1.
GLIDE_MAX_BATCH16Max requests scored together in one micro-batch.
GLIDE_BATCH_WAIT_MS5How long the worker waits to fill a micro-batch.
GLIDE_TOKEN_BUDGET16384Max padded tokens per forward pass; question prompts are length-sorted and packed under it (a longer prompt runs alone).
GLIDE_MAX_LEN40000Max tokens per question prompt.
GLIDE_MAX_QUEUE1024Queued requests before new ones get 503.
GLIDE_REQUEST_TIMEOUT_S600Max wait for a result before 504.
GLIDE_THREADS1024HTTP handler threads (concurrent open requests).
GLIDE_API_KEYunsetIf set, require Authorization: Bearer <key>.

Max context. 40,000 tokens per question prompt by default. Full-attention cost grows quadratically with length, so long prompts dominate a micro-batch; set client timeouts with headroom. Raising GLIDE_MAX_LEN is possible but untested.

Health. GET /health returns {"status": "ok", ...} with the queue length and batch counters once the model is loaded.

Latency (one RTX PRO 6000 Blackwell, warm, one request at a time; 750 requests of mixed length with 2.3 questions per request on average):

InterfaceMedianMeanp90p99
Python API (in-process)17.8 ms31.1 ms69.8 ms254.5 ms
HTTP server (client wall time)20.2 ms33.0 ms70.0 ms256.7 ms

Latency grows with prompt length and the number of questions.

Throughput. Scoring 1,500 mixed requests (6,596 questions) in token-budget micro-batches (16,384 tokens) on one RTX PRO 6000: 59 questions/s. Run one process per GPU and add replicas for more throughput.

Cold start and the kernel cache. The linear-attention kernels are compiled and autotuned by Triton on first use of each new shape, so the first requests of a fresh process are slow. Compiled kernels and autotuning results are cached on disk (TRITON_CACHE_DIR, default ~/.triton/cache). In production:

  1. point TRITON_CACHE_DIR at persistent storage shared by replicas with the same GPU type and software versions;
  2. after the first deployment (or an upgrade), replay a few hundred representative requests through one replica to fill the cache;
  3. keep a replica out of rotation until /health is up and its first warm-up requests have returned.

Unsupported requests get HTTP 422 with a message:

  • more than 255 options: options per choice exceeds the label set (N > 255)
  • a question prompt over GLIDE_MAX_LEN: prompt exceeds the maximum context length
  • images: images are not supported by this deployment
  • an unknown question type, missing state, or malformed questions / criteria

A request with an empty questions object returns 200 with empty answers.

Determinism. There is no sampling. The same request scored alone gives identical results on the same GPU type and software stack. The questions of one request always share forward passes; when concurrent requests are also micro-batched, padding changes the shape of the computation and probabilities can move slightly. Set GLIDE_MAX_BATCH=1 when results must not depend on other traffic.

Precision. Weights and compute are bf16 with PyTorch SDPA attention (Glide.from_pretrained disables the cuDNN SDPA backend process-wide, so the memory-efficient kernel is used).

Logging. Request contents are not logged.

Performance

Decision Index 0.3.1 public suite: 60.65, measured with the official kit on one RTX PRO 6000.

Limitations

  • It chooses among the options it is given; it does not generate text or explanations.
  • Probabilities are model estimates; set decision thresholds on your own data.
  • At most 255 options per question and 40,000 tokens per question prompt (default); larger requests are rejected with 422.
  • Text and JSON only: no images.
  • Cost grows with the number of questions: each question is a separate forward pass over the full state.

Citation

If you use GLiDE, please cite our paper, arXiv:2611.26509:

@misc{allahyar2026glide,
  title         = {GLiDE: A Fast, Calibrated Decision Model Distilled from Reasoning Teachers},
  author        = {Allahyar, Sahibzada and White, Julia and Atreja, Dhruv and Hurn-Maloney, George and Zaratiana, Urchade},
  year          = {2026},
  eprint        = {2611.26509},
  archivePrefix = {arXiv},
  primaryClass  = {cs.AI},
  url           = {https://arxiv.org/abs/2611.26509}
}

License

GLiDE’s Fastino contributions are licensed under the Fastino Community License. Third-party components retain their original licenses; see the NOTICE for attribution.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3_5ForConditionalGeneration
Ревизия весов
742ba09

0 моделей