Instructions to use pooria/foxmind-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use pooria/foxmind-small with Transformers.js:
// ⚠️ Unknown pipeline tag
- GLiNER2
How to use pooria/foxmind-small with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("pooria/foxmind-small") # Extract entities text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday." result = extractor.extract_entities(text, ["company", "person", "product", "location"]) print(result) - Notebooks
- Google Colab
- Kaggle
Name the model foxmind; keep the GLiNER2 base model credit
Browse files3 unmodified lines45678910101112121314151617183 unmodified lineslibrary_name: transformers.jstags:- gliner2- foxpilot- onnx---
# gliner2.5-small-v1 (ONNX, for Transformers.js)# foxmind-small
An ONNX export of [`fastino/gliner2.5-small-v1`](https://huggingface.co/fastino/gliner2.5-small-v1) (Apache-2.0, 74M parameters, English), for the [foxpilot](https://github.com/pooriaarab/foxpilot) apps. It runs on-device in Firefox with ONNX Runtime Web.foxmind-small is the small on-device model for the [foxpilot](https://github.com/pooriaarab/foxpilot) apps (PII Guard, Consent Shield and others). It is an ONNX export of GLiNER2.5 small.
Base model: [`fastino/gliner2.5-small-v1`](https://huggingface.co/fastino/gliner2.5-small-v1) (Apache-2.0, 74M parameters, English). It runs on-device in Firefox with ONNX Runtime Web.
The export keeps foxpilot's four inputs (`input_ids`, `attention_mask`, `word_positions`, `schema_positions`). It returns `cls_logits [1, L]` for classification and `span_probs [1, L, C]` with `span_bounds [1, C, 2]` for span extraction over the boundary candidate pool. `reference.json` holds the library's own results on 14 calls.
README.md+5-2