Run this model with HF Jobs
Run flowxai/intentrouter on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/flowxai/intentrouter. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/flowxai/intentrouter on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use flowxai/intentrouter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use flowxai/intentrouter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="flowxai/intentrouter")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("flowxai/intentrouter") model = AutoModelForSequenceClassification.from_pretrained("flowxai/intentrouter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Remove a false checksum guarantee, say what the 1.0000 F1 is, state the training domain
Browse filesThe card claimed identifiers are validated by checksum, as 'a correctness guarantee general LLMs lack'. No repository in the OpenNER family ships validation code, and a ModernBERT encoder cannot run a check digit, so the claim was false for every model in the family.
The held-out F1 is now explained rather than headlined: train and test come from one generator, and two models from the same pipeline (filingtag 0.6444, ibandetect 0.9488) show it can report below 1.0, so a 1.0 means the generated task was trivially separable.
Also removes a pointer to an OpenNER benchmark that is not published, and adds a 'Trained on' line naming the actual domain.
23 unmodified lines24252627282930313233345 unmodified lines4041424323 unmodified lines- **Task:** text-classification- **Base model:** `answerdotai/ModernBERT-base`- **Classes (8):** REFILL_REQUEST, NEW_PRESCRIPTION, STOCK_ORDER, RETURNS_REBATE, DELIVERY_ISSUE, BILLING_QUERY, CLINICAL_URGENT, GENERAL_ADMIN- **Held-out F1:** 1.0000- **Runtime:** CPU, Apple Silicon, one GPU, or browser/edge via ONNX (INT8). ~100-160 ms/doc on CPU.## Why a small modelFine-tuned encoders match or beat frontier LLMs on structured, convention-bound extraction, at a fraction of the latency and cost, with **zero data egress**. Identifiers are validated by checksum (IBAN mod-97, card Luhn, ISIN/LEI, container ISO-6346, VIN, national IDs), a correctness guarantee general LLMs lack. See the FlowX OpenNER benchmark for measured results.## Usage```python5 unmodified lines## License & attributionLicensed under the **Apache License 2.0**. Copyright 2026 **FlowX.AI** (https://flowx.ai). See the `NOTICE` file. Trained on synthetic, checksum-validated data._Part of the FlowX OpenNER model family. Synthetic-data F1 reflects an in-distribution synthetic distribution; validate on real documents before production use._23 unmodified lines2425262728293031323334353637383940414243444546474849505152535 unmodified lines5960616223 unmodified lines- **Task:** text-classification- **Base model:** `answerdotai/ModernBERT-base`- **Classes (8):** REFILL_REQUEST, NEW_PRESCRIPTION, STOCK_ORDER, RETURNS_REBATE, DELIVERY_ISSUE, BILLING_QUERY, CLINICAL_URGENT, GENERAL_ADMIN- **Trained on:** synthetic pharmacy contact-centre messages. Despite the name, it is not a general-purpose intent router.- **Runtime:** CPU, Apple Silicon, one GPU, or browser/edge via ONNX (INT8). ~100-160 ms/doc on CPU.## Evaluation**Held-out F1 on synthetic data: 1.0000. Read that as a pipeline check, not as accuracy on your documents.**Train and test are drawn from the same generator, so a rule of the form "the entity sits at position N of template T" is sufficient to score on the test split, and the reported test loss of 4.89e-07 is consistent with close to that having been learned. Human annotators do not agree with each other at 1.0 on this task.What makes that more than a caveat is that two models from this same pipeline did not reach 1.0: `flowxai/filingtag` scores 0.6444 across 139 labels, and `flowxai/ibandetect` scores 0.9488. The pipeline is capable of reporting a number below 1.0. So a 1.0 here says the generated task was trivially separable, rather than that the model is perfect.There is no per-label breakdown, only this aggregate, so it cannot tell you whether the label you depend on is one of the ones the model is good at. An aggregate hides the tail.**Validate on your own documents before production use.** Treat 1.0000 as evidence that training converged and the pipeline is wired up correctly, and as nothing more.## What this model does not doIt assigns one class to the whole text. It does not extract entities, it does not locate anything within the text, and it validates nothing.**Correction, 2026-09-14.** Until this date the card claimed that identifiers are "validated by checksum (IBAN mod-97, card Luhn, ISIN/LEI, container ISO-6346, VIN, national IDs), a correctness guarantee general LLMs lack". That sentence was shared boilerplate across the OpenNER family and it was not true of any model in it. These repositories contain a config, weights, an ONNX export, a tokenizer and a metrics file, and no validation code of any kind. If you relied on that sentence, the guarantee it described does not exist and never did.The licence note at the foot of this card says the model was trained on "synthetic, checksum-validated data". That is a statement about how the **training corpus** was generated. It is not a statement about anything this model checks when you run it, and the two were being read as one claim.## Why a small modelFine-tuned encoders match or beat frontier LLMs on structured, convention-bound extraction, at a fraction of the latency and cost, with **zero data egress**.## Usage```python5 unmodified lines## License & attributionLicensed under the **Apache License 2.0**. Copyright 2026 **FlowX.AI** (https://flowx.ai). See the `NOTICE` file. Trained on synthetic, checksum-validated data._Part of the FlowX OpenNER model family._