/ Модель

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

Контекст
128 000 токенов
Параметры
445 млн
Лицензия
Своя лицензия
Архитектура
lfm2 · dense
Базовая модель
LFM2.5-Encoder-350M
Библиотека
transformers
Опубликована
19 авг 2026

betterwright-encoder-350m

Классификация текстаТекст → label5 профессий

Дообученный энкодер оценивает релевантность элементов дерева доступности, чтобы сокращать контекст браузерного агента с возможностью отката к исходному снимку.

15скачиваний за 30 дней1лайквеса обновлены20 авг 2026

Бенчмарки

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

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

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

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

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

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

BetterWright Encoder 350M — это дообученный полноразмерный энкодер LiquidAI/LFM2.5-Encoder-350M для оценки релевантности узлов дерева доступности в браузерных сценариях. Он принимает описание задачи вместе с поддеревом доступности и выдаёт релевантность фрагментов и отдельных узлов, а также сигнал уверенности для безопасного отката к исходному снимку страницы. Модель содержит 444,6 млн параметров, использует архитектуру LFM2 и поддерживает контекст до 128 000 токенов; веса опубликованы в формате safetensors.

Модель предназначена для сокращения контекста браузерного агента с сохранением элементов, важных для целевых действий и подтверждающих данных. Обучение проводилось на структурных примерах с разделением данных по доменам. В отчёте на отложенных доменах указаны 99,584% полноты целевых элементов и подтверждений, но в живом навигационном прогоне модель сохранила и позволила нажать 6 из 9 текущих целей. Это модель релевантности, а не автономный браузерный агент; автор рекомендует использовать детерминированные правила сохранения важных узлов и откат к полному дереву при низкой уверенности, ошибках, тайм-аутах или недостаточном контексте. Лицензия указана как other, конкретные условия в предоставленных данных не раскрыты.

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

  • ранжирование узлов дерева доступности по задаче браузерного агента
  • сокращение контекста страницы перед передачей браузерному агенту
  • выделение целевых элементов и подтверждающих данных на веб-странице
  • оценка уверенности в результатах отбора элементов страницы

Ограничения

Это модель релевантности, а не автономный браузерный агент; сырые оценки нельзя использовать как единственное основание для удаления элементов. В живом навигационном прогоне сохранены и нажаты 6 из 9 целей, а очень большие страницы могут приводить к откату из-за ограничений размера.

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

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

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

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

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

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

Открыть на Hugging Face

BetterWright Encoder 350M

A task-conditioned accessibility-tree relevance encoder for reducing browser agent context while preserving action targets and evidence. It is trained from LiquidAI/LFM2.5-Encoder-350M in bfloat16.

All 355,011,331 parameters are trained; this checkpoint does not use LoRA, adapters, or a frozen backbone. The model has three outputs: chunk relevance, token/node relevance, and a confidence signal for deterministic fallback. BetterWright keeps its original snapshot whenever the confidence gate is not met.

The training corpus contains 500,000 deduplicated structural examples grounded in 5,256 independently generated and audited tasks from 141 real-site domains. Domains—not rows—define the split: 110 train, 8 validation, and 23 held-out test domains. The corpus is primarily BetterWright accessibility trees, with a smaller share of alternate accessibility serializations for robustness.

Input

[BETTERWRIGHT_TASK]
<the current browser task or observation query>
[ACCESSIBILITY_SUBTREE]
<BetterWright aria tree chunk>

The released checkpoint is progressively trained at 8K, 16K, 32K, and 64K sequence lengths. Normal inference should still use hierarchical chunks for lower latency; 64K is intended for unusually large dumps and packed tabs.

Quick start

import torch
from transformers import AutoModel, AutoTokenizer

model_id = "ProCreations/betterwright-encoder-350m"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModel.from_pretrained(
    model_id,
    trust_remote_code=True,
    torch_dtype=torch.bfloat16,
).eval()
batch = tokenizer(
    "[BETTERWRIGHT_TASK]\nOpen pricing\n[ACCESSIBILITY_SUBTREE]\n"
    '- link "Pricing" [ref=e12]',
    return_tensors="pt",
)
with torch.inference_mode():
    output = model(**batch)
relevance = torch.sigmoid(output.logits)
confidence = torch.sigmoid(output.uncertainty_logits)
token_relevance = torch.sigmoid(output.token_logits)

Production pruning should use the validated thresholds in relevance_config.json, deterministic must-retain rules, and exact full-tree fallback. A raw relevance score alone is not a safe deletion decision.

Training

  • 500,000 unique pairs: 77.7% BetterWright trees, 13.1% alternate ARIA trees, and 9.1% compact accessibility outlines.
  • 391,777 train, 25,891 validation, and 82,332 untouched-test pairs, split by domain before structural expansion.
  • Full-parameter BF16 AdamW training with global batch 128, a cosine schedule, and a class weight derived from the exact training distribution.
  • A balanced positive/negative packed-tree curriculum at 8K, 16K, 32K, and 64K tokens, with exact required-node span supervision.

Evaluation policy

Fallback thresholds are selected on validation domains. The production policy uses eight ranked 1,800-character structural regions, preserves referenced nodes, bounded child context, ancestry, and deterministic must-retain states, and returns the exact original tree on low confidence, errors, insufficient benefit, or an over-limit result.

Domain splitTasksTarget/evidence recallPerfect-task recallPruning coverageMean token savings when activeToken-weighted savings
Validation (8 domains)288100.000%100.000%12.50%33.38%3.42%
Held-out test (23 domains)87799.584%99.544%22.46%44.09%9.69%
Post-training reserve (17 additional domains)161100.000%100.000%33.54%16.78%2.42%

The exact reports and frozen policy are distributed as eval.json, reserve_eval.json, and relevance_config.json. The 99.5% target is evaluated on whole tasks and required accessibility refs, not inferred from training loss. A nine-site live navigational replay retained and clicked 6/9 current targets; two large pages exceeded the runtime ceiling after fallback and one site did not expose the requested label. This limitation is intentionally not hidden by substituting easier sites.

Safety and limitations

This is a relevance model, not an autonomous browser agent. It must not be the only path for security decisions. Snapshot text is untrusted data. Consumers should keep deterministic must-retain rules and fall back to the full tree on model errors, timeouts, low confidence, or insufficient retained context. Savings are substantial when pruning activates, but coverage is deliberately conservative and very large pages can still fall back above the caller's size ceiling. This checkpoint is therefore an alpha integration, not a claim that every page becomes smaller.

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

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

GPU в ailist

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

Нельзя запустить

Для архитектуры lfm2 нет загрузчика под задачу text-classification.

Класс архитектуры
BetterWrightEncoder
Ревизия весов
4c88467

0 моделей