What does it do?
When an automation program supplies a natural-language request and serialized candidate DOM elements, Folate scores each pair in a single batch inference on a CPU. The INT8 ONNX model can be downloaded and cached automatically on first run or loaded from a local directory. Inference uses onnxruntime and tokenizers, and the repository includes a real-browser example using Playwright.
Key features
- Batch-score natural-language requests against candidate DOM elements on a CPU
- Automatically download and cache the INT8 ONNX model or load it from local files
- Run inference with onnxruntime and tokenizers
- Provide a Playwright-based browser example
- Run inference on a local CPU without a network connection