/ Модель

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

Контекст
8 192 токена
Параметры
140 млн
Лицензия
Apache 2.0
Архитектура
modernbert · dense
Базовая модель
Julia-1
Библиотека
transformers
Опубликована
11 ноя 2026

julia-1-mind2web-finetuned

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

Компактная модель классификации, которая выбирает подходящий элемент веб- или настольного интерфейса для автоматизированного агента.

165скачиваний за 30 дней1лайквеса обновлены12 ноя 2026

Бенчмарки

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

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

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

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

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

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

Julia-1-Mind2Web — разработанная Yatharth модель классификации на базе ModernBERT, дообученная на интерактивных шагах датасета Mind2Web для выбора элементов интерфейса в веб- и настольной автоматизации. Она оценивает текстовые представления кандидатов UI с учётом намерения пользователя и истории действий, чтобы выбрать кнопку, ссылку или поле ввода. Модель принимает структурированные текстовые данные, например DOM-атрибуты, aria-label и текст элемента; для обработки скриншотов ей нужен внешний парсер, такой как OmniParser. Это компактная модель примерно на 140,5 млн параметров с контекстом до 8192 токенов; карточка сообщает о точности выбора элемента 52,35% в тесте Mind2Web из восьми кандидатов.

Модель подходит для ранжирования и выбора действий в браузерных агентах и RPA-сценариях, включая управление интерфейсом через Selenium или Playwright. Она выдаёт оценки классов, а не свободный текст, поэтому не предназначена для чата или генерации кода. При большом числе элементов интерфейса кандидатов следует обрабатывать группами или иерархически; результат выбора может потребовать проверки перед чувствительными действиями. Лицензия — Apache-2.0.

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

  • выбор кнопки или ссылки по инструкции пользователя
  • поиск поля ввода в DOM-снимке страницы
  • ранжирование кандидатов интерфейса для браузерного агента
  • автоматизация веб-действий через Selenium или Playwright
  • выбор элемента рабочего стола по текстовым данным от парсера экрана

Ограничения

Модель не генерирует свободный текст и не обрабатывает пиксели напрямую: для скриншотов нужен внешний парсер. В тесте с восемью кандидатами точность Top-1 составила 52,35%; при большом числе элементов их рекомендуется обрабатывать группами или в несколько этапов.

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

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

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

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

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

Открыть на Hugging Face

Julia-1-Mind2Web: A Lightweight Decision Engine for Autonomous UI Agents

Julia-1-Mind2Web is a fast, non-autoregressive 144M-parameter decision model fine-tuned specifically for Autonomous Web Agents, Robotic Process Automation (RPA), and Desktop OS Automation.

Unlike massive generative LLMs (7B–70B+ parameters) that slowly generate actions token-by-token and consume gigabytes of VRAM, this model acts as an ultra-low-latency routing and classification "brain." When paired with vision parsers like OmniParser or standard HTML DOM scrapers, it evaluates candidate UI elements in parallel and selects the exact button, link, or input field to interact with in milliseconds.


Model Details

Model Description

This model initializes a ModernBertForSequenceClassification backbone (jhu-clsp/mmBERT-small), injects the pretrained decision weights from SupersonicLabs/Julia-1, and fine-tunes the architecture on the flattened interactive action steps of the Mind2Web dataset.

  • Developed by: Yatharth (yatharthp9211 / yp9211)
  • Model type: ModernBertForSequenceClassification (Cross-Encoder Multiple-Choice Scorer)
  • Parameters: ~144M
  • VRAM Footprint: < 1.0 GB (Ideal for consumer hardware like a 6GB RTX 4050 running alongside heavy vision models)
  • Language(s) (NLP): English (en)
  • License: Apache 2.0
  • Finetuned from model: SupersonicLabs/Julia-1 & jhu-clsp/mmBERT-small

Model Sources


Uses

Direct Use

The model is designed to score a batch of candidate UI elements (<button>, <a>, <input>, etc.) against a user's high-level task intent and action history.

  1. Web Scraping & Browser Automation: Selecting the correct DOM node from Selenium/Playwright snapshots.
  2. Desktop OS Automation: Selecting the correct bounding box from OmniParser outputs converted into pseudo-HTML tags, followed by execution via PyAutoGUI.

Downstream Use

Can be plugged directly into multi-agent ecosystems as the fast local execution layer, leaving local VRAM completely free for OCR, object detection, or secondary local LLMs.

Out-of-Scope Use

  • Text Generation: This is a sequence classification / logit-scoring model. It cannot chat, write code, or generate free-form text.
  • Direct Pixel Processing: The model processes text and structural UI representations (tag, aria-label, text). It requires an upstream parser (like OmniParser or a DOM parser) to translate visual screens into text candidates first.

How to Get Started with the Model

Use the standalone Python script below to rank UI candidates and select the optimal element to click:

import torch
from transformers import AutoTokenizer, AutoModelForSequenceClassification

MODEL_ID = "yp9211/julia-1-mind2web-finetuned"
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"

tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
model = AutoModelForSequenceClassification.from_pretrained(MODEL_ID).to(DEVICE)
model.eval()

# 1. Define the current task and state
task = "Book a cheapest one-way flight from New York to London."
last_action = "Typed 'London' into destination input box."
state_text = f"Task: {task}\nPrevious Action: {last_action}\nWhich element should be interacted with?"

# 2. Provide candidate UI elements (from DOM or translated from OmniParser bounding boxes)
candidates = [
    "<div_ container> Flight deals and promotions",
    "<button> aria-label='Search flights' Search",
    "<a> Cancel booking",
    "<input> Enter promo code"
]

# 3. Tokenize state against all options in parallel
inputs = tokenizer(
    [state_text] * len(candidates),
    candidates,
    padding=True,
    truncation=True,
    max_length=512,
    return_tensors="pt"
).to(DEVICE)

# 4. Score and select the winning UI element
with torch.no_grad():
    logits = model(**inputs).logits.squeeze(-1)
    probabilities = torch.softmax(logits, dim=0)
    best_idx = torch.argmax(probabilities).item()

print(f"🎯 Selected Element: {candidates[best_idx]} (Confidence: {probabilities[best_idx]*100:.2f}%)")


Training Details

Training Data

The model was trained on the osunlp/Mind2Web dataset.

Preprocessing

  • Task Flattening: Multi-step web tasks were flattened into individual state-action pairs, preserving the step-by-step action_reprs history leading up to each interaction.
  • Candidate Formatting: Raw DOM candidates were parsed from JSON attributes into standardized pseudo-HTML strings: <tag> {aria-label} {inner_text}.
  • Distractor Sampling: Each positive ground-truth element was paired against 7 randomly sampled negative candidate distractors from the same webpage (NUM_OPTIONS = 8), shuffled dynamically during training to prevent positional bias.

Training Hyperparameters

  • Training regime: fp16 mixed precision (torch.amp.autocast)
  • Optimizer: AdamW (lr = 2e-5, weight_decay = 0.01)
  • Scheduler: Linear warmup (10% of total steps) with linear decay
  • Loss Function: Cross-Entropy Loss over the 8 candidate logits per step
  • Micro-Batch Size: 2 (across 8 options = 16 sequences per forward pass)
  • Gradient Accumulation Steps: 16 (Effective Batch Size = 32)
  • Max Sequence Length: 512 tokens
  • Epochs: 4 (Updated from initial 3-epoch baseline)

Evaluation

Testing Data & Metrics

The model was evaluated zero-shot on unseen tasks using the test_task split of the osunlp/Multimodal-Mind2Web benchmark (1,257 valid interactive action steps).

  • Metric: Top-1 Element Accuracy (Percentage of steps where the model assigns the highest logit score to the exact ground-truth positive UI candidate out of 8 total options).

Results

Model / Training StageParametersRandom Guess BaselineTop-1 Element Accuracy (test_task)Avg. Training Loss
Random Baseline (8 Options)-12.50%12.50%-
Julia-1-Mind2Web (3 Epochs)144M12.50%51.79% (651 / 1257)1.1983
Julia-1-Mind2Web (4 Epochs)144M12.50%52.35% (658/1257)1.0805

Summary

In just 4 epochs, fine-tuning boosted Top-1 accuracy to 52.35%—more than 4x the random baseline—while operating inside a strict 512-token window and sub-1GB VRAM envelope.


Technical Specifications

Training Infrastructure

  • Hardware: 2x NVIDIA Tesla T4 GPUs (30 GB Total VRAM via PyTorch nn.DataParallel)
  • Software: PyTorch 2.x, Hugging Face transformers, datasets, safetensors

Bias, Risks, and Limitations

  • Candidate Pool Size: During training, the model evaluated 8 candidates per pass. When deploying on cluttered screens with 50+ icons/nodes, developers should either batch candidates in groups or use a two-step hierarchical pass (e.g., selecting the screen region first, then the specific element).
  • Execution Safety: Because this model can trigger clicks in live browsers or native OS environments, always implement human-in-the-loop confirmation before allowing an automated agent to click sensitive financial, system-deletion, or account-modification buttons.

Citation

If you use this model in your research or automation projects, please cite the repository and the underlying Mind2Web benchmark:

@misc{julia1_mind2web_2026,
  author = {Yatharth},
  title = {Julia-1-Mind2Web: A Lightweight Decision Engine for Autonomous UI Agents},
  year = {2026},
  publisher = {Hugging Face},
  howpublished = {\url{[https://huggingface.co/yp9211/julia-1-mind2web-finetuned](https://huggingface.co/yp9211/julia-1-mind2web-finetuned)}}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
ModernBertForSequenceClassification
Ревизия весов
c4eedfd

0 моделей