Instructions to use spybyscript/gliner25-base-litert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use spybyscript/gliner25-base-litert with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- GLiNER2
How to use spybyscript/gliner25-base-litert with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("spybyscript/gliner25-base-litert") # 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
Download tokenizer/tokenizer.json from spybyscript/gliner25-base-litert: direct link, hf CLI and curl.
- Browser
- Download file 8.34 MB
-
https://huggingface.co/spybyscript/gliner25-base-litert/resolve/main/tokenizer/tokenizer.json
- Command line
-
hf download hf://spybyscript/gliner25-base-litert/tokenizer/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/spybyscript/gliner25-base-litert/resolve/main/tokenizer/tokenizer.json
8.34 MB
File too large to display, you can check the raw version instead.