Show HN: Folate – Local DOM selector model that beats 7B VLMs at 1/60th the size...
Show HN @show
Show HN: Folate – Local DOM selector model that beats 7B VLMs at 1/60th the size github.com · 2 points · 0 comments · HN thread
TL;DR Folate is an Apache 2.0 open-source DOM element ranker for browser automation, fine-tuned from google/electra-base-discriminator on Mind2Web and quantized to a ~107 MB INT8 ONNX model that runs on CPU with about 180–250 MB of RAM. The author reports 88.9–93.3% Top-1 accuracy across Mind2Web test splits and compares it favorably with a frontier LLM, though the benchmarks differ. The post has no comments yet.
- Scores (natural-language query, serialized DOM element) pairs in one batched forward pass using only onnxruntime and tokenizers, with no PyTorch or transformers needed at inference.
- Ranks real interactive nodes extracted via lxml XPath, so returned selectors exist on the live page; each element is serialized into a 96-token structured representation.
- Reported Mind2Web Top-1 accuracy is 93.31% on test_task, 88.90% on test_website and 92.08% on test_domain, with 91.83% overall across 6,037 steps.
- Latency is 2.3–4.3 seconds per step on 2 vCPUs, which the author attributes to longer attribute sequences on unseen sites.
- The author compares it with GPT-6 Luna (81.2–81.8%), but the Folate figures are on text DOM candidates while the LLM figures are on multimodal/screenshot benchmarks, which the author acknowledges.
- Limitations: it ranks single-step actions only, with no multi-step planning, and cannot distinguish identical sibling elements that lack distinguishing attributes or text.
Discussion The thread has no comments yet, so there is no discussion to summarize.
#browserAutomation #onnx #machineLearning #domParsing #cpuInference