--- license: apache-2.0 language: - en base_model: - google/electra-base-discriminator datasets: - osunlp/Mind2Web pipeline_tag: zero-shot-classification library_name: onnxruntime model-index: - name: folate results: - task: type: zero-shot-classification name: DOM Element Grounding dataset: name: Mind2Web (test_task) type: osunlp/Mind2Web split: test_task metrics: - type: accuracy value: 93.31 name: Top-1 Accuracy - type: mrr value: 0.9566 name: MRR - task: type: zero-shot-classification name: DOM Element Grounding dataset: name: Mind2Web (test_website) type: osunlp/Mind2Web split: test_website metrics: - type: accuracy value: 88.9 name: Top-1 Accuracy - type: mrr value: 0.9274 name: MRR - task: type: zero-shot-classification name: DOM Element Grounding dataset: name: Mind2Web (test_domain) type: osunlp/Mind2Web split: test_domain metrics: - type: accuracy value: 92.08 name: Top-1 Accuracy - type: mrr value: 0.9491 name: MRR tags: - onnx - int8 - dom - web-agent - browser-automation - cross-encoder - computer-use ---
Demo • PyPI • GitHub • Apache 2.0 License
**Folate** is a lightweight, CPU-efficient neural DOM element ranker built for browser automation within tight memory constraints (<2 GB total footprint alongside a headless browser). Fine-tuned from [`google/electra-base-discriminator`](https://huggingface.co/google/electra-base-discriminator) as a discriminative cross-encoder on [`osunlp/Mind2Web`](https://huggingface.co/datasets/osunlp/Mind2Web) and dynamically quantized to **INT8 ONNX (~107 MB)**, Folate runs purely via `onnxruntime` and `tokenizers`—requiring no PyTorch or `transformers` at inference time. Folate is designed to act as a fast, zero-hallucination UI grounding engine for single-step browser actions (`click`, `type`, `select`, `hover`) on resource-constrained laptops, Apple Silicon devices, and CPU-only containers. | Artifact | Backbone | Precision / Format | Disk Size | Runtime RAM | | :--- | :--- | :--- | :--- | :--- | | **`model_quantized.onnx` (Default)** | `google/electra-base-discriminator` | Dynamic `QUInt8` ONNX | ~107 MB | ~180–250 MB | | **`folate-base` (Checkpoint)** | `google/electra-base-discriminator` | `float32` Safetensors | ~418 MB | ~1.4+ GB (PyTorch) | ### Inputs and outputs * **Input:** * A natural-language action query (e.g., `"click Search Flights button"` or `"type product name in Amazon search box"`). * Candidate interactive DOM elements extracted from raw HTML via `lxml` XPath (``, `